Numbering
Per-entity document sequence prefixes, padding, and next-number preview.
Overview
Numbering manages document_sequences — prefixes, suffixes, padding, year/month inclusion, and the next number — with live preview per warehouse and global schemes.
Where it lives
Route: /admin/settings/numbering (admin.settings.numbering)
Open Admin → Preferences → Numbering. View requires numbering.view; edits require numbering.edit.
Key workflows
- Per-warehouse tables for warehouse-scoped document types with next-number preview
- Global section for account/payment numbers shared across warehouses
- Edit modal: prefix, suffix, next number, digits (1–12), include year/month, live preview
- Reset frequency:
reset_frequency(never,yearlyormonthly, defaultnever) restarts the counter at 1 when the year or month rolls over. It is set on the sequence throughPUT /api/v1/document_sequences/{id}and is not shown in the edit modal.yearlyrequires include year, andmonthlyrequires include year and month; a rollover is refused if the format does not carry the period.
At a glance
Manage per-entity numbering schemes (rentals, invoices, credit notes, accounts, payments, purchase orders, etc.) backed by document_sequences. Live preview shows the next number for each scheme and warehouse. Requires numbering.view.