How to set up number series in Business Central
Every customer, item, order, invoice and journal line in Business Central gets its number from a number series. When a series runs out, gives users a blank No. field, or produces numbers in an order nobody expected, the cause is almost always in a few fields on the No. Series page. This article explains each one and how they work together.
For the CFO, in three lines
- Why it matters: Number series give every invoice, order and record its number, which auditors expect to be complete and in order.
- What goes wrong: A series that runs out or allows gaps stops work or raises audit questions.
- Ask your team: Are posted documents numbered without gaps?
A number series is a code plus one or more lines
You set up numbering in two layers. On the No. Series page you create a code, such as one for customers or one for posted sales invoices, and decide how the series behaves. Then, on the No. Series Lines page, you define the actual numbers: where they start, where they end and from what date. Every code needs at least one line.
A code can have several lines, each with its own Starting Date. The starting date decides which line is active. That lets you restart numbering on a date you choose, for example at the start of a new fiscal year.
Microsoft recommends keeping the same codes that appear on the No. Series List page in the CRONUS demonstration company. Some default settings depend on those codes, even if a code like P-INV+ isn't self-explanatory.
The fields on the No. Series page
| Field | What it controls |
|---|---|
| Code / Description | The identifier you assign to setup pages and a description of what it numbers. |
| Default Nos. | Whether the series assigns numbers automatically. |
| Manual Nos. | Whether users can type their own number instead of taking the next one in the series. |
| Date Order | Whether Business Central checks that numbers are assigned in chronological order. |
| Allow Gaps in Nos. | Whether a number from the series can later be deleted, leaving a gap. |
The No. Series page also displays the starting number, ending number, last date used and last number used from whichever line is currently active based on the work date.
The fields on the No. Series Lines page
| Field | What it controls |
|---|---|
| Starting Date | The date from which this line applies. |
| Starting No. / Ending No. | The first and last numbers in the series. |
| Warning No. | The point at which you want a warning that the series is running out. |
| Increment-by No. | The interval between numbers. |
| Last Date Used / Last No. Used | When a number was last assigned, and which one. |
| Open | Shows whether the line is still open. It stays open until the last number has been used. |
A worked example: posted sales invoices by year
Say you want posted sales invoice numbers that show the year and restart each January. You could set up one code with two lines.
| Line | Starting Date | Starting No. | Ending No. | Warning No. | Increment-by No. |
|---|---|---|---|---|---|
| 1 | 01/01/2025 | PSI25-00001 | PSI25-99999 | PSI25-99000 | 1 |
| 2 | 01/01/2026 | PSI26-00001 | PSI26-99999 | PSI26-99000 | 1 |
Through 2025, numbers come from line 1. From January 1, 2026, line 2 is the active line and numbering starts again at PSI26-00001. When the series reaches PSI26-99000, users get a warning that it's running out, with 999 numbers left to set up the next line.
Two limits matter when you design the format. A number can be at most 20 characters. And when documents are used to apply transactions such as payments, Business Central can append a six-character system ID to the number. Microsoft advises keeping series for bank or GIRO journals and cash receipt journals under 14 characters if you expect more than 9,999 documents in them.
How Default Nos. and Manual Nos. decide what users see
On sales, purchase, transfer and service documents and on all cards, the No. field gets its value in one of three ways:
- Automatic. If there's one series for that kind of record, with Default Nos. selected and Manual Nos. cleared, the next number fills in by itself.
- Choose a series. If there's more than one series for that kind of record and Default Nos. isn't selected on the assigned one, the No. field is shown so the user can pick a series. The next number from that series is inserted.
- Type it. If no series exists, or Manual Nos. is selected, the user enters a number of up to 20 characters.
To let users enter their own numbers when they register, for example, a new customer or vendor, select Manual Nos. on that series. To prevent manual numbering, clear it.
Each series is assigned on the setup page for its area. For sales, open Sales & Receivables Setup and pick a series for each card and document. Items use the Item Nos. field on Inventory Setup. If items created through a data migration hide the No. field and you need manual numbering, Microsoft's fix is to open the series from the Item Nos. field and set it to Manual Nos.
Should you allow gaps in number series?
By default, gaps aren't allowed. Microsoft's reason is that the history of financial transactions must be available for auditing and, by law, follow an unbroken sequence with no deleted numbers.
Plenty of records aren't financial transactions, though. Customers, sales quotes and warehouse activities can be deleted, and they aren't subject to financial auditing. For those series you can select Allow Gaps in Nos. on the No. Series Lines page, and you can change the setting after the series is created. Allowing gaps also means numbers are assigned in a faster, non-blocking way. The Implementation field follows this setting: Sequence when gaps are allowed, Normal when they aren't.
Before you allow gaps on any series that numbers financial documents, Microsoft says to check with your auditor or accounting manager about your country's requirements.
Use relationships when one record type needs several series
Sometimes one kind of record needs more than one series, for example different numbering for different categories of items. Relationships group those series under one code.
- On the No. Series page, select the series that will be the parent, and choose Relationships.
- In Series Code, enter each series you want to relate to it, one per line.
- Close the page, and enter the parent code in the relevant field on the setup page.
When users then create that kind of record, they can choose among the related series. The same approach works with customer and vendor templates: assign a series to each template, link the series through relationships, and a new customer created from a template gets a number from that template's series.
Things to check
- The active line has the right Starting Date. A line with a future starting date isn't used until that date.
- Ending No. and Warning No. are set with room to spare. When the last number is used, the line closes.
- Allow Gaps in Nos. is off for financial documents unless your auditor has agreed otherwise.
- Manual Nos. matches your policy. It lets users enter their own numbers, so clear it wherever you don't want that.
- Formats stay within 20 characters, and under 14 for high-volume bank, GIRO and cash receipt journals.
- Default codes are kept where Business Central settings depend on them.
Microsoft's Create number series article and the number series training unit describe every field in more detail.
Decide the format, the restart dates and the gap policy once, before go-live, and number series take care of themselves.
Number series checklist
- Create one code per card or document type, keeping the standard codes where possible.
- Add at least one line with Starting Date, Starting No., Ending No. and Warning No.
- Add a new line in advance for each planned restart, such as a new fiscal year.
- Set Default Nos. and Manual Nos. to match how users should number each record.
- Allow gaps only on series for records that aren't financial transactions.
- Assign each series on the right setup page, using relationships where one record type needs several.
