Zum Inhalt springen

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.

Martin Krause · ·12 min read read

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

RequirementMeaning
UniqueEach number may only be assigned once
SequentialNo gaps in numbering (within a number range)
TraceableThe system must be documented
ImmutableOnce 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:

MonthInvoice NumbersExplanation
January2025-001, 2025-002, 2025-003Sequential ✓
February2025-004, 2025-006Gap at 005 – cancellation documented ✓
March2025-007, 2025-008Continuation ✓

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:

  1. Create credit note: New invoice with negative amount
  2. 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:

  1. Structure of your invoice number
  2. Number range used
  3. Handling of cancellations
  4. Software used
  5. 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:

  1. Simple – You and your accountant understand it
  2. Consistent – No changes mid-year
  3. Documented – For GoBD compliance
  4. Automated – Software prevents errors
  5. 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.

← Back to blog