Basics
Invoice Numbering: How to Build a Compliant System and Avoid Mistakes
Learn how to build a legally compliant invoice numbering system. With examples, templates, and tips for sequential, gap-free numbering.
Invoice Numbering: The Complete Guide to Building a Compliant System
The invoice number is one of the most important mandatory details on every invoice. It must be unique and sequential – but what exactly does that mean? In this guide, you'll learn everything about correctly assigning invoice numbers and how to build a system that withstands tax authority scrutiny.
Why Is the Invoice Number So Important?
The invoice number is a mandatory requirement according to § 14 Para. 4 UStG (German VAT Act). It serves:
- Unique identification of each invoice
- Traceability for tax authorities
- Assignment of payments
- Archiving and accounting
Legal Requirements
| Requirement | Meaning |
|---|---|
| Unique | Each number may only be assigned once |
| Sequential | No gaps in numbering (within a number range) |
| Traceable | The system must be documented |
| Immutable | Once assigned, cannot be changed |
What Does "Sequential" Mean?
Many self-employed people are unsure: Does sequential mean there can be no gaps? The answer: It depends.
What the Tax Office Says:
- Within a number range, numbers must be sequential
- Multiple number ranges are allowed (e.g., per year, per customer, per project)
- Small gaps due to cancellations are acceptable if documented
- Large gaps without explanation are problematic
Example of Allowed Numbering:
| Month | Invoice Numbers | Explanation |
|---|---|---|
| January | 2025-001, 2025-002, 2025-003 | Sequential ✓ |
| February | 2025-004, 2025-006 | Gap at 005 – cancellation documented ✓ |
| March | 2025-007, 2025-008 | Continuation ✓ |
Structure of an Invoice Number: Possible Systems
System 1: Simple Sequential Number
The simplest system:
1, 2, 3, 4, 5, ...
Advantages: Simple, no confusion Disadvantages: Customers see business volume, no year reference
System 2: With Year
The most popular system:
2025-001, 2025-002, 2025-003, ...
2026-001, 2026-002, ...
Advantages: Year overview, reset possible Disadvantages: Must be switched at year change
System 3: With Date
Detailed variant:
20250115-001 (January 15, 2025, first invoice of the day)
20250115-002 (January 15, 2025, second invoice)
Advantages: Very detailed, good sorting Disadvantages: Long numbers, complex
System 4: With Customer ID
For regular customers:
SMITH-2025-001
JONES-2025-001
Advantages: Immediate customer assignment Disadvantages: Complex with many customers
System 5: With Project ID
For project-based work:
WEB-2025-001 (Web design project)
APP-2025-001 (App development)
Advantages: Project assignment Disadvantages: Multiple number ranges to manage
Best Practices for Your Invoice Numbering System
1. Choose a System and Stick with It
Don't change your system mid-year. This leads to confusion and problems during audits.
2. Document Your System
Keep a written record:
- How is your invoice number structured?
- When does a new number range start?
- How do you handle cancellations?
3. Use Leading Zeros
Instead of "2025-1" use "2025-001" – this ensures correct sorting.
4. Plan for Growth
If you use "2025-01", you're at the limit at 99. Better to start with three digits.
5. Automate
With invoicing software, numbers are assigned automatically – no gaps, no duplicates.
Common Mistakes with Invoice Numbers
Mistake 1: Gaps Without Documentation
Problem: Invoice numbers 001, 002, 005, 006 – where are 003 and 004? Solution: Document cancelled invoices or create credit notes
Mistake 2: Duplicate Numbers
Problem: Two invoices with the same number Solution: Use software that checks automatically
Mistake 3: System Change Without Documentation
Problem: Suddenly a different format Solution: Document system changes and implement at year change
Mistake 4: Reset Without New Number Range
Problem: Starting at 001 again in February Solution: Only reset with a new prefix (e.g., 2025-001 → 2026-001)
Mistake 5: Manual Assignment with Many Invoices
Problem: Error-prone, time-consuming Solution: Automation through software
Special Cases: What to Do When...
Cancelling an Invoice
Two options:
- Create credit note: New invoice with negative amount
- Correct invoice: Correction invoice referencing original
The original number remains assigned in both cases.
Forgot Invoice Number
The invoice is invalid without a number! The customer is entitled to a correct invoice. Create a new invoice with the correct number.
Deposit and Final Invoices
Each invoice needs its own number:
2025-001 Deposit Invoice 1
2025-002 Deposit Invoice 2
2025-003 Final Invoice (references 001, 002)
Credit Notes
Credit notes are numbered like invoices – either in the same number range or with their own prefix:
CN-2025-001 (Credit Note)
INV-2025-001 (Invoice)
Invoice Numbers and GoBD Compliance
The GoBD (Principles of Proper Bookkeeping) require:
- Immutability: Once assigned, cannot be changed
- Traceability: System must be documented
- Completeness: All invoices must be recorded
- Timely recording: Create invoices promptly
Process Documentation
For GoBD compliance, you should document:
- Structure of your invoice number
- Number range used
- Handling of cancellations
- Software used
- Archiving procedure
Recommended System for Beginners
For most freelancers and self-employed people, we recommend:
[YEAR]-[SEQUENTIAL NUMBER]
Example: 2025-001, 2025-002, 2025-003
Why this system?
- ✅ Easy to understand
- ✅ Year overview
- ✅ Reset possible at year change
- ✅ Supported by all invoicing programs
- ✅ Tax authority compliant
Conclusion: The Perfect Invoice Numbering System
A good invoice numbering system is:
- Simple – You and your accountant understand it
- Consistent – No changes mid-year
- Documented – For GoBD compliance
- Automated – Software prevents errors
- Future-proof – Enough digits for growth
With modern invoicing software, you don't have to worry about invoice numbers – the system assigns them automatically, sequentially, and in compliance with regulations.
Frequently asked questions
Must the invoice number be sequential?
Yes, within a number range, the invoice number must be sequential. However, small gaps due to documented cancellations are acceptable.
Can I reset the invoice number at year-end?
Yes, if you use a new number range. Resetting from 2024-150 to 001 doesn't work – but to 2025-001 it does.
What happens with duplicate invoice numbers?
Duplicate numbers are a problem for accounting and tax authorities. Create one of the invoices with a corrected number and document the error.
Can the invoice number contain letters?
Yes, letters are allowed. Combinations like "INV-2025-001" or "SMITH-001" are valid as long as the system produces unique numbers.
How do I handle cancelled invoices?
Cancelled invoices keep their number. Create a credit note with a new number and negative amount that references the original invoice.
Is an invoice number mandatory?
Yes, the invoice number is a mandatory requirement according to § 14 Para. 4 UStG. Without it, the invoice is formally invalid and the customer has no input VAT deduction.