E-Invoicing in Germany 2025–2028: XRechnung, ZUGFeRD & B2B Mandate

Since 1 January 2025 every business in Germany must be able to receive structured e-invoices (EN 16931: XRechnung, ZUGFeRD / Factur-X, UBL or CII). Issuing them becomes mandatory on 1 January 2027 for businesses whose total turnover in 2026 exceeded €800,000, and for all businesses on 1 January 2028; the BMF letter of 15 October 2026 kept these dates. Invoices to the public sector have required XRechnung since 2020. aiDoks validates and generates the right format — free.

Date esențiale

TermeneB2G since 27 November 2020. B2B: receiving since 1 January 2025, issuing 2027–2028.
Cui se aplicăAll businesses established in Germany; the issuing date depends on turnover.
Format obligatoriuXRechnung 3.x (UBL or CII) or ZUGFeRD / Factur-X on the EN 16931 profile.
Rețea sau portalOZG-RE for federal B2G; PEPPOL or e-mail for B2B.
ExcepțiiInvoices up to €250 and travel tickets; Kleinunternehmer need not issue, but must be able to receive.

German e-invoicing mandate timeline

2020

XRechnung mandatory for federal B2G

27 November 2020: all suppliers invoicing German federal public-sector buyers must submit in XRechnung format via the federal portal (today OZG-RE) or the relevant state portal. Most German federal states followed within 1–2 years.

2025

B2B: everyone must be able to receive

1 January 2025: all businesses must be technically able to receive structured e-invoices conforming to EN 16931 (UBL, CII or ZUGFeRD/Factur-X hybrid). Sending paper or consented PDF remains allowed during the transition period.

2027–28

B2B: issuing becomes mandatory

1 January 2027: businesses with previous-year turnover above €800,000 must send structured e-invoices for domestic B2B transactions. 1 January 2028: all remaining businesses follow. ZUGFeRD / Factur-X (hybrid PDF + CII XML) counts as fully compliant and is the most common B2B choice.

Which format do you need?

XRechnung (B2G — public sector)

German CIUS of EN 16931, available in UBL and CII syntax. Mandatory for invoices to federal, state and most municipal buyers. Key additional field: Leitweg-ID (Buyer Reference) — the routing identifier issued by the buying authority with every purchase order. Submitted via OZG-RE (federal) or state portals.

ZUGFeRD / Factur-X (B2B — private sector)

Hybrid PDF/A-3 with embedded CII XML — the same file is human-readable (by email or print) and machine-readable (by ERP). Five profiles from MINIMUM to EXTENDED; EN 16931 or higher is recommended for full interoperability. Identical to Factur-X — different name, same format.

PEPPOL BIS 3.0 (cross-border)

For cross-border invoices to EU customers, PEPPOL BIS 3.0 UBL is the standard. Germany has active PEPPOL access points; XRechnung UBL invoices are also PEPPOL-compatible (same UBL 2.1 base, different CustomizationID). Growing in domestic B2B too, especially in automotive and retail supply chains.

EN 16931 (baseline norm)

The European e-invoicing standard underlying all formats above. A plain EN 16931 CII or UBL invoice is valid for German B2B from 2025. Both XRechnung (CIUS) and PEPPOL BIS 3.0 (CIUS) are strict subsets of EN 16931 — every valid XRechnung is also a valid EN 16931 invoice.

What changes on 1 January 2027

