Get the next document numbers for an entity

Returns the next sequence number for various document types - invoices, quotes, credit notes, and others. For example, if the last issued invoice is `INV-00042`, the next invoice number is 43. To set the next document numbers, use `PATCH /entities/{entity_id}/settings`. For more information, see [Document number customization](https://docs.monite.com/advanced/document-number-customization).

Path parameters

entity_idstringRequired
Unique ID of the entity

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-monite-versionstringRequired

Response

Successful Response
credit_noteinteger or nullDefaults to 1
Next credit note number
delivery_noteinteger or nullDefaults to 1
Next delivery note number
invoiceinteger or nullDefaults to 1
Next invoice number
purchase_orderinteger or nullDefaults to 1
Next purchase order number
quoteinteger or nullDefaults to 1
Next quote number

Errors