J000001, CN-000001, or PAY-2026-07-000001. A company-scoped maintains the counter for each document type. Under Settings → Sequences, you can change a sequence’s prefix, counter, and padding.
Alforse formats and advances the counter atomically to prevent duplicate numbers:
Fields
Date tokens
Prefix and suffix can embed the current date — how payments and journal entries get their year/month partitioning. Tokens are interpolated when the number is generated, not when you save:%{yyyy} (2026), %{yy} (26), %{mm} (01–12), %{ww} (ISO week, 01–53), %{dd} (01–31), plus %{hh} and %{ss} for hour and second.
Seed defaults
Every numbered document type has a standard sequence, created for the company the first time it is needed or configured. Fixed asset and depreciation run sequences start withCurrent at 1, so their first number is 000002.
A company can change any prefix under Settings → Sequences (the page is for employees; changing a sequence needs update access on Settings).
Accounting posts are the heaviest user of this machinery: every GL post pulls a fresh
journalEntry number as it books, which is why that sequence carries a month token by default. Sequences are company-scoped, so two companies in the same group number independently even when they share a chart of accounts. Where the numbers land day to day: jobs, change notices, and payments.