InvoiceSeries

Generate next invoice number

Generates and consumes the next sequential invoice number. This operation is atomic and uses pessimistic locking to prevent duplicate numbers in concurrent scenarios.

post/v1/invoice-series/{id}/generate

Path parameters

idstring required

Invoice series ID

Response

Invoice number generated successfully

string required

Example response

"RE-2024-0001"

Changes

No changes recorded. 1 of the 8 revisions has no diff computed, so it could not be searched.