BLOG

XRechnung in Germany: Format, Obligation and Choice of Channel for E-Invoicing

DT_XRechnung in Germany

Key Takeaways

  • XRechnung should be assessed as a structured data standard, not as a simple XML file: compliance depends on the correct mapping of tax and accounting information in the source systems.
  • The German obligation covers the domestic B2B scope between businesses established in Germany: for international groups, it becomes relevant when there is a local presence in the country.
  • The choice between XRechnung, ZUGFeRD and Peppol isn't merely technical: it affects interoperability, internal usability and document governance across finance processes.
  • German flexibility on the transmission channel leaves room for decision-making, but requires a strategy: choosing more structured channels can reduce exceptions, manual checks and multi-country fragmentation.
  • The value of e-invoicing grows when format, data and channel feed automation, ERP integration and operational control, rather than being limited to regulatory compliance alone.

In Germany, talking about e-invoicing without distinguishing between format, tax obligation and transmission channel easily leads to misleading simplifications. XRechnung should be understood precisely within this triad. It isn't just a German XML: it is a structured specification that fits into the European framework of EN 16931 and today coexists with other options, first and foremost ZUGFeRD.

The scope also needs clarifying. The German obligation doesn't apply generically to any company invoicing into Germany, but to domestic B2B transactions between businesses established in Germany. For an international group, therefore, the issue becomes relevant when there is a local presence – for example a subsidiary or a permanent establishment – that falls within the German scope.

What is XRechnung?

XRechnung is the German standard for structured electronic invoicing, developed as the national implementation of EN 16931. In practice, it defines how invoice data must be organised so that it can be read, validated and processed automatically by systems, without relying on a simple PDF.

Historically, the format originated in B2G, but today it is also an important reference in the German B2B debate, because it is one of the most straightforward expressions of compliance with European requirements. Its logic is clear: priority goes to structured data, not to the visual layout of the document.

This explains why a PDF on its own isn't enough. It may be readable and convenient to archive, but it isn't an E-Rechnung unless it contains the required data structure. XRechnung, by contrast, is designed to ensure that tax and accounting content is available in a genuinely machine-readable form.

Technical requirements and related standards

From a technical point of view, XRechnung isn't a standalone standard. It is built on EN 16931, which defines the common European semantic model for electronic invoices, and uses the syntaxes provided for at European level, in particular UBL 2.1 and UN/CEFACT CII. This means the German format is national in its application, but European in its regulatory basis.

For companies, the consequence is very practical: generating just any XML file isn't enough. You need a document in which the mandatory data is actually present in the structured part and correctly mapped from the source systems. Compliance therefore also depends on the quality of master data, VAT codes, order references and the logic used for integration with the ERP.

This is where the relationship with ZUGFeRD comes into play. ZUGFeRD is a hybrid format that combines a human-readable PDF/A-3 with an embedded XML. XRechnung, on the other hand, focuses directly on the XML structure. Both can fall within the scope of the E-Rechnung if they meet the requirements of EN 16931, but the choice between them changes the way a company approaches internal usability, controls and document governance.

The German obligation: scope, timing and requirements

The central issue is the domestic scope. German rules on B2B E-Rechnung generally apply to transactions between businesses established in Germany, referred to by the tax authorities as inländische Unternehmer. It is therefore incorrect to frame the obligation as something that automatically affects any foreign supplier selling to a German counterparty.

From 1 January 2025, businesses within scope must be able to receive E-Rechnungen. For issuing them, however, Germany provides for a transition period: until 31 December 2026, it is still generally possible to issue invoices other than E-Rechnungen; for businesses with a prior-year turnover of up to €800,000, this window extends to 31 December 2027; certain EDI scenarios that aren't fully compliant also remain temporarily usable until the end of 2027.

There is also a substantive requirement that is often underestimated: to be valid as an E-Rechnung, the invoice must contain all VAT-relevant data in the structured segment. It isn't enough to attach a descriptive PDF and leave the key information there. This makes German e-invoicing a test of the maturity of administrative and accounting data as well.

Differences from ZUGFeRD and Peppol

The comparison with ZUGFeRD is useful because it highlights a design choice. If the main goal is a lean format strongly geared towards automated processing, XRechnung is the most straightforward solution. If, on the other hand, the company wants to combine human readability and structured data in the same file, ZUGFeRD may prove more practical.

With Peppol, the level changes. Peppol isn't an alternative format to XRechnung, but an interoperability infrastructure for exchanging documents. In other words, XRechnung answers the question about the data format; Peppol answers the question about the channel and the exchange rules.

And this is where Germany stands out from other European countries: the B2B rules govern the format, but don't impose a single transmission channel. The German tax authorities themselves make clear that the law doesn't prescribe a specific route: email, an electronic interface, a portal or other means agreed between the parties can all be used. This flexibility is helpful in the short term, but it leaves companies with an architectural choice that shouldn't be underestimated.

Impact on foreign companies and international groups

For multinational groups, the real question isn't only whether the format is compliant, but how to prevent Germany from becoming yet another local exception. If one group company adopts XRechnung while other countries work with different formats and networks, the risk is multiplying mappings, exceptions and manual checks.

That is why a forward-looking choice may be to assess more structured and interoperable channels, such as Peppol, right now, even though they aren't yet required by German law. Not because they are mandatory today, but because they can make exchanges more orderly, improve standardisation across partners and prepare the company for future developments linked to European interoperability and the ViDA pathway.

In other words, the fact that the channel isn't rigidly prescribed doesn't mean the decision is neutral. It is precisely in this area of freedom that tactical compliance can be distinguished from a more far-sighted approach.

From format to process automation

At this point, automation isn't an artificial add-on but a natural consequence. If the format is structured, the data is reliable and the channel is governed, the invoice stops being a document to be handled manually and becomes a process event. On this basis, formal validations, routing to the right workflows, checks on data completeness and consistency, exception handling and faster reconciliations all become easier.

More advanced automation – including AI-based automation – only makes sense after this step. Data quality and interoperability come first; only then do use cases such as anomaly classification, handling priorities, operational suggestions or support for finance controls become credible. In this sense, XRechnung isn't just a technical requirement: it is a useful junction for understanding how ready the process really is to scale in an orderly way.

Looking ahead, it is precisely the combination of XRechnung, channel choice and flow standardisation that can turn a project born for compliance into a more solid foundation for ERP integration, internal control and greater operational continuity across countries, business units and partners.

Germany e-Invoicing
Adapt your e-invoicing in Germany without multiplying complexity
Need to adapt your electronic invoicing flows in Germany without creating new local complexity? Manage XRechnung, transmission channels and ERP integration in a compliant, traceable and scalable process.
Discover the Global e-Invoicing solution

FAQ

How can you tell whether a foreign company falls within the German obligation?

The first criterion is to check whether the transaction involves entities established in Germany. Multinational groups need to map local subsidiaries, permanent establishments, domestic B2B flows and tax responsibilities before defining the format and the process.

 

 

Share post