Skip to main content
A pro-forma invoice is an advance bill that can be paid before the final invoice. This area has 4 endpoints: list pro-forma invoices, retrieve one, delete one, and record a payment against one. Every SDK supports all of them.

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 an Authorization header: Authorization: Bearer $ACCESS_TOKEN.

Things to know

  • Identify a pro-forma invoice by its code. The same code comes back as both id and invoice_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 400 and the code already_paid.
  • Paying returns a short confirmation, not the payment. The body under payment carries object, payment_id with the new payment’s code, and message.