Topic hub

XRechnung

Structure, mandatory fields, Leitweg-ID and submission of XRechnung, Germany's standard for structured e-invoices.

13 articles

XRechnung is Germany's standard for electronic invoices. Technically, it is a Core Invoice Usage Specification (CIUS) of the European standard EN 16931: it adopts the standard's semantic data model with its Business Terms (BT) and Business Groups (BG) and adds national business rules. It is published by KoSIT, the Coordination Office for IT Standards, on behalf of Germany's IT Planning Council.

An XRechnung is a pure XML file with no human-readable layer. It comes in one of two syntaxes, UBL 2.1 or UN/CEFACT CII, which are legally equivalent. For invoices to public-sector buyers the Leitweg-ID is mandatory as the buyer reference (BT-10), and submission runs through the federal and state invoice portals such as ZRE and OZG-RE or through the Peppol network. In B2B, XRechnung is one of the formats businesses can use to meet the e-invoicing mandate.

In this category we walk through how an XRechnung is structured, which fields are mandatory, how to state a Leitweg-ID correctly and how to create, read and check a file. Our examples use the real field names and XML paths. The free XRechnung viewer turns any file into a readable invoice, the e-invoice generator creates compliant invoices, and the Leitweg-ID validator checks the check digits.

All articles on this topic

XRechnung Credit Note: Type Code 381 vs Self-Billing (389)

How to issue an XRechnung credit note: when to use type code 381, 389 or 384, the UBL CreditNote root element, an XML sample and the KoSIT rules that apply.

7 min readRead

XRechnung Electronic Address: BT-34, BT-49 and EAS Scheme IDs

XRechnung electronic address explained: how to fill BT-34 and BT-49 with scheme IDs EM, 0204 or 9930, with UBL and CII snippets, the exact rules and common errors.

6 min readRead

Germany Peppol ID vs Leitweg-ID: Which ID Goes Where

Germany Peppol ID explained: how 0204, 9930 and 0088 IDs work, where the Leitweg-ID goes in BT-10 and BT-49, with a worked invoice to a federal authority.

7 min readRead

Is Peppol Mandatory in Germany? B2B, Public Sector and Costs

Is Peppol mandatory in Germany? Why the B2B rules set a format but not a channel, how federal authorities accept invoices, Peppol IDs with 0204, and what it costs.

7 min readRead

Germany E-Invoice Portal: Submitting XRechnung via OZG-RE

Germany's federal e-invoice portal after the ZRE shutdown: OZG-RE registration, the four channels, E-RechV fields mapped to BTs, status codes and rejections.

7 min readRead

How to Send E-Invoices in Germany: Channels, Deadlines, Pitfalls

How to send e-invoices in Germany by email, the OZG-RE portal, Peppol or EDI: channel comparison, deadlines under § 27 UStG, attachment rules and a pre-send check.

8 min readRead

Leitweg-ID for Companies: Do You Need One for B2B Invoices?

Leitweg-ID for companies explained: why businesses never get their own, what goes into BT-10 on B2B invoices, how BR-DE-15 works, and when a GmbH has one.

7 min readRead

XRechnung Mandatory Fields: Every Required BT with UBL Path and Rule

XRechnung mandatory fields as a checklist: each required BT with its UBL path, a sample value and the KoSIT rule, plus conditional fields and the § 14 UStG gaps.

8 min readRead

XRechnung 4.0: What Changes and When to Switch

XRechnung 4.0 explained: what the 15 Sep 2026 pre-release changes, a field table 3.0.2 vs 4.0, the timeline to 2027 and a migration checklist for ERP teams.

7 min readRead

How to Find or Get a Leitweg-ID for Invoicing German Authorities

How to get a Leitweg-ID: where suppliers find it, how public bodies apply for one, where to enter it (BT-10) and what to do when the portal rejects it.

8 min readRead

How to Create an XRechnung: Step-by-Step Guide

How to create an XRechnung in six steps: required fields with BT numbers, a validated UBL example, KoSIT validation, sending and archiving the invoice.

7 min readRead

What Is XRechnung? Format, Structure and Requirements (2026)

What is XRechnung? Germany's XML e-invoice format under EN 16931 explained: how it is structured, when it is mandatory and how to validate and create one.

8 min readRead

What Is a Leitweg-ID? Structure, Examples and Who Needs One

What is a Leitweg-ID? Its structure, a worked check-digit example, where it goes in BT-10 and why only public authorities need one, not their suppliers.

8 min readRead