Skip to main content
POST
Generate invoice number

Authorizations

Authorization
string
header
required

Oauth 2.0 authentication

Body

application/json

Is the fetch type invoice number or id.

Is the fetch type invoice number or id.

fetch_id
boolean
default:false

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.

The invoice number.

invoice_number
string
read-only

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

Required string length: 1 - 25
Pattern: ^[\S\s]*$
invoice_id
string
read-only

Resource Id.

Required string length: 1 - 24
Pattern: ^(INV2-)[A-Z0-9\-]{19}$