Definition: The invoice number is a unique identifier for each invoice, used for identification and traceability. According to § 14 UStG, an invoice must, among other things, contain “a consecutive number with one or more numeric sequences that is assigned uniquely for the identification of the invoice.” For freelancers and small businesses the invoice number is therefore a central element of accounting and VAT documentation.

The most important legal bases for the invoice number come from the Value Added Tax Act (UStG), the Fiscal Code (Abgabenordnung, AO) and the GoBD (Principles for properly keeping and storing books, records and documents in electronic form and for data access).

Requirements for the invoice number

In practice the requirements can be reduced to three core points: uniqueness, traceability (sequential), and documentation of the system. These aspects have a direct impact on daily bookkeeping.

Uniqueness

Each invoice number may only be assigned once. Duplicate numbers lead to queries from the tax office and complicate reconciliation in accounting. For multiple GmbH branches or business units it is advisable to use prefixes for clear allocation (e.g. BER-2025-0001 for Berlin).

Sequential numbering

The law does not require a gapless sequence without interruption, but it does require a traceable and sequential assignment. Gaps are permissible if they are documented (e.g. cancellation or manual invoice issued outside the system), but should be avoided to simplify audits.

Format and structure

The format may be chosen freely, but should be stable and traceable. Common elements are a year identifier, a prefix for business areas and a running number. Examples: 2025-000123, FREEL-25-045 or GMBH-MAIN-001. It is important that the format is documented and not changed arbitrarily.

Practical numbering systems and examples

In practice several simple systems have proven successful that meet the requirements and make daily work easier.

Example table:

Invoice Number Note
Consulting service January 2025-001 Year-based sequence
Website order WEB-2025-002 Area-based series
Credit note (cancellation) 2025-001-CR Reference to original number

Handling gaps, credit notes and technical systems

Errors happen. What matters is how you document gaps and cancellations.

Conclusion: A well-thought-out, documented invoice numbering system saves time in accounting, reduces audit risks and increases traceability. Choose a simple, consistent system and comply with the requirements of the UStG, AO and GoBD.

Promo

Create legally compliant e-invoices in just a few minutes with BillingEngine. Try now.

Glossary Questions
Does an invoice number have to be sequential?

Yes, according to § 14 UStG every invoice must contain a unique, verifiable identification number; in practice this means sequential numbering or clearly separated number ranges so that the sequence can be reconstructed without gaps.

May I use letters or special characters in invoice numbers?

Yes, alphanumeric invoice numbers are permitted, provided assignment and traceability in accordance with the GoBD are ensured; avoid characters that hinder machine processing or readability.

What should you do if an invoice has an incorrect invoice number?

You should cancel the erroneous invoice in a documented manner and issue a corrected invoice with a new, unique number, retaining the original invoice and the cancellation record as required by the GoBD.

How long must invoices with an invoice number be retained?

Invoices must generally be retained for 10 years for tax purposes (cf. AO §147), including electronic as well as paper documents; the retention obligation also follows from the UStG.

How do you handle invoice numbers for credit notes or cancellation invoices?

Credit notes and cancellation invoices require their own unique numbers and must clearly reference the original invoice so that input VAT deduction and accounting remain traceable.

History
Publication date:
11/14/2025
Modification date:
11/15/2025
Start now

Ready to simplify your accounting?

With just a few clicks, you can send your first legally compliant e-invoice.

Instant access
with 1 click
or Sign up For intensive
testing
Feedback

JavaScript should be activated for optimal use of BillingEngine.