Basics
Assigning Invoice Numbers Correctly: How to Meet Legal Requirements
A consecutive invoice number is mandatory. But which systems are allowed? We explain the rules, show best practices and common mistakes you should avoid.
The invoice number is one of the mandatory fields on every invoice - and at the same time one of the most frequently misunderstood topics among founders and freelancers. In this guide, you'll learn everything you need to know about correctly assigning invoice numbers.
Why is the invoice number so important?
The invoice number serves two central purposes:
1. Unique identification: Every invoice must be uniquely identifiable - both for you as the invoice issuer and for your customer and the tax office. In case of queries, complaints or an audit, the invoice number enables quick assignment.
2. Complete documentation: The tax office wants to see that you've properly documented all revenue. A consecutive numbering system shows that no invoices have "disappeared."
Legal requirements according to § 14 UStG
According to § 14 Abs. 4 Nr. 4 UStG, every invoice must contain a "consecutive number with one or more number series." This sounds more complicated than it is:
What does "consecutive" mean?
Consecutive means that the numbers are assigned in a logical, traceable sequence. However, this does not mean that each number must directly follow the previous one.
Allowed are:
- Classic numbering: 1, 2, 3, 4, 5...
- Numbers with prefix: RE2025-001, RE2025-002...
- Numbers with year: 2025-0001, 2025-0002...
- Combinations with customer numbers: K100-R001, K100-R002...
Not allowed are:
- Random numbers without a system
- Duplicate numbers
- Intentional gaps for concealment
Are gaps allowed?
Yes, unintentional gaps are unproblematic and occur regularly in daily business. Typical reasons:
- An invoice was created but not sent and canceled
- Technical errors during invoice creation
- Test documents during software implementation
Important: You should be able to document gaps. A brief note "Invoice 47 canceled due to wrong address, see cancellation document" is completely sufficient.
Proven numbering systems
System 1: Simple consecutive numbering
The simplest system: 1, 2, 3, 4, 5...
Advantages:
- Easy to understand
- No error sources
Disadvantages:
- Customers see how many invoices you issue
- Over many years, the number becomes unwieldy
System 2: Year + Number
Format: YYYY-NNN (e.g., 2025-001, 2025-002)
Advantages:
- Invoices are chronologically sortable
- Each year you start fresh with 001
- Professional impression
Disadvantages:
- Be careful at year-end that the system switches correctly
System 3: Prefix + Number
Format: RE-0001, INV-0001 or similar
Advantages:
- Distinction of different document types possible (RE for invoice, AN for quote)
- Flexibly expandable
Disadvantages:
- Must be maintained consistently
System 4: Date-based
Format: YYYYMMDD-NN (e.g., 20251022-01)
Advantages:
- Date immediately visible
- Separate numbering possible for each date
Disadvantages:
- Longer numbers
- Can become confusing with many invoices per day
The most common mistakes with invoice numbers
Mistake 1: Assigning numbers manually
Anyone who assigns invoice numbers manually will sooner or later make mistakes - duplicate numbers, forgotten numbers or transposed digits. Always use software that assigns numbers automatically.
Mistake 2: Starting numbering at 1000
Some founders start at 1000 to appear more "professional." While this is allowed, it can lead to questions during an audit: "Where are invoices 1-999?" If you want to start at a higher number, document the reason.
Mistake 3: Changing numbers retrospectively
Once an invoice number has been assigned, it may not be changed. If an invoice is incorrect, you must cancel it and issue a new invoice with a new number.
Mistake 4: Using different systems in parallel
If you use different numbering systems for different business areas, it quickly becomes confusing. Better: One unified system with distinguishable prefixes.
Mistake 5: No check for duplicates
Ensure your software doesn't assign a number twice - even after a system change or data migration.
Best practices for your numbering system
1. Choose a system and stick with it
Don't change your numbering system without a compelling reason. If you must change, document the time and reasons.
2. Use leading zeros
Instead of 2025-1, 2025-2, better use 2025-001, 2025-002. This way your invoices are also sorted correctly alphanumerically and you're prepared for growth.
3. Plan for the future
If you write three invoices per month today, that could change. Choose a format that also works with 1000+ invoices per year.
4. Separate quotes and invoices
Quotes and invoices should have different number ranges. A quote doesn't automatically become an invoice - the invoice needs its own number.
5. Document your system
Keep a written record of which system you use. This helps with queries and when you hire an accountant or bookkeeper.
What happens during an audit?
During an audit, the tax office looks for:
- Completeness: Are all invoice numbers present?
- Chronology: Do the numbers match the invoice dates?
- Consistency: Was the system applied consistently?
Irregularities aren't automatically suspicious, but you should be able to explain them. Good documentation makes this easy.
Invoice numbers and e-invoicing
With the e-invoicing requirement from 2025, the invoice number becomes even more important. It's a central field in the structured data format (XRechnung, ZUGFeRD) and is read mechanically.
Important for e-invoices:
- No special characters that could cause problems (umlauts, slashes)
- Uniform format without variations
- Unique assignment for automatic processing
Conclusion: How to do it right
- Choose a logical system - preferably with year and consecutive number
- Use software for automatic assignment
- Document deviations and cancellations
- Stay consistent over the years
- Check regularly for duplicates and gaps
With Clever Invoice, invoice numbers are automatically assigned according to your chosen scheme. You can individually set the prefix, length and starting number - and never have to worry about correct numbering again.
Frequently asked questions
Can I start my invoice number at 1000?
Yes, that's allowed. You can start at any number. However, you should document why you're not starting at 1 - for example "Numbering from 1000 for better distinction from quote numbers." During an audit, questions could otherwise arise.
What do I do if I've assigned an invoice number twice?
One of the two invoices must be canceled and reissued with a new, unique number. Document the process in your records. Modern invoicing software prevents this problem automatically.
Do I have to start at 1 every year?
No, that's a matter of taste. You can continue numbering (1, 2, 3...) or restart annually (2025-001, 2025-002, then 2026-001...). Both are allowed. Annual resetting makes assignment to the fiscal year easier.
Are gaps in invoice numbering allowed?
Yes, unintentional gaps are unproblematic and occur frequently - such as through canceled invoices or test documents. You should be able to document the reason if the tax office asks. Intentional gaps for concealing sales are of course forbidden.
Which numbering system is the best?
The best system is one that fits your business and that you maintain consistently. For most freelancers and small business owners, YYYY-NNN (e.g., 2025-001) is recommended. It's clear, chronologically sortable and makes the annual closing easier.