Germany: XRechnung, ZUGFeRD and the e-Rechnungspflicht

XRechnung, ZUGFeRD and the German e-Rechnungspflicht: deadlines, formats and what you need to know.

Germany is introducing mandatory B2B e-invoicing in phases. Since 1 January 2025, all German businesses must be able to receive e-invoices, and from 2027 onward, sending will also become mandatory step by step. If you invoice German customers or have a German branch, it's important to know which formats are expected and when you need to comply.

Overview
AspectDetailsB2GMandatory (federal government via XRechnung + Leitweg-ID)B2BPhased mandate (Wachstumschancengesetz)FormatsXRechnung (CIUS), ZUGFeRD/Factur-X (hybrid PDF + CII)IdentifierLeitweg-ID (EAS 0204) for government entitiesExceptionsExempt transactions, invoices < €250, travel documents, B2CArchivingGoBD-compliant storage mandatory
When does it become mandatory?

The mandate stems from the Wachstumschancengesetz (Growth Opportunities Act) and is being introduced in phases:

PhaseWhatDeadlinePhase 1All businesses must be able to receive e-invoices1 January 2025Phase 2Businesses with revenue > €800,000 must send e-invoices1 January 2027Phase 3All businesses must send e-invoices1 January 2028

Until 31 December 2026, a transition period applies: paper invoices and non-compliant formats (such as regular PDFs) are still permitted if the recipient explicitly agrees.

Important: a regular PDF no longer qualifies as an e-invoice in Germany. Only structured formats that are machine-readable and comply with EN 16931 are accepted.

Which formats apply?

Germany recognizes two main formats:

XRechnung

XRechnung is the German CIUS (Core Invoice Usage Specification) of the European standard EN 16931. It is a purely structured XML format without a PDF component. XRechnung is mandatory for invoices to the German government (B2G) and widely accepted for B2B.

XRechnung is available as both a UBL and a CII variant. The eConnect PSB supports both and transforms automatically.

ZUGFeRD / Factur-X

ZUGFeRD (from version 2.x identical to Factur-X) is a hybrid format: a PDF/A-3 document with an embedded CII XML file. This gives the recipient both a visually readable PDF and machine-processable invoice data.

ZUGFeRD offers multiple profiles that vary in the amount of structured data:

ProfileSuitable forMINIMUMLimited metadata, not suitable as a full e-invoiceBASIC WLBasic data without line levelBASICBasic data with line levelEN 16931 (Comfort)Fully EN 16931-compliant, suitable as e-invoiceEXTENDEDAdditional fields on top of EN 16931

Tip: for the German e-Rechnungspflicht, you need at least the EN 16931 (Comfort) profile or higher. The lower profiles don't contain enough data to qualify as a full e-invoice.

Leitweg-ID for government recipients

When invoicing the German government (B2G), a Leitweg-ID is mandatory. This is a routing number that determines which government agency receives the invoice. The Leitweg-ID is registered on Peppol under EAS code 0204.

You can look up the Leitweg-ID of a government agency through the contracting authority or via the German e-Rechnungsportal.

Exceptions

Not all transactions fall under the e-Rechnungspflicht:

  • Invoices for VAT-exempt transactions
  • Small-amount invoices under €250
  • Travel documents
  • B2C transactions
GoBD: archiving requirements

German businesses must store e-invoices in compliance with the GoBD (Grundsatze zur ordnungsmassigen Fuhrung und Aufbewahrung von Buchern). This includes:

  • Immutable storage of the original file
  • Full audit trail (who did what and when)
  • Retention period of 10 years
  • A Verfahrensdokumentation describing how the digital administration is set up

eConnect provides the right building blocks for GoBD-compliant archiving: immutable document storage, audit trail and long-term retention. The eConnect platform is ISO 27001 and ISAE 3402 Type 2 certified.

How eConnect helps you

eConnect makes invoicing to and from Germany straightforward:

  • Automatic format transformation: the PSB automatically converts your invoice to XRechnung or ZUGFeRD, depending on what the recipient expects
  • Leitweg-ID support: EAS 0204 is fully supported for routing to German government recipients
  • Partner in Germany: ACE Solutions is active as an eConnect partner in the German market
  • Receiving German invoices: invoices in XRechnung or ZUGFeRD are automatically processed and converted to the format your system expects

Want to know how to comply with the German e-Rechnungspflicht? Get in touch with our team.

Discover how eConnect helps