Document number
Also called Invoice number, Operator invoice number, Sequence
Definition
The customer-facing invoice identifier, allocated from a per-organisation sequence when the document is finalised.
How it works
Sonic keeps an internal id on each invoice and a separate operator number, built from a template of prefix, year and counter, which is what the customer sees. The counter only advances when a document is finalised, so drafts do not burn numbers.
Bulk actions decide numbering order across the whole selection before any counter moves, so priority rules such as earliest period first hold. Custom fields with their own sequences follow the same rule.