Appearance
Numbering sequences
Platform settingsOrganisationNumbering sequencesPermission:
settings.company.vieworsettings.company.manageOpen in Roari ERP (new tab)Also known as
- numbering
- document numbers
- number series
- prefix
- counter
- auto numbering
- invoice numbering
- next number
- format tokens
- year reset
Every numbered document (invoice, purchase order, journal entry, work order, asset tag …) takes its number from a sequence. This page shows each sequence's format and next number and lets account administrators change them.
Change how a document is numbered
- Go to SettingsNumbering sequences.
- Find the document, for example Customer invoices (Finance), and select the pencil icon at the end of the row.
- Edit the Format. To insert a token at the cursor, click it in the Format tokens panel below the table.
- If needed, change the Next number.
- Check Next document: it previews the next numbers the format will produce. If the format is not valid, the error shows there instead and Save is unavailable.
- Select Save, or press Enter. Press Esc or select Cancel to stop editing.
The message … numbering saved (with the document name) confirms the change. It applies to the next document created; documents that already have a number keep it.
Format tokens
| Token | Meaning |
|---|---|
{YYYY} | Four-digit year |
{YY} | Two-digit year |
{MM} | Month, 01–12 |
{DD} | Day, 01–31 |
{0000} | The counter, zero-padded to the number of zeros |
Example: SO-{YYYY}-{00000} gives SO-2026-00416.
Rules
| Rule | Message you see |
|---|---|
| A format is 1 to 64 characters. | must be 1-64 characters |
It contains exactly one counter token, such as {0000}. | must contain exactly one counter token such as {0000} |
| Only the tokens above are allowed. | unknown token {…} |
| The next number is 1 or more. | must be at least 1 |
When the format contains a year token ({YYYY} or {YY}), the counter starts again at 1 each year.
WARNING
Lowering the next number can produce numbers that already exist. The server refuses a number that is already used, so the document cannot be saved until the counter passes it.
Differences by role
- Account admin can edit sequences. Other users with access see the table without theedit buttons.
Related
- Numbering: how document numbers work across modules
- Documents and their states
- Modules
- Set up a new organisation
