Invoice Numbering: How to Build a System That Never Breaks
Formats, examples and rules for invoice numbers that stay unique, sequential and audit-friendly, including multiple businesses, voided invoices and switching software.
Why invoice numbers matter
An invoice number is the unique identifier that ties together the document, the payment, the accounting entry and any later correction. Clients use it as the payment reference. Your accountant uses it to check nothing is missing. Tax authorities in many countries require invoice numbers to be unique and follow a continuous sequence, so that gaps or duplicates can signal missing sales.
A good numbering system is boring: it is predictable, never repeats, and survives changes of software, staff and business structure.
The three rules
- Unique. No two invoices from the same business may ever share a number, not even across years or after a void.
- Sequential. Numbers increase in order of issue. Many tax systems expect an unbroken sequence; where gaps exist, you should be able to explain them.
- Consistent. Use the same format every time so numbers sort correctly and are easy to search.
Common formats
| Format | Example | Best for |
|---|---|---|
| Simple sequence | 0001, 0002, 0003 | New freelancers with low volume |
| Year + sequence | 2026-0041 | Most small businesses; easy year-end filing |
| Prefix + year + sequence | INV-2026-0041 | Businesses also issuing quotes or credit notes |
| Client code + sequence | ACME-0007 | A few large, long-term clients |
| Entity + year + sequence | UK-2026-0041 | Groups with several companies or branches |
The year-plus-sequence format is the most common recommendation: it sorts naturally, reveals the year at a glance, and is short enough to use as a bank payment reference.
A note on client-code formats: if you use them, keep a single overall sequence as well, or check your local rules. Some tax authorities expect one continuous series per business, not a separate series per client.
Use leading zeros
Pad the sequence to a fixed width: 0041 rather than 41. Without padding, a file list sorts "100" before "20", which makes manual checks harder. Four digits allow 9,999 invoices per year; choose five if your volume is higher.
Different document types
Quotes, estimates, invoices, credit notes and receipts are different documents and should have their own prefixes so they are never confused:
QT-2026-0012: quotation (see invoice vs quotation)INV-2026-0041: invoiceCN-2026-0003: credit note (see our credit note guide)PF-2026-0005: proforma invoice
Proforma invoices and quotes are not tax invoices, so they normally do not use your invoice sequence.
What to do when something goes wrong
You made a mistake on a sent invoice
Do not edit and re-send the same number with different amounts. Issue a credit note referencing the original invoice, then issue a new, correct invoice with the next number. This leaves a clear audit trail.
You need to cancel an invoice before sending
If an invoice was created but never sent, mark it as void in your records with the reason, and keep the number unused. Do not reuse it for a different client.
You skipped a number by accident
Record the gap and the reason (for example "0042 skipped: software error, never issued"). An explained gap is not a problem; an unexplained one invites questions.
You changed software
Continue from the last number used in the old system. Do not restart at 0001 mid-year. Keep an export of the old records so the full sequence can be shown.
Several businesses or branches
Each legal entity should have its own invoice sequence. If one company has several branches or tills, you can either keep a single central sequence or give each location its own prefix (for example LHR- and MAN-), as long as every number remains unique within the business and your local rules allow it.
Keeping track
A simple spreadsheet with columns for number, date, client, amount, due date and status is enough for most freelancers. Check it monthly for gaps and duplicates. Our invoice generator lets you set the invoice number on every document, so you stay in control of your sequence.
Quick checklist
- One format, used every time
- Year in the number, with leading zeros
- Separate prefixes for quotes, credit notes and proformas
- Never reuse or edit a sent invoice number
- Explain every gap in writing
- Separate sequence for each legal entity
For the other fields that belong on every invoice, see what is an invoice and how to create an invoice.
Frequently asked questions
Can my first invoice number start somewhere other than 0001?
Usually, yes. Many businesses start at a higher number, such as 1001, or use a year-based format like 2026-0001. What matters is that each number is unique and the sequence continues in order from wherever you start. Record your starting number in your invoice log so anyone checking your records understands the series. Check local rules if your country prescribes a format.
Should my invoice numbers restart every year?
If the year is part of the number, such as 2026-0001 followed by 2027-0001, restarting each year keeps numbers unique because the year prefix differs. Many tax systems accept this. Some countries prefer one continuous series or tie numbering to the financial year, so check your local rules. Without a year prefix, never restart, or you will create duplicates.
Can I use the date as my invoice number?
You can, for example 20261024, but add a sequence suffix such as 20261024-01 in case you issue more than one invoice on the same day. Date-based numbers are unique and sort well, but they make gaps harder to spot because the numbers jump. If your tax authority expects a continuous sequence, a year plus sequence format is usually safer.
Do invoice numbers have to be consecutive by law?
In many countries, yes. EU VAT rules require a sequential number based on one or more series that uniquely identifies each invoice. India's GST rules require a consecutive serial number of up to 16 characters, unique for each financial year. Elsewhere the rule may simply be that numbers are unique. Check your tax authority's requirements before choosing a format.
Can I use letters and symbols in invoice numbers?
Letters and hyphens are widely used, for example INV-2026-0041. Avoid characters such as spaces, slashes or symbols that break file names or bank payment references, and keep the number short enough to fit a bank reference field. Some countries limit the characters allowed: India's GST rules, for example, allow only letters, numbers, hyphens and slashes.
How do I number deposit and final invoices for the same project?
Give each invoice its own number from your normal sequence, even when they belong to one project. For example, the deposit invoice might be INV-2026-0040 and the final invoice INV-2026-0047. On the final invoice, reference the deposit invoice and deduct the amount already paid. Suffixes such as 0040-A can confuse sequences and some tax systems, so avoid them.
How do I keep my numbering consistent if I use more than one tool?
Choose one master record of issued numbers, such as a spreadsheet or your accounting software, and check it before creating every invoice. Our invoice generator lets you type any invoice number, but it does not track your sequence across devices or tools, so the master log is what keeps numbers unique. Note the source tool beside each entry.
What should I do if I sent two invoices with the same number?
Fix it as soon as you notice. Keep the first invoice as issued, cancel the second with a credit note, and reissue that work on a new invoice with the next available number. Tell the affected client what happened and which number to pay against. Record the correction in your log so the duplicate is explained in any audit.
Can invoice numbers be random?
Random numbers, such as A7X29Q, are unique but not sequential, so they fail rules that require a continuous series and make it impossible to spot missing invoices. Clients and accountants also find them harder to search and sort. If you want to avoid revealing your invoice volume, use a year prefix or a higher starting number rather than random codes.
Should I include the invoice number in my PDF file name and email subject?
Yes. Naming the file with the invoice number and client, such as Invoice-INV-2026-0041-Acme.pdf, and putting the number in the email subject makes the invoice easy to find in a busy inbox and easy to match when payment arrives. Ask clients to use the same number as their payment reference, so every transfer can be traced back to one invoice.
Invoice Creator Editorial Team
Guides on invoicing, cash flow and small-business finance from Invoice Creator, operated by Next Software Development Company. Content is reviewed for accuracy against the fields our own invoice generator produces.
Try the invoice generator