v1

latestOpenAPI 3.0.42026-07-2286621993.2 KB
invoices

Generate invoice number

Generates the next invoice number that is available to the merchant. The next invoice number uses the prefix and suffix from the last invoice number and increments the number by one. For example, the next invoice number after INVOICE-1234 is INVOICE-1235.

post/v2/invoicing/generate-next-invoice-number

Request body

fetch_idboolean

Optional to decide the number or ID.

Response

A successful request returns the HTTP 200 OK status code and a JSON response body that shows the next invoice number.

invoice_numberstring

The invoice number. If you omit this value, the default is the auto-incremented number from the last number.

invoice_idstring

Resource Id.