Invoice Numbering: Formats, Legal Rules & How to Do It Right (2026)
Invoice Numbers: More Than Just a Reference
Quick Answer: Invoice numbers must be unique and sequential — this is a legal requirement in Germany, Spain, the UK, Serbia, Croatia, and Bosnia. The format is up to you (INV-001, 2026-001, or any consistent system). Never skip, duplicate, or retroactively change a number. InvoiNova auto-increments numbers from saved templates so you never have to track them manually.
— Try it —
What do you need to create right now?
No sign-up · 100% free · PDF generated in your browser
An invoice number looks like a minor administrative detail. In reality, it is one of the few mandatory fields on an invoice in virtually every country — and getting it wrong can create problems during tax audits, VAT returns, and payment disputes.
This guide covers what the law requires, which formats work, and how to handle the edge cases that trip people up.
Why Invoice Numbers Are Required by Law
Tax authorities use invoice numbers to:
- Verify that no invoices are hidden — a sequential gap (INV-010 followed by INV-015) raises a red flag that invoices may have been deleted to suppress income
- Match VAT input claims — buyers claim VAT based on the invoice number; the seller's records must show the same number
- Enable audit trails — every invoice in your books must be traceable forward and backward through time
The law in most countries does not specify a format. But it universally requires that numbers be unique (no two invoices with the same number) and sequential (in a consistent, traceable order).
Legal Requirements by Country
Germany (DE)
Under §14 Umsatzsteuergesetz (UStG), every invoice must contain a "fortlaufende Nummer" — a consecutive number that is unique within the tax period. The law explicitly allows any format, including multiple number sequences, as long as each sequence is applied consistently and traceably. Annual reset is allowed.
German tax authorities (Finanzamt) are strict about sequential gaps. A missing number in your sequence must be explainable.
Spain (ES)
Reglamento de Facturación (Real Decreto 1619/2012) requires invoices to be numbered in a single series or in multiple explicitly labeled series (e.g., one series for domestic clients, one for exports). Numbers must be consecutive within each series. Annual reset is permitted with a year prefix.
Since 2024, Spain's TicketBAI system (rolled out by region) requires invoices to be generated through certified software with tamper-proof numbering — InvoiNova is not certified TicketBAI software, but for freelancers below the threshold this does not apply yet.
United Kingdom (UK)
HMRC requires VAT invoices to include a unique sequential number based on one or more series. Non-VAT invoices do not have a specific legal format requirement, but good practice (and audit readiness) means following the same approach. Annual reset with year prefix is standard.
Serbia (RS)
Zakon o računovodstvu requires sequential numbering for all issued invoices. For VAT-registered businesses, the pravilnik o PDV requires the invoice number to appear on all VAT invoices (račun). The Ministry of Finance does not prescribe a format, but the number must be unique and chronologically ordered within the fiscal year.
Croatia (HR) and Bosnia (BA)
Both require sequential invoice numbers under their respective accounting laws (HR: Zakon o računovodstvu; BA: analogous regulations). Croatia additionally requires that the invoice number include a location identifier for businesses with multiple billing points (e.g., 1-1-1 format where the segments represent invoice number, device, and location).
Common Invoice Number Formats
There is no single correct format. The goal is a system that is unique, traceable, and consistent. Here are the most widely used options:
| Format | Example | Best for |
|---|---|---|
| Simple sequential | INV-001 | Solo freelancers, low invoice volume |
| Year-prefixed | 2026-001 | Anyone who wants annual reset |
| Year + month | 2026-05-001 | Monthly billing cycles, agencies |
| Alphanumeric series | A-2026-001 | Multiple client series |
| Client-coded | CLI001-INV-005 | Agencies billing multiple clients |
Annual Reset vs. Continuous Numbering
Annual reset means starting from 001 (or any number) at the beginning of each fiscal year, with the year included in the number. This is the most common approach for small businesses and freelancers. It keeps numbers shorter and makes the year immediately identifiable.
Continuous numbering means never resetting — your 500th invoice is INV-500 regardless of year. This is simpler to implement and slightly easier to audit (no ambiguity about which year INV-042 belongs to), but numbers get long over time.
Either approach is legal everywhere listed above, as long as you are consistent.
Monthly Reset
A monthly reset (e.g., 2026-05-001) adds the month to the prefix. This works well for agencies or businesses that send many invoices per month and want instant filing by period. The tradeoff: your numbering format must carry month and year everywhere, which can make numbers longer.
What You Cannot Do
Skip numbers. If you draft an invoice and decide not to send it, you must either void it with a formal cancellation record or keep the number in your sequence with a note ("cancelled"). You cannot simply reuse the number.
Duplicate numbers. Two invoices with the same number — even if issued to different clients — violates the uniqueness requirement and will cause problems with VAT returns.
Edit a finalized invoice. Once an invoice has been issued (sent to the client), its number, date, and amounts are fixed. If you made an error, issue a credit note referencing the original invoice number, then issue a corrected invoice with a new number.
Retroactively change your system. Switching formats mid-year (e.g., from INV-001 to 2026-001) creates an inconsistent record. If you want to change formats, do it at the start of a new fiscal year.
Correcting Invoice Mistakes
When you issue an invoice with an error, the correct procedure is:
- Issue a credit note — this is a negative invoice that references the original invoice number and reverses it. Example: Credit Note CN-001 references Invoice INV-042 and cancels it.
- Issue a corrected invoice — with a new sequential number that follows your existing sequence.
- Keep all three documents — original invoice, credit note, corrected invoice — in your records.
The original invoice number must never appear again in a new invoice.
InvoiNova: Auto-Incrementing Invoice Numbers
Manually tracking "what was my last invoice number?" is error-prone, especially when you invoice multiple clients with different series or billing cycles.
InvoiNova handles this automatically through saved templates:
- Create a template with your sender details, branding, and initial invoice number (e.g., INV-001)
- Save the template — InvoiNova stores the last used number
- Load the template for each new invoice — the number auto-increments to INV-002, INV-003, and so on
You can maintain separate templates for separate number series (e.g., one template per client or per project). The number is always visible and editable before you generate the PDF — you are never locked in.
This removes the most common cause of invoice numbering mistakes: forgetting the last number you used, or accidentally reusing one.
For a full walkthrough of creating and saving templates, see our guide to creating invoices online.
Building a System That Works
A consistent numbering system takes about 10 minutes to set up and saves significant time at tax season. The recommendations:
For solo freelancers: Use INV-YYYY-NNN (e.g., INV-2026-001). Reset annually. One sequence for all clients. Simple, traceable, legal everywhere.
For agencies or multi-client businesses: Use a prefix per client or project (e.g., CLI01-2026-001) or separate InvoiNova templates per series.
For Croatian businesses: Check the 1-1-1 format requirement if you have multiple billing locations.
For Spanish businesses: Confirm whether your region requires TicketBAI certified software (applies above certain thresholds or in certain autonomous communities).
Whatever system you choose, document it — write down the logic, and apply it consistently from day one.
Summary
| Requirement | What it means |
|---|---|
| Unique | No two invoices with the same number, ever |
| Sequential | Numbers must follow a logical, traceable order |
| Annual reset | Legal everywhere — include year in prefix |
| Format | Not prescribed — choose any consistent format |
| Mistakes | Issue a credit note + new invoice; never edit the original |
| Auto-increment | InvoiNova templates handle this automatically |
Invoice numbering is one of those details that feels bureaucratic until you need it — and then you really need it. Set up a consistent system now, and you'll never have to think about it again.
Start issuing properly numbered invoices today with InvoiNova — free, no registration. For a complete overview of what every invoice must contain, see our invoice checklist guide.
FAQ
Frequently asked questions
Yes, in most countries. Germany, Spain, the UK, Serbia, Croatia, and Bosnia all require invoices to carry a unique, sequential identifier. The exact format is usually not prescribed by law — but the number must be unique, non-repeating, and traceable. Missing or duplicated invoice numbers can cause tax audit problems.
Yes, annual reset is legal in most jurisdictions. You simply include the year in the number to keep it unique — for example INV-2026-001 for your first invoice of 2026, then INV-2027-001 the following January. What you cannot do is have two invoices with the same number in the same fiscal year.
You cannot delete or retroactively edit a finalized invoice. Instead, issue a credit note (Gutschrift in German, nota de crédito in Spanish) that references the original invoice number. The credit note cancels the original. If a corrected invoice is needed, issue a new one with a new sequential number and reference the credit note.
Yes. When you save a template in InvoiNova, it stores the last used invoice number and auto-increments it each time you generate a new invoice from that template. You can also manually enter any number — InvoiNova does not lock you into a specific format.