How to customize your document number format
Build your own numbers for invoices, estimates, credit notes, retainers, and recurring documents using a prefix, date variables, and an incremental number or unique ID.
Ayoub Amine
Last Update 3 days ago
By default, Invoiless numbers your documents automatically by taking your last number and adding 1 to it. If that works for you, there's nothing to change — you can simply update your prefix.
Set a custom number format
You can set a different format for each document type: invoices, credit notes, estimates, retainers, and recurring documents.
- Go to your Settings > Business settings page and open the tab for the document type you want to update, for example Invoices.
- Scroll to the Numbering section.
- Click the Invoice number format field, then type your prefix and select the variables you want to add from the list.
- Click Save changes.
Available variables
| Variable | Where it comes from | Code | Example |
| Year (4-digit) | The document date | [YYYY] | 2026 |
| Year (2-digit) | The document date | [YY] | 26 |
| Month | The document date | [MM] | 07 |
| Day | The document date | [DD] | 17 |
| Sequence number | Incremental, 4+ digits | [NUM] | 0001 |
| Unique ID | Random 8-character readable ID | [UID] | K3M7QP2X |
💡 The Sequence number restarts whenever one of the date variables in your format changes. For example, if your format includes the month, numbering starts again at 0001 at the beginning of each month.
Format examples
Here are a few formats you can use as a starting point:
- INV-[YYYY]-[NUM] → INV-2026-0001
- INV-[YYYY]-[MM]-[NUM] → INV-2026-07-0001
- INV-[YYYY]-[MM]-[DD]-[UID] → INV-2026-07-17-K3M7QP2X
Good to know
- Your format is used as the default for new documents, and you can still adjust the number on an individual document while creating it.
- If you prefer to keep things simple, leave your settings as they are — your documents will continue to be numbered with your prefix and the next number in line.