On this page
Numbering
A journal voucher's three numbers
| Number | When it's assigned | Example (default format) | Where it appears |
|---|---|---|---|
| Draft reference | On the first save | D-JV-000123 | The journal voucher list before posting, and the voucher header |
| Number (the document number) | On posting | JV-2026-000001 | The journal voucher list and the voucher title after posting |
| Entry no. | On posting | JE-2026-000001 | The journal and reports |
- The draft reference is an internal sequential number that can have gaps (when drafts are deleted). It's never used as an official number.
- The document number belongs to the document type (manual journal vouchers).
- The entry number belongs to the journal as a whole and is shared by every module that posts entries (manual and recurring journals, revaluation and closing).
Rules for the official number
- The number is assigned on posting, within the posting operation itself (P5).
- No gaps. If posting fails for any reason, the number is returned, so the series never has a gap.
- There's one series per company × document type × fiscal year (based on the document date), and it can be made separate for each branch.
- Postings made at the same time get consecutive numbers with no duplicates.
- Numbers from the old system are carried over unchanged when data is migrated (P5).
The number format
You set the format for each document type on the Number series screen. These tokens are allowed, in curly brackets:
| Token | Meaning |
|---|---|
{yyyy} | The fiscal year in four digits (the year it starts) |
{yy} | The fiscal year in two digits |
{device} | The device code (for device series) |
{branch} | The branch segment of the document's branch. Allowed only in a series with Separate series per branch ticked; the segment text for each branch is set on Number series (G14) |
{seq} or {seq:N} | The sequence, or the sequence padded with leading zeros to N digits (1 to 12). It must appear exactly once |
The default formats are JV-{yyyy}-{seq:6} for journal vouchers and JE-{yyyy}-{seq:6} for journal entries.
Document number or entry number in reports?
The current general ledger reports (statement of account and the journal) show the entry number in the Entry no. column and the source document number in the Document column. Decision CB17 makes the document number the one shown in reports and printouts, with the entry number as its reference. Carrying the old system's numbering formats over into series templates (G14) is done by the data migration tool.