An invoice number (Rechnungsnummer) is much more than just a serial code at the top of a page. For the German tax office (Finanzamt), it is the backbone of your accounting system.
Incorrect numbering—such as assigning the same number twice or leaving unexplained gaps—raises immediate suspicions of tax evasion during an audit. It can lead to severe fines and cause your B2B clients to lose their right to VAT deduction (Vorsteuerabzug). In 2026, with the mandatory shift to digital e-invoicing, technical accuracy is more important than ever.
1. The Legal Foundation: § 14 UStG
German VAT law requires every outgoing invoice to have a number that meets two core criteria:
- Unique (Einmalig): A number can only be used exactly once in your company's history. Even if an invoice is canceled, that specific number is burned and cannot be reused.
- Sequential (Fortlaufend): The system must be logical and continuous. This ensures that all revenue is accounted for. You don't have to start at
1; you can use combinations of letters and numbers (e.g.,INV-2026-001).
2. The GoBD Trap: Why Gaps are Dangerous
Under the German GoBD (principles for digital accounting), your bookkeeping must be fully traceable.
If a tax auditor sees invoice 2026-010 and 2026-012, they will immediately ask: Where is 2026-011? Missing numbers suggest you received cash and deleted the invoice to avoid taxes.
- Never delete invoices: If you make a mistake on invoice
2026-011, do not delete it. You must issue a cancellation invoice (Stornorechnung) to zero out the amount, keep both on file, and issue a new invoice as2026-013.
(To see how a compliant invoice structure looks visually before automating, Solobuch platform).
3. E-Invoicing Realities in 2026
With structured XML formats like ZUGFeRD and XRechnung being mandatory for German B2B, invoice numbers are now machine-read fields (Invoice/ID).
If your invoice number contains invalid special characters or exceeds length limits, your client's ERP system will automatically reject the XML file.
To ensure your CRM exports are structurally sound, you can always use our ZUGFeRD Validator to check the syntax before sending.
4. Automate to Stay Safe
Managing serial numbers in Excel is too risky today. By using a modern platform, you can securely create an e-invoice with automated, gap-free numbering. Invoice numbers are enforced as unique per account, so the system cannot assign a duplicate. If you make a mistake, generate a clean cancellation invoice with one click instead of deleting or editing the original.
Key Takeaways
- Unique & Sequential: Never reuse a number and maintain a logical format.
- No Gaps: Deleting invoices is illegal. Always use a Stornorechnung.
- Keep it Simple: Don't use excessively long formats, making it hard for clients to type the reference in their banking apps.
- Automate: Let software handle the sequential tracking to avoid XML rejections in 2026.




