At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Identify a pro-forma invoice by its code. The same code comes back as both
idandinvoice_id. - The listing shows only active ones. Only pro-forma invoices whose invoice status is active are listed, under
data, paged by cursor. - A paid pro-forma invoice cannot be deleted. The delete is refused with
400and the codealready_paid. - Paying returns a short confirmation, not the payment. The body under
paymentcarriesobject,payment_idwith the new payment’s code, andmessage.