XRechnung & German E-Invoicing

Germany is implementing mandatory B2B e-invoicing starting 2025. XRechnung is the national CIUS standard based on EN 16931, supporting both UBL and CII formats. B2G e-invoicing has been mandatory since 2020.

Last updated: December 2025

Register on PEPPOL

What is XRechnung?

XRechnung is the German Core Invoice Usage Specification (CIUS) implementing the European EN 16931 e-invoicing standard. It defines how electronic invoices should be structured for use in Germany:

B2B E-Invoicing Mandatory from 2025

The Growth Opportunities Act mandates B2B e-invoicing: Jan 2025 - all companies must receive e-invoices, Jan 2027 - companies over 800,000 EUR turnover must issue e-invoices, Jan 2028 - all companies must issue e-invoices.

USt-IdNr (VAT ID)

German VAT identification number. Format: DE + 9 digits. Used for PEPPOL participant ID. Example: DE123456789

Leitweg-ID

Routing identifier for German public authorities. PEPPOL scheme 0204. Mandatory in BT-10 for B2G. Ends with check digit.

Handelsregister

Commercial register number (HRB/HRA). Not a PEPPOL scheme but required on German invoices for legal entities.

German Identifier Types

Germany uses several identifier types in e-invoicing and PEPPOL:

Identifier Format PEPPOL Scheme Usage
USt-IdNr DE + 9 digits 9930 VAT-registered businesses
Leitweg-ID Variable + check digit 0204 Public sector routing
GLN 13 digits 0088 International (GS1)
DUNS 9 digits 0060 D&B identifier
GEBA W-IdNr based TBD (2026) German Electronic Business Address

Tip: Use USt-IdNr (VAT ID) for most business lookups. Leitweg-ID is specifically for government recipients and must be placed in BT-10 (Buyer Reference).

XRechnung vs ZUGFeRD

Germany has two main e-invoice formats, both EN 16931 compliant:

Aspect XRechnung ZUGFeRD 2.x
Format Pure XML (UBL or CII) Hybrid (PDF/A-3 + XML)
Human readable No (requires viewer) Yes (PDF layer)
Machine readable Yes Yes (embedded XML)
B2G acceptance Primary format Accepted (profile XRECHNUNG)
B2B popularity Growing Very popular
File size Smaller Larger (includes PDF)

Both formats meet the B2B e-invoicing requirements from 2025. ZUGFeRD is popular for its dual-use nature - recipients can view the PDF while systems process the embedded XML.

B2G E-Invoicing Platforms

Germany's B2G e-invoicing system is decentralized. Different platforms serve federal and state levels:

ZRE (Federal Level)

OZG-RE (State/Local Level)

Leitweg-ID is Mandatory for B2G

When invoicing German public authorities, you must include the Leitweg-ID in the BT-10 (Buyer Reference) field. This routing ID is provided by the contracting authority and ensures your invoice reaches the correct department.

B2B E-Invoicing Timeline

The Growth Opportunities Act (Wachstumschancengesetz) introduces mandatory B2B e-invoicing:

Date Requirement Who
Jan 1, 2025 Must be able to receive e-invoices All German businesses
Jan 1, 2027 Must issue e-invoices Turnover > 800,000 EUR
Jan 1, 2028 Must issue e-invoices All German businesses

Note: During the transition period (2025-2026), paper invoices and non-compliant e-invoices (like simple PDFs) can still be exchanged with recipient consent.

Key XRechnung Fields

Important elements for German e-invoices (UBL syntax):

Business Term UBL Element Description
BT-1 cbc:ID Invoice number
BT-2 cbc:IssueDate Invoice issue date
BT-10 cbc:BuyerReference Leitweg-ID (mandatory for B2G)
BT-27 cac:AccountingSupplierParty/.../cbc:Name Seller name
BT-31 cac:AccountingSupplierParty/.../cbc:CompanyID Seller USt-IdNr
BT-32 cac:AccountingSupplierParty/.../cbc:CompanyID Seller Steuernummer (tax number)
BT-44 cac:AccountingCustomerParty/.../cbc:Name Buyer name
BG-6 cac:AccountingSupplierParty/.../cac:Contact Seller contact (mandatory in XRechnung)
BG-16 cac:PaymentMeans Payment instructions (mandatory)

German Business Rules (BR-DE)

XRechnung adds 21 German-specific business rules on top of EN 16931:

Rule Requirement Fix
BR-DE-1 Payment instructions required Add BG-16 (PaymentMeans)
BR-DE-2 Seller contact required Add BG-6 (Contact with name/phone/email)
BR-DE-3 Seller city required Add BT-37 (Seller city)
BR-DE-4 Seller post code required Add BT-38 (Seller post code)
BR-DE-15 Buyer reference required Add BT-10 (Leitweg-ID for B2G)
BR-DE-16 VAT ID required if no tax rep Add BT-31 (USt-IdNr) or BT-32

Our validator checks all BR-DE rules and provides clear explanations for each error.

How to Validate XRechnung Invoices

Our validator supports full XRechnung validation:

  1. Go to the PEPPOL Validator
  2. Upload your UBL or CII XML file or paste the XML content
  3. The validator auto-detects XRechnung format
  4. Review validation results including EN 16931 and BR-DE rules
  5. Fix any issues before sending via PEPPOL or uploading to ZRE/OZG-RE

Common validation checks include Leitweg-ID format, mandatory seller contact, payment instructions, and German-specific business rules.

Finding German Companies in PEPPOL

Search for German businesses registered on the PEPPOL network:

  1. Go to the PEPPOL Directory
  2. Enter the company's USt-IdNr (DE + 9 digits)
  3. For government entities, use their Leitweg-ID
  4. View registration details, supported documents, and access point

Germany has strong PEPPOL adoption especially in the public sector. All federal authorities are reachable via PEPPOL using their Leitweg-ID.

Transmission Channels

Multiple channels are available for sending e-invoices in Germany:

Email is Sufficient for Reception

The B2B mandate clarifies that providing an email address is sufficient to meet the e-invoice reception requirement from January 2025. A dedicated electronic mailbox is not mandatory.

Common XRechnung Validation Errors

Frequently encountered validation issues and how to fix them:

Error Cause Solution
BR-DE-15 Missing buyer reference Add Leitweg-ID in BT-10
BR-DE-1 Missing payment instructions Add PaymentMeans (BG-16)
BR-DE-2 Missing seller contact Add contact name, phone, or email
BR-CO-10 Sum of line amounts incorrect Verify line totals sum correctly
BR-DE-16 Missing VAT identifier Add USt-IdNr (BT-31) or Steuernummer
Validate Your Invoice Search PEPPOL Directory