Automatic invoice numbering: prevent duplicate numbers and gaps

An invoice number may seem like a small detail, until two colleagues send invoices at the same time or a draft is deleted by mistake. With automatic invoice numbering, every sent invoice automatically receives the next number. This prevents duplicate numbers and gaps in your records.
You no longer need to track invoice numbers in an Excel list or remember which number you used yesterday. That saves time, but more importantly, it prevents confusion as your administration grows.
Why tracking invoice numbers manually is prone to errors
Creating invoice numbers manually often works fine when you are the only person sending invoices. But as soon as a colleague, business partner or administrator also creates invoices, it becomes more vulnerable.
Perhaps someone has already used number 2026-041. Or you created a draft with number 2026-042 but never sent that invoice. You then have to remember what happened to that number. If you do not, duplicate invoice numbers or gaps in your sequence can occur.
That creates hassle when you need to look something up later. Your accountant will also want to see that your invoices follow a logical sequence.
Common causes include:
- two people choosing the same next number at the same time;
- a number being assigned to a draft that is later discarded;
- someone working from an old document and forgetting to change the number;
- a correction being made by changing an existing, sent invoice.
A system that manages the numbering removes these manual steps from the process.
How does automatic invoice numbering work?
With automatic numbering, you first set your own invoice sequence and format. The system then manages the order. As soon as you send an invoice, it receives the next available invoice number.
A draft deliberately does not receive a number yet. This means you can safely amend line items, check amounts or delete a draft. The number is only assigned once the invoice is actually sent to the customer.
That is the core of a continuous invoice sequence: only documents that have actually been sent count towards the sequence. This prevents gaps caused by drafts that were never sent.
In Klantly, numbering is automatically assigned per company. You set the sequence and format yourself, after which the system ensures there are no duplicate numbers or unnecessary gaps. Also see how you can create and send invoices from the same environment as your quotes and customer details.
Why does a draft invoice not have a number yet?
A draft is not yet a final invoice. It is a working version in which you might check hours, materials, VAT or a partial payment. If every draft received a number immediately, every deleted version would leave a gap in your sequence.
For example, you create three draft invoices on Monday morning. One invoice turns out to be missing a material line. You delete the draft and create a new version. If the first draft had already received number 2026-105, that number would then be missing from your records.
By assigning the number only when sending, the sequence stays tidy. The invoices customers receive follow one another without you having to track which drafts were used and which were not.
This is also useful on busy days. You can prepare an invoice, save it and review it later without worrying that your numbering will get mixed up.
Practical example: two invoices on the same Friday afternoon
Imagine your installation company has a busy Friday. A technician completes a job sheet on site. Back at the office, your colleague turns that job sheet into a draft invoice. At the same time, you create an invoice for a deposit on a new job.
Without automatic numbering, you could both think that number 2026-078 is the next number. One of you sends the invoice first, while the other may only notice the duplicate number later.
With automatic numbering, it works differently. You can both create drafts without a number. Whoever sends first receives, for example, number 2026-078. The next invoice sent automatically receives 2026-079. So it does not matter who created the draft first, only which invoice is actually sent first.
Are you working from an accepted quote or completed job sheet? The customer details, line items, quantities, prices and VAT are then already carried over to the draft invoice. In the article turn a quote into an invoice, you can see how this helps prevent duplicate data entry.
How do you keep your invoice sequence manageable?
Automatic numbering handles the day-to-day work, but there are still a few choices for you to make. Think in advance about the format you want to use. After that, the main thing is to keep your process consistent.
Keep these points in mind:
- Set up your invoice sequence before you start sending invoices. You decide on the sequence and format.
- Keep drafts as drafts until you have checked everything. The number follows automatically when you send the invoice.
- Do not quietly change an invoice that has already been sent. If something needs correcting, use a credit note that refers to the original invoice.
- Make sure everyone invoices from the same system. That way, everyone uses the same invoice sequence.
- Always check customer details, line items, VAT and the due date before sending. Automatic numbering does not prevent errors in the invoice content.
A credit note receives its own number, just like an invoice. This keeps your records auditable: the original invoice remains in place and the correction is clearly visible. Also read how to create a VAT overview when you want to review invoices and credit notes by period.
Prevent not only duplicate numbers, but unnecessary searching too
A continuous invoice sequence makes your administration calmer. You no longer have to search through old files or ask colleagues which number they used. You also know that a draft does not use up a number until it is actually needed.
This is especially useful as your business grows. What first seemed like a one-minute task can otherwise turn into time spent searching and making corrections. Automatic numbering puts that foundation in place, so you can focus on the invoice itself and the work you do for your customers.
Want to see how Klantly brings invoices, quotes and job sheets together in one process? Get started and discover what it could mean for your business.

Convert a quote to an invoice without retyping? Carry over line items, VAT and customer details to avoid discrepancies. See how it works.

Want to create a VAT summary without having to add up individual invoices? Make sure you record your rates accurately, check credit notes and export the data quickly for your VAT return.

Create an installment invoice for a large project. Split payments into a deposit, start invoice and final invoice, and track outstanding amounts.
