Finance
Get the next available invoice number for the authenticated company.
Returns the next available invoice number for the company resolved from the bearer JWT. The caller must hold the <code>FINANCE</code> permission on the target company. <strong>This operation is NOT idempotent</strong> — each successful call advances the persisted next-invoice-number counter on luzfin_finance, so the returned value is reserved and will not be returned again. Do not retry on success.
get/core/v1/invoices/next-invoice-number
Request
- Base URL: https://api.klara.ch
- URL: https://api.klara.ch/core/v1/invoices/next-invoice-number
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Response
Next available invoice number returned.
Example response
{
"nextInvoiceNumber": 2026001
}Changes
No recorded changes to this operation across all 1 revision of this API.