Creating XRechnung invoices: structure, B2G and German requirements
Creating a XRechnung requires more than exporting a PDF. Businesses need to distinguish public-sector requirements from domestic B2B tax rules, choose a supported specification and submit complete structured data through an accepted channel.
What is the XRechnung standard?
XRechnung is Germany’s structured XML invoice specification based on EN 16931. It supports automated processing and does not contain an inherent visual PDF representation. A viewer can display its structured content for people.
KoSIT maintains the specification and validation artefacts. Select the published release accepted by the recipient and receiving system. Do not assume that a version mentioned in an older article remains the only supported version or that syntactically valid XML necessarily satisfies every business rule.
When is electronic invoicing required?
Federal public-sector invoicing obligations have applied since November 2020, subject to the federal regulation’s scope and exceptions. State and municipal requirements can differ. Ask the contracting authority for its current instructions.
For relevant domestic B2B transactions, the German framework requires receipt readiness from January 2025. General issuing transition provisions run through 2026. An extension through 2027 generally applies where the issuer’s prior-year turnover does not exceed €800,000; special EDI provisions also need consideration. The wider issuing obligation follows in 2028, within the statutory scope and exemptions.
Paper can generally still be used under the applicable transition provisions; another unstructured electronic format, such as an ordinary PDF, normally requires the recipient’s agreement. Do not apply that consent condition indiscriminately to paper or to compliant structured e-invoices. See our German e-invoicing update.
Structure and the Leitweg-ID
XRechnung uses supported XML syntaxes, including UBL and UN/CEFACT CII. It defines business terms, required data and national rules, not just a file extension.
A German public recipient normally provides a Leitweg-ID for the buyer-reference field BT-10. Do not confuse that reference with a complete scheme-qualified Peppol participant identifier. In private B2B exchange, BT-10 can serve other buyer-reference requirements; the field is not automatically forbidden simply because the buyer is a business.
Tax identifiers, electronic addresses and order references have their own purposes. Verify the recipient type and map each field correctly rather than copying one identifier into every field.
Federal submission channels
Federal receiving platforms have been consolidated, and old ZRE interfaces should not be treated as current submission instructions. Check the authority’s present OZG-RE or other applicable receiving details before sending.
For automated exchanges, Peppol may be supported alongside other channels. The relevant document and process profile, recipient registration and buyer reference must match. Using a network does not itself guarantee business acceptance.
Exceptions and small businesses
Different regimes have different exceptions. Under the domestic B2B tax rules, examples include small-value invoices up to €250 gross, qualifying passenger tickets and certain exempt transactions. Public-sector regulation has its own provisions, including specific direct-order exceptions; do not substitute B2B thresholds for B2G thresholds.
German small businesses using the special regime under §19 UStG are exempt from the structured issuing obligation under the applicable rules, while still needing to receive relevant e-invoices. Their turnover conditions and eligibility must be assessed separately. A business’s size alone does not answer every scope question.
Exceptions do not remove ordinary requirements for complete invoice information, suitable processing and retention. Ask your adviser where the transaction or customer classification is uncertain.
XRechnung compared with ZUGFeRD
| Criterion | XRechnung | ZUGFeRD |
|---|---|---|
| Structure | Structured XML | PDF/A-3 with embedded XML in hybrid use |
| Human reading | Requires a viewer | Visual PDF available |
| Public-sector acceptance | According to recipient instructions | Depends on XML profile, version and channel |
| EN 16931 | German CIUS and associated rules | Applicable profiles must be checked |
An EN 16931 profile is not automatically identical to every XRechnung rule set. Some public receiving channels require a structured XML submission and do not accept a hybrid PDF. Confirm the actual instructions instead of assuming universal acceptance or rejection of all ZUGFeRD files.
Creating and validating an invoice
Export invoice data from the ERP or accounting system and map it to the target syntax and profile. Supported software or a suitable portal can generate the document; manual retyping of XML is not a reliable operating model.
Validate the XML schema, semantic rules, national rules and required identifiers before sending. A successful technical check does not replace verification of supplier, amounts, tax treatment and purchase order. Our e-invoice validator can support technical checks; do not submit confidential documents without considering the tool’s terms and your company policy.
Test rejected invoices, correction workflows and status handling before rollout. Preserve the required structured original and relevant evidence after transmission.
Frequently asked questions
Can I still send Word or ordinary PDF invoices?
It depends on the transaction, recipient and transition rules. Ordinary files are not structured e-invoices. Public-sector submission instructions may be stricter than domestic B2B transition provisions.
What happens if the Leitweg-ID is wrong?
The receiving process can reject or misroute the document. Obtain the correct reference from the authority and check delivery status. In private B2B, use the actual buyer reference required by the process rather than inventing a Leitweg-ID.
Are small businesses exempt from everything?
No. The special issuing exemption does not remove receipt readiness or ordinary retention and accounting obligations. Confirm the applicable regime instead of treating every small trade as exempt.
Next step
Book a demo with Eaglessoft to connect invoice generation, validation, submission and processing. This is general information, not a determination of an individual tax or contractual case.




