Numbers are minted as {prefix}-{year}-{seq} — INV-2026-0001, INV-2026-0002 — from a per-org counter held in invoice_settings. The sequence does not restart in January; the year is a label, not a partition. The prefix is configurable per business.
Also called: invoice number sequence · INV-2026-0001 · numbering
- 1reserveNextNumber() reads the org's invoice_settings row, formats {prefix}-{year}-{padded seq}, then increments next_seq.
- 2The number is stamped on the invoice at creation and never changes afterwards.
- 3Voided invoices keep their number — nothing is renumbered or reissued.
Invoice numbers that reset every January leave two invoices a year apart sharing a number, and an auditor cannot tell them apart. Numbers now run in one unbroken sequence per business, with the year as a label rather than a counter, and a voided invoice keeps its number instead of freeing it for reuse. A gap in a sequence is normal and expected; the same number appearing twice is the thing an audit flags.
- Duplicate invoice numbers created by year-reset sequences.
- Reused numbers after a cancellation making the books unauditable.
See it on your own jobs
Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.
or keep browsing features →