The requirements for companies in invoice processing are changing – and so are the formats. XRechnung is becoming increasingly important as a structured standard for digital invoice exchange and as a key component of modern accounting processes. In this article, you’ll learn why XRechnung is worth looking into and what businesses need to know right now.

What is XRechnung?

XRechnung is an XML-based standard format for electronic invoices based on the EU standard EN 16931. Its purpose is to provide invoice data in a structured way so it can be processed automatically and seamlessly – for example, by ERP or document management systems. XRechnung was originally developed for invoice exchange with public sector clients. As of 2025, the e-invoicing obligation is also being extended to the B2B sector. The standard defines what information an electronic invoice must contain and the technical format in which it is transmitted. In this way, XRechnung establishes a uniform, legally compliant framework for digital invoicing in Germany.

The structure of an XRechnung

The XRechnung format follows a clearly defined structure that enables standardized and automated processing. It is based on an XML dataset that contains all mandatory and optional information in machine-readable form. Key components include the invoice recipient’s details, such as name, address, contact information, and – for public sector clients – the routing ID, as well as the invoice issuer’s information, including name, VAT ID, and address. It also contains core invoice data like the invoice number, issue date, payment terms, individual line items, total amount, applicable VAT, and payment information. In addition, optional references such as contract, order, or job numbers can be included where relevant. This structured format ensures that all necessary information is available for efficient and fully automated digital processing of the XRechnung.

Invoice recipient information

  • Name
  • Address
  • Contact information (e.g., e-mail and phone number)
  • Routing ID

Invoice issuer information

  • VAT ID
  • Name
  • Address
  • Contact information (e.g., e-mail and phone number)

Invoice-specific information

  • Invoice number
  • Invoice date
  • Payment terms
  • Invoice items
  • Total invoice amount
  • VAT, including the current tax rate

Payment information

  • Bank account information
  • Payment targets
  • Any agreed-upon down payments or discounts

Other agreements

  • Contract number
  • Order number
  • Reference number

Technical requirements for an XRechnung

An invoice meets the requirements of XRechnung only if it complies with specific formal and content-related criteria. The foundation is a structured XML dataset formatted according to the EU standard EN 16931. To be recognized as an XRechnung, the invoice must not contain any embedded objects, although it may include attached supplementary documents such as GAEB files. In addition, it must represent a valid instance of one of the supported XML schemas. Compliance with the defined business rules, as well as their correct technical implementation, is mandatory. Furthermore, only the specified information elements may be used, and they must follow their defined meaning and structure. Only when all of these requirements are met can an electronic invoice be classified as an XRechnung and processed automatically.

Why is XRechnung becoming mandatory?

The introduction of XRechnung as a mandatory format is part of a broader digitalization strategy at both European and national levels. The starting point was EU Directive 2014/55/EU, which aimed to standardize electronic invoicing in public procurement. In Germany, this directive was implemented through the E-Invoicing Regulation (E-RechV), making XRechnung mandatory in the B2G (business-to-government) sector since 2020. As of January 1, 2025, this requirement was extended to the B2B (business-to-business) sector as part of the Growth Opportunities Act. The objective is to increase efficiency in invoice processing, reduce costs, and harmonize business processes. In the future, companies will not only need to receive electronic invoices but also generate and process them in a standardized format. XRechnung provides the necessary foundation for this: legally compliant, interoperable, and machine-readable. This marks an important step toward fully digital, seamless invoice exchange.

XRechnung in practice: creating, sending, and receiving

The practical implementation of XRechnung depends largely on a company’s existing systems and invoice volume. From simple web form creation to fully automated XRechnung processing within a digitalization platform, the possibilities are endless – and with the right solution, they’re future-proof.

Creating: manual, system-supported, or automated

For smaller businesses or low invoice volumes, manual creation via web portals such as ZRE (the Federal Government’s central invoice receipt platform) or OZG-RE is a suitable option. These portals provide simple forms for creating XRechnung invoices and submitting them directly. For organizations that regularly process larger invoice volumes, integration into existing ERP systems or the use of specialized service providers is recommended. In addition, digital solutions such as ELO Invoice also support the processing of XRechnung invoices within automated workflows.

Sending: flexible and compliant with standards

Invoices can be transmitted via several channels. In the B2G sector, submission typically takes place through central platforms such as ZRE or via the Peppol network, which is widely used across Europe. Sending invoices by e-mail is also possible, provided that the receiving system supports this method. It is essential to comply with the technical specifications regarding data structure and to correctly include the routing ID for public sector recipients.

Receipt and processing: automated with ELO

Modern digitalization platforms such as ELO ECM Suite can serve as the foundation for solutions that enable end-to-end processing of XRechnung invoices. Incoming XML datasets are imported directly, validated, and linked to the company’s defined business processes. The structured data model ensures that all relevant information, such as amounts, tax rates, and payment deadlines, is extracted accurately without relying on error-prone OCR recognition. The invoice is then automatically transferred into the approval workflow, where it can be reviewed, commented on, and approved entirely digitally and in compliance with regulatory requirements.

Archiving: secure and compliant with legal requirements

