OSuiteStart free trial

Billing from your own websites (Billing API)

Let your shop, booking site or app raise invoices and take payments through OSuite, instead of its own billing.

Checked against OSuite 0.2.1

What it does

Your website sends OSuite the customer and the items; OSuite makes the invoice with GST and your numbering, posts it, and can email it or send it on WhatsApp or by SMS. Payments your website takes are recorded against it. Each invoice shows which website it came from.

Your website calls your own OSuite: the cloud edition, or a desktop with Remote access. Nothing goes through OfinIT.

One sale has one invoice, and it is OSuite’s. Your website shows the customer OSuite’s number and PDF, and does not number or print an invoice of its own, so your GST returns match what your customer holds.

Give your developer a token

Your account › API tokens: name the token after the website (patilstore.in), choose Bill through the Billing API, and Make a token. Make one token for each website; each sees only its own invoices.

You can set the largest invoice it may make and how many a day, when it expires, and the addresses it may be used from. Set the limits above your largest real invoice and your busiest day: past the day’s limit, every sale is refused until tomorrow. Leave the addresses empty for a website on Vercel, Netlify or AWS Lambda, which call from changing addresses.

Tick Test key for a token your developer tries things with: its invoices and proformas stay drafts marked TEST and are never sent, numbered or in your GST returns, and its checkouts take a test payment.

Your developer finds everything at osuite.business/developers, including Copy instructions for your AI for building it with an AI assistant, and openapi.json to generate a client from. When you make a billing token, the screen gives you the docs’ address to pass on.

Payment on OSuite’s pay page

With hosted checkout, your website sends the cart and the customer pays on a page from your OSuite, through your own payment gateway (Connections › Payment gateways). Until they pay, the cart is a draft with no number and no GST owed; once paid, it is posted, the payment recorded, the invoice emailed, and the customer taken back to your website. The pay page shows your logo, says when a payment failed, and holds the Pay buttons while a bank is still confirming one, so no customer pays twice. A cart not paid within a day closes; its draft is kept a week in case a payment is confirmed late (you are told if one is), then removed.

A desktop with no Remote access

Your website cannot reach a desktop OSuite without Remote access. Instead, add it under Connections › Your website’s orders: your website keeps its orders in a feed, and OSuite fetches them every 5 minutes while it is on, bills each once, and tells your website the invoice number.

Invoices are made only while this computer is on. Goods need their invoice by the time they are dispatched, so if you ship often, use the cloud edition or Remote access instead.

More help