From 1 January 2027, a business whose total turnover in 2026 exceeded €800,000 (the turnover as defined in § 19(2) UStG) must issue structured e-invoices for its domestic B2B supplies made in 2027. Below that threshold, paper or PDF invoices (with the recipient's consent) stay allowed for 2027 supplies; EDI procedures that do not meet EN 16931 also remain allowed until the end of 2027. From 1 January 2028 everyone issues e-invoices. Exempt for good: invoices up to €250 (§ 33 UStDV) and travel tickets (§ 34 UStDV); small businesses under § 19 UStG (Kleinunternehmer) need not issue e-invoices but must still be able to receive them. The BMF letter of 15 October 2026 (III C 5 - S 7287-a/00019/021/017) added detail on advance and partial invoices, service descriptions, corrections and business-rule errors, but extended no deadline; e-invoices issued up to 31 December 2026 under the earlier 2024 and 2025 letters remain accepted.

What is the Leitweg-ID and why does it matter?

The Leitweg-ID (routing identifier) is a code in the format NNNN-NNNNNNN-NN assigned by German federal and state buying authorities. It must appear in the cbc:BuyerReference (UBL) or ram:BuyerReference (CII) field of every XRechnung invoice sent to a public-sector buyer. The authority includes it in the purchase order — if you did not receive one, contact your buyer's accounts-payable team before submitting. Without a valid Leitweg-ID the government portal rejects the invoice automatically; the 30-day payment clock does not start until a passing invoice is submitted.

Common XRechnung validation errors

  • BR-DE-15 — Buyer reference (BT-10), i.e. the Leitweg-ID, missing or empty.
  • BR-DE-1 — Payment instructions (BG-16) missing. XRechnung requires a payment-means group, which EN 16931 leaves optional.
  • BR-DE-21 — CustomizationID wrong. Must be the exact XRechnung 3.0 URN: urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0.
  • BR-CO-15 — Invoice total with VAT mismatch. The total with VAT (BT-112) must equal the total without VAT (BT-109) plus the VAT total (BT-110), rounded to 2 decimal places.

B2B mandate: what formats qualify?

The Wachstumschancengesetz (passed March 2024) requires structured invoices based on EN 16931. The following formats are explicitly accepted: UBL 2.1 (PEPPOL BIS 3.0 or plain EN 16931 UBL), UN/CEFACT CII (EN 16931 CII), and ZUGFeRD / Factur-X 2.x / 1.x (PDF/A-3 with embedded CII). Plain PDF and paper invoices can still be sent if the recipient consents — but the consent exception ends when issuing becomes mandatory: from 2027 for businesses with previous-year turnover above €800,000, and from 2028 for all businesses (non-EN 16931 EDI arrangements also end after 2027).

E-invoicing in Germany: FAQ

Is e-invoicing mandatory in Germany?

Yes, in phases. B2G: invoices to federal public-sector buyers have had to be structured e-invoices since 27 November 2020 — XRechnung or another EN 16931-compliant format such as ZUGFeRD in the EN 16931 profile; the federal states set their own dates. For B2B, all businesses must be able to receive structured e-invoices since 1 January 2025; issuing becomes mandatory from 1 January 2027 for businesses with previous-year turnover above €800,000 and from 1 January 2028 for all remaining businesses. The mandate is based on EU Directive 2014/55/EU and the German Wachstumschancengesetz (Growth Opportunities Act).

What format do I need for German public-sector (B2G) invoices?

XRechnung 3.x — the German Core Invoice Usage Specification (CIUS) of EN 16931. It is mandatory for invoices to federal buyers submitted through OZG-RE or state portals. The key additional field is the Leitweg-ID (Buyer Reference), which every German public authority issues with the order. Both UBL and CII syntax are accepted by the portals.

What is the B2B e-invoicing timeline for Germany?

1 January 2025: all businesses must be able to receive structured e-invoices (EN 16931-compliant UBL or CII). 1 January 2027: businesses with previous-year annual turnover above €800,000 must also send structured e-invoices. 1 January 2028: all remaining businesses must send structured e-invoices. ZUGFeRD / Factur-X (hybrid PDF + XML) counts as a valid format for B2B.

Who must issue e-invoices in Germany from 1 January 2027?

Businesses whose total turnover in 2026 exceeded €800,000, for domestic B2B supplies made from 1 January 2027. Below that threshold, paper or PDF invoices (with the recipient's consent) remain allowed for 2027 supplies, and from 1 January 2028 every business must issue e-invoices. The BMF letter of 15 October 2026 extended none of these dates.

Which invoices are exempt from the German e-invoicing obligation?

Invoices up to €250 (§ 33 UStDV) and travel tickets (§ 34 UStDV) are permanently exempt, and so are invoices to private consumers (B2C). Small businesses under § 19 UStG (Kleinunternehmer) do not have to issue e-invoices, but like every business they must be able to receive them.

What is ZUGFeRD and how does it relate to Factur-X?

ZUGFeRD and Factur-X are the same technical format — a PDF/A-3 file with a human-readable invoice AND a machine-readable CII XML document embedded inside. ZUGFeRD is the German brand name (maintained by FeRD); Factur-X is the French/European brand name (maintained by FNFE-mpe). ZUGFeRD 2.x = Factur-X 1.x. Both are valid for German B2B e-invoicing from 2025.

What is the Leitweg-ID and where do I find it?

The Leitweg-ID (routing identifier) is a code of up to three parts (coarse addressing, optional fine addressing, check digits) assigned by German federal and state buyers to identify their invoicing address, for example 04011000-12345-67. It must appear in the Buyer Reference field (cbc:BuyerReference in UBL, ram:BuyerReference in CII) of every XRechnung invoice. The buying authority sends it with the purchase order. Without a valid Leitweg-ID the government portal rejects the invoice immediately.

What happens if I send a non-compliant invoice to a German authority?

The portal (OZG-RE or a state equivalent) rejects the invoice automatically — no human review occurs. The 30-day payment clock does not start until you submit a passing invoice. There is no grace period; the rejection is immediate and you receive an error report with the failing rule IDs. Validate with aiDoks before submission to catch errors in advance.

Ready to validate or generate German e-invoices?

Free, accurate, supports XRechnung 3.x and ZUGFeRD / Factur-X.