Get auto-numbering settings

GET /api/v1/businesses/auto-numbering

Get the current auto-numbering configuration for bills and invoices.

Operation ID: get_auto_numbering_settings_api_v1_businesses_auto_numbering_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

200 Successful Response

auto_number_bills boolean required

Whether automatic bill numbering is enabled

auto_number_invoices boolean required

Whether automatic invoice numbering is enabled

bill_number_prefix string

Prefix for auto-generated bill numbers (e.g., 'BILL-')

invoice_number_prefix string

Prefix for auto-generated invoice numbers (e.g., 'INV-')

next_bill_number integer required

Next sequential number for bill auto-numbering

next_invoice_number integer required

Next sequential number for invoice auto-numbering

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object