OSuiteStart free trial

Customers abroad, and refunds

Invoices in the customer’s currency as exports, and credit notes for refunds and returns.

An invoice in their currency

For a customer abroad, send placeOfSupply 96, currency (USD, EUR, GBP…) and exportType: lut for an export under LUT with no IGST, or igst with IGST paid. Item prices are then in that currency; under LUT their GST is 0% whatever you send.

exchangeRate is how much of the business’s currency one unit is worth on the invoice date: for goods the CBIC customs rate (CGST rule 34(1)); for services a rate by generally accepted accounting principles for that date (rule 34(2)), such as the RBI reference rate. Left out, OSuite fills FBIL’s reference rate for the invoice date (the last business day’s at weekends and holidays), read each day from RBI’s site, and the invoice notes where it came from; for goods FBIL’s stands in for CBIC’s. With no rate known within a week, the rate on the business’s latest invoice in that currency is used, and warnings says so. Send exchangeRate yourself to use another, such as your bank’s.

The answer carries foreign: { currency, total, due, exchangeRate }, what the customer sees and pays. total and due are in the business’s own currency, as its books keep them. Checkout works the same way: the pay page shows the cart in the customer’s currency and the gateway charges it.

Refunds and returns

A posted credit note against the invoice, for a refund, a return or a discount after the sale: the whole invoice when no items are sent, or only the items sent. It is in the invoice’s currency and reported in GST returns; it is set against what the invoice still owes, and any rest is left as the customer’s credit. Money you refund on your gateway is refunded there; this records it in the books.

              curl -X POST https://YOUR-OSUITE/api/v1/invoices/123/credit-notes \
  -H "Authorization: Bearer $OSUITE_TOKEN" \
  -H "Idempotency-Key: order-1001" \
  -H "Content-Type: application/json" \
  -d '{"reason":"return","items":[{"description":"LED panel 18W","hsn":"9405","qty":1,"price":450,"gstRate":12}]}'
            

Also as Markdown. See the API reference for every field.