Once the process is completed, the XRechnung is automatically archived, including all processing steps and metadata. With ELO, archiving is performed in compliance with GoBD and the GDPR, either on-premises or in the ELO Cloud. This ensures that companies are always audit-ready and meet all legal requirements for electronic document retention.

Benefits of XRechnung for businesses

The introduction of XRechnung offers companies a wide range of benefits in terms of efficiency, compliance, and future readiness. Beyond fulfilling legal requirements, it also delivers tangible advantages in day-to-day operations.

Cost and time savings

One of the most immediate benefits is the reduction of paper, printing, and postage costs. By switching to electronic invoices, manual steps such as printing, preparing, and mailing documents are eliminated entirely. At the same time, processing speeds increase significantly, as invoices can be received, reviewed, and approved directly without having to switch systems. This not only saves time but also helps companies take better advantage of early payment discounts.

Automation and process reliability

Thanks to the structured data format, many process steps can be automated – from invoice receipt and verification through to posting. Errors caused by manual data entry or inaccurate OCR extraction are significantly reduced. In addition, the standardized structure simplifies integration into existing ERP, DMS, or ECM systems.

Standardization and transparency

XRechnung provides a uniform framework for electronic invoice exchange at both national and international levels. It replaces inconsistent formats and creates greater transparency and traceability in communication with business partners and public sector clients.

Compliance

The standard meets all legal requirements for electronic invoicing, particularly those set out in the E-Invoicing Regulation and EU Directive 2014/55/EU. Companies using XRechnung therefore benefit from a legally compliant solution that also supports GoBD- and GDPR-compliant processing and archiving.

Request a demo

Discover the advantages of ELO with our free demo and get answers to your individual questions.

Meet e-invoicing requirements with ELO

With ELO ECM Suite, companies are fully prepared for e-invoicing requirements. ELO provides a comprehensive solution for digital invoice processing – from receipt and validation through to regulatory-compliant archiving.

Automated processing of XRechnung invoices

Incoming XRechnung invoices can be imported directly in XML format and processed automatically. The ELO solution identifies relevant information such as amounts, recipients, routing IDs, and payment targets, and seamlessly integrates them into the digital approval workflow. Validation is carried out in accordance with current legal requirements.

Seamless integration into existing systems

ELO can be integrated smoothly into existing ERP, financial accounting, or inventory management systems. As a result, it fits seamlessly into existing IT environments and enables companies to process invoices without disrupting established workflows.

Regulatory-compliant archiving included

Finally, ELO ensures that all incoming and outgoing e-invoices are archived in compliance with GoBD and the GDPR – either on-premises or in the ELO Cloud. This guarantees legal compliance while also enabling transparent and audit-proof documentation.

Bottom line and recommendations for action

XRechnung is more than a legal obligation – it is a key driver of digital transformation in accounting. Companies should therefore view its implementation as an opportunity to make their processes more efficient, transparent, and future-proof. By adopting a digitalization platform like ELO at an early stage, organizations can gain a clear competitive advantage while ensuring full legal compliance.

FAQs about XRechnung

What is an XRechnung?

XRechnung is an XML-based electronic invoice format that complies with the EU standard EN 16931. It enables structured, automated processing of invoice data – particularly in transactions with public sector clients, and increasingly also in the B2B sector.

Who is required to use XRechnung?

Since November 27, 2020, XRechnung has been mandatory for all suppliers to federal public sector clients. As of January 1, 2025, the e-invoicing requirement also applies gradually to the B2B sector.

What must an XRechnung include?

An XRechnung includes, among other things, details about the invoice issuer and recipient, the invoice number and date, payment information, individual line items, and – for public sector recipients – the routing ID. All data must be provided in a structured XML dataset.

How is an XRechnung created?

Depending on requirements, an XRechnung can be created manually via a web portal (e.g., ZRE), generated from an ERP system, or produced by specialized service providers. Solutions for electronic invoice processing – such as those offered by ELO – then enable efficient downstream processing. 

How can an XRechnung be sent?

Depending on the recipient and the use case, invoices can be transmitted via different channels – for example by e-mail, through the Peppol network, or via central invoice receipt platforms such as ZRE or OZG-RE.

How is an XRechnung received and processed?

Invoices can be received via e-mail, platforms, or system interfaces and then processed automatically. Digitalization platforms such as ELO ECM Suite handle import, validation, approval, and archiving entirely in digital workflows.

How can you tell if an invoice meets the XRechnung standard?

A valid XRechnung is an XML file that complies with EN 16931, follows the CIUS XRechnung business rules, and uses only the information elements defined by the standard.

What is the routing-ID?

The routing ID is a unique identifier used to assign an invoice to a specific recipient within the public sector. It is mandatory when sending e-invoices to public sector clients.

What is the difference between XRechnung and ZUGFeRD?

XRechnung is a fully structured XML format, whereas ZUGFeRD is a hybrid format consisting of a PDF document with embedded XML data. Both formats comply with the EU standard but differ in their technical structure and use cases.

What are the benefits of XRechnung for businesses?

XRechnung enables seamless and automated processing of invoices, saves time and costs, reduces error rates, and ensures compliance with legal requirements. It also forms the basis for fully digital and automated invoicing processes.