XRechnung

Get a breakdown of Germany’s technical formats and deadlines as part of your comprehensive guide to the 70+ global mandates currently in motion.

Access the Global Compliance Report

B2G obligation

In B2G relations, the regulations introduced in Germany oblige suppliers to send e-invoices to German public administration units (at the federal level). Suppliers for these institutions must  send them structured e-invoices in accordance with the rules. Invoices in PDF format are not accepted, and only files created in the appropriate document format, such as Xrechnung, are valid. 

The German B2G e-invoicing system is decentralized. Previously, the access points for receiving B2G e-invoices from suppliers at the federal level were the ZRE and OZG RE platforms. However, as of September 19, 2025, The Procurement Office of the Federal Ministry of the Interior has successfully completed the consolidation of the two federal invoice receipt platforms. At the state level, each state can choose to use the central government platform. For now, all companies doing business with public entities in states such as Mecklenburg-Western Pomerania, Saarland, Hamburg, Bremen, Baden-Württemberg, Rhineland-Palatinate, and Hessen must use structured electronic invoices.

 

Archiving requirements for e-invoicing

E-invoicing process description

B2B obligation

The German government has officially introduced mandatory B2B e-invoicing to modernize tax processing, driven by the Growth Opportunities Act passed in March 2024. As of January 1, 2025, the initial phase of the B2B framework is already active.

The majority of obligations apply to domestic B2B transactions involving issuers and recipients based in Germany (including foreign companies established in Germany) and do not apply to B2C and most VAT-exempt transactions. 

Mandatory e-invoices must comply with EN 16931 (CEN 16931). Germany’s implementation aligns with the EU’s VAT in the Digital Age (ViDA) initiative for future cross-border digital reporting.

Germany adopted a decentralized, post-audit model. There will be no central government clearance platform. Instead, invoices will be exchanged directly between trading partners or via certified provider networks. The local VAT Act was modified to redefine electronic invoices strictly as structured, machine-readable formats.

E-invoicing process description

European Committee for Standardization (CEN)

During the transition period (running from January 1, 2025, to December 31, 2027), e-invoices that do not comply with EN 16931 will still be accepted, but under certain conditions. Paper invoices, unstructured PDFs, and older EDI formats (e.g., EDIFACT) can still be issued, but only with the recipient's consent. 

However, for structured EN 16931-compliant e-invoices, the sender does not need the recipient’s consent. A non-EN 1693-compliant electronic invoice will have the same legal classification as a paper invoice, but will be classified under the “other invoices” category. Small amount invoices (below EUR 250) and transport tickets are exempt from the mandate.

Implementation timeline: B2G e-invoicing

  • November 27, 2020: B2G e-invoicing has been mandatory at the federal level and in the federal state of Bremen.
  • January 1, 2022: B2G e-invoicing became mandatory in the federal states of Saarland, Hamburg, and Baden-Württemberg.
  • April 1, 2023: B2G e-invoicing became mandatory in the federal state of Mecklenburg-Western Pomerania.
  • January 1, 2024: B2G e-invoicing became mandatory in the federal state of Rhineland-Palatinate.
  • April 18, 2024: B2G e-invoicing became mandatory in the federal state of Hessen.

Implementation timeline: B2B e-invoicing

  • January 1, 2025: The legal definition of invoices changed. All domestic businesses are now obligated to receive structured e-invoices compliant with EN 16931. Paper and unstructured invoices are permitted only with the buyer's consent.
  • January 1, 2027: Issuers whose total turnover in the previous calendar year exceeded 800,000 EUR will be obligated to issue CEN-compliant structured electronic invoices for domestic B2B transactions.
  • January 1, 2028: Mandatory issuance of e-invoices takes effect for all remaining Germany-based businesses.

E-invoicing process description

E-invoicing platform description

At the federal level, there were two platforms:

  • ZRE (the Zentrale Rechnungseingangsplattform): For sending e-invoices directly to the German federal administration.
  • OZG-RE (the Onlinezugangsgesetz-konforme Rechnungseingangsplattform): For sending e-invoices indirectly to the German federal administration.

Currently, there is only one unified platform, OZG-RE, which handles all e-invoices directed to the federal administration, because the ZRE system was deactivated in September 2025.

However, at the state level, there are numerous platforms for e-invoicing.

An official B2G e-Invoice format is XRechnung. Files in XRechnung format can be sent using one of many transmission channels, such as the German OZG RE platform, as well as the European Peppol network.

What is the required format of an e-invoice

What is the required format of an e-invoice?

In Germany, the required format for B2G invoices is XRechnung. This is an XML-based semantic data model that complies with the European standard EN 16931 and is a response to the CEN standard. Other formats, such as ZUGFeRD 2.0, ZUGFeRD 2.1, Peppol BIS, Peppol BIS 3.0, CII are valid for B2B transactions. Still, all suppliers to the German public administration are required to switch to XRechnung.

How integrity and authenticity may be ensured?

How can integrity and authenticity be ensured?

Qualified Electronic Signature is one of the accepted methods. Data sealed with a qualified electronic seal enjoys the presumption of integrity and authenticity.

How we can help

Comarch provides full coverage of the B2G mandates in Germany on Federal State level. Comarch is a member of the German Institute for Digitalization in Tax Law (IDST) Association and developed its solution called “Comarch E-mail Converter”.

Comarch's solutions facilitate Germany's decentralized routing by providing two-step automatic verification of a recipient's ability to receive invoices via Peppol, looking up identifiers (VAT ID, GLN, LEITWEG ID) to ensure accurate document processing.

Characteristics of the e-invoicing in Germany

Mandatory/not mandatory

  • B2G: Mandatory at the federal level and across multiple states (Bremen, Saarland, Hamburg, Baden-Württemberg, Mecklenburg-Western Pomerania, Rhineland-Palatinate, Hessen).
  • B2B: The reception mandate has been active since January 1, 2025. The issuing mandate will be phased in starting January 1, 2027, for large taxpayers, and January 1, 2028, for all others.

E-invoice format and platform

The XRechnung format is required for B2G invoices. It is a semantic data model based on XML. It complies with the European standard EN 16931.

Platform for sending e-invoices to the German federal administration (both direct and indirect): OZG-RE (the Onlinezugangsgesetz-konforme Rechnungseingangsplattform).

Archiving

Storage period: 8 years

Why is Comarch the best choice?

We have 20+ years of experience in carrying out various EDI, e-invoicing, and other document exchange projects around the world. In those years, we have successfully connected more than 130,000 entities from over 60 countries.

  • 1. Legal compliance

    Full compliance with the latest data exchange regulations and modern data transfer standards

  • 2. Digitization

    Applying new technologies and IT solutions in order to streamline workflows and automate activities and procedures

  • 3. Individual approach

    Tailor-made solutions based on processes specific to each company – own road map and a suitable pace of changes

  • 4.Security

    Highest level of security for all sensitive and important company data

    Frequently Asked Question

    • 1. What is XRechnung?

      XRechnung is an XML-based invoice format preferred by German authorities, fulfilling the criteria of the European core calculation and being the response to the CEN standard (CEN/TC 434). Other formats, such as ZUGFeRD 2.1, Peppol BIS, Peppol BIS 3.0, CII, are valid for B2B transactions, but all suppliers for the German public administration are obliged to switch to XRechnung.

      An XRechnung file can be sent via one of the many transmission channels, such as the German OZG RE platform, as well as the European Peppol network.

    • 2. Is e-invoicing mandatory in Germany?

      For now, all companies doing business with public entities in states such as Mecklenburg-Western Pomerania, Saarland, Hamburg, Bremen, Baden-Württemberg, Rhineland-Palatinate, and Hessen must use structured electronic invoices.

      For B2B, the framework’s initial phase started on January 1, 2025. Most obligations apply to domestic B2B transactions involving German-based issuers and recipients, including foreign companies in Germany, but not to B2C or most VAT-exempt transactions.

    • 3. Who is liable to send e-invoices in Germany?

      All companies making B2G transactions in following states:

      • As of 27th November 2020, mandatory on federal level and in the federal state of Bremen.
      • As of 1 January 2022, B2G e-invoicing became mandatory in the federal states of Saarland, Hamburg and Baden Württemberg
      • As of 1 April 2023, B2G e-invoicing will become mandatory in the federal state of Mecklenburg-Western Pomerania
      • As of January 2024, B2G e-invoicing will become mandatory in the federal state of Rhineland-Palatinate
      • As of 18 April 2024, B2G e-invoicing will become mandatory in the federal state of Hessen

      Additionally, since January 1, 2025, B2B e-invoicing is mandatory for all domestic businesses.

    • 4. What is an e-invoice and how does it differ from an unstructured invoice?

      An e-invoice is an electronic invoice document in a structured, machine-readable format that enables automated processing. In contrast, unstructured invoices, such as PDFs or paper documents, are only readable by humans and require more effort to read (e.g., with OCR or a PDF extractor). Structured formats such as XML or UBL fulfill legal requirements and promote interoperability.

    • 5. Which electronic formats must be accepted and supported by invoice recipients?

      Since 1 January 2025, companies have been obliged to accept and technically process electronic invoices in a structured format in accordance with the EN 16931 standard. For such e-invoices, the recipient’s consent is not required.

    • 6. Under what circumstances can an invoice be rejected by the recipient?

      In B2B transactions during the transitional period, the sending of invoices that do not correspond to the EN 16931 structured format (such as paper invoices, unstructured PDFs, or older EDI formats) requires the consent of the recipient and can therefore be rejected if this consent is not given.

      However, in B2G transactions, unstructured invoices are not accepted at all; only files created in the appropriate structured format, such as XRechnung, are valid.

    • 7. Do I have to agree on a format with my business partners for the exchange of electronic invoices?

      Invoice recipients must be able to process electronic invoices that are compliant with CEN standard EN 16931. Agreement on a specific format is not mandatory, but it can increase the efficiency of the invoicing process.

    • 8. Which invoice formats am I likely to receive from my business partners?

      You should always be prepared to receive and process electronic invoice formats that comply with CEN standard EN 16931. The market study on the implementation of mandatory e-invoicing in Germany, conducted jointly with Fraunhofer IAO, provides insight into which formats are popular for invoicing → to the study.

    • 9. Will I still be able to exchange invoices in PDF format after 2025?

      Yes, PDF invoices can continue to be exchanged until 31 December 2026 with the consent of the recipient. For companies with an annual turnover of less than EUR 800,000, this option applies until 31 December 2027.

    • 10. How can consent to receive other invoice formats (e.g. paper or PDF) be given or determined?

      There is no formal requirement for consent, so it can also be given implicitly or tacitly, e.g. by paying the invoice.

    • 11. Which transmission channels are prescribed for the exchange of e-invoices?

      In principle, there are no legal requirements for electronic transmission, or EDI interfaces, web portals, PEPPOL and e-mail channels can be used. When choosing a suitable transmission channel, it makes sense to differentiate between the size and type of business partner with whom you exchange invoices.

      • A technical EDI interface between the invoice issuer's IT system and the invoice recipient's IT system (classic EDI) is already common practice, especially in large companies, regardless of the e-invoicing obligation, and is particularly suitable for business partners with whom many invoices are exchanged.
      • Web portals (WebEDI) offer the option of filling out an invoice form via a web-based portal, from which a legally compliant invoice format can be automatically created and sent to the recipient. This transmission channel is particularly useful for SME partners.
      • E-mail as a classic transmission channel is ideal for business partners with whom very few e-invoices are exchanged.
    • 12. Are there any risks when deducting input tax, e.g. in cases of multiple submissions of invoices?

      Since 2011, the tax authorities have waived specific technical requirements in relation to the transmission of invoices, provided that the authenticity of the origin and the integrity of the content are guaranteed by internal control systems. This also applies to the input tax deduction associated with these invoices.

      The fears of a double sales tax liability for invoices sent in paper and electronic form have already been dispelled by a letter from the Federal Ministry of Finance dated 2 July 2012. Even if multiple copies of the same invoice with identical content are sent without duplicate or copy labelling, the supplier is not liable for VAT more than once.

      It is important to note that the authenticity of the origin, the integrity of the content and the legibility of the invoice must be guaranteed by an internal control procedure, unless a qualified electronic signature is used or the invoice is transmitted via electronic data interchange (EDI).

      Every entrepreneur is free to decide how to ensure the authenticity of the origin, the integrity of the content and the legibility of the invoice, e.g. an internal control procedure can be used to create a reliable audit trail between the invoice and the service.

    • 13. Can currently used formats such as iDoc, EDIFACT, X12, VDA or ODETTE still be used?

      Existing formats can continue to be used as long as they correspond to the structured electronic format of an electronic invoice in accordance with Section 14 (1) sentence 6 UStG:

      "The structured electronic format of an electronic invoice

      1.     is required to comply with the European standard for electronic invoicing and the list of corresponding syntaxes in accordance with Directive 2014/55/EU of the European Parliament and of the Council of 16 April 2014 on electronic invoicing in public procurement (OJ L 133, 6.5.2014, p. 1) or

      2.     can be agreed between the invoice issuer and the invoice recipient. The prerequisite is that the format enables the correct and complete extraction of the information required under this Act from the electronic invoice into a format that corresponds to the standard under number 1 or is interoperable with it."

      Which formats are interoperable can be determined from a technical point of view: It must contain all mandatory fields specified by the CEN standard and be convertible into a format that conforms to the CEN standard. If the aforementioned EDI formats iDoc, EDIFACT, X12, VDA or ODETTE are supplemented by any missing mandatory data, interoperability should be available.

    • 14. Where can I find the requirements of CEN standard EN 16931?

      The European standard on E-Invoicing (EN 16931) can be viewed on the official website of the European Commission:
      https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Obtaining+a+copy+of+the+European+standard+on+eInvoicing

    • 15. Which formats are compatible with the CEN standard EN 16931?

      There are various formats that fulfil the requirements of the semantic data model of the European standard EN 16931. This data model was specified for the syntaxes UBL 2.1 (Universal Business Language) and CII D16B (Cross Industry Invoice). The member states can introduce their own standards or concretisation of the standard (so-called CIUS) on the basis of this standard or even extend it. Accordingly, there are several standards throughout Europe that fulfil the requirements of the standard. In Germany, the most commonly used formats are XRechnung and ZUGFeRD

    • 16. How can I determine whether the format I am using is interoperable with the CEN standard?

      A format is considered interoperable if the information required under VAT law can be converted into a format that complies with CEN standard EN 16931 without any loss of information. A technical check can help to identify missing mandatory data.

    • 17. How can specific information or industry-specific data that exceeds the requirements of the CEN standard EN 16931 be included in my invoice?

      The respective responsible organisations deal with the further development of the CEN standard EN 16931 as well as national adaptations of the standard (so-called CIUS) or extensions. Comarch is actively involved in the design of e-invoicing specifications across countries and is also involved in the further development of e-invoicing standards in the B2B context in Germany.

      If you find that certain information or validations are not currently covered by the standard, please do not hesitate to contact us. We will bring such requirements to the relevant working groups. Please note, however, that changes to the standard are typically associated with a longer implementation period due to fixed release cycles and extensive coordination and approval processes with all EU member states.

    • 18. What happens if the PDF part of ZUGFeRD contains different information than the structured part?

      It has been officially announced that the structured part of a ZUGFeRD invoice has priority over the non-structured PDF part. In case of doubt, the structured part will always apply. It therefore makes sense to use only the structured part of the invoice for posting and archiving purposes.

    • 19. How can a small company make structured (machine-readable) files human-readable?

      Common browsers or text editors can be used to make structured files readable. There are also special software tools that enable a user-friendly display, just as a corresponding programme is required to display PDF files.

    • 20. Is there a centralized government platform for the exchange of structured invoices?

      There is no centralized government platform for the exchange of structured invoices. Business partners are free to choose which transmission channel they wish to use. The exchange of structured invoices attached to an email or the use of web portals is also possible.

    • 21. Which invoice types are not covered by the e-invoicing obligation?

      The e-invoicing obligation applies to domestic B2B transactions. B2C transactions and most VAT-exempt transactions are currently not affected by the obligation. Small amount invoices (below EUR 250) and transport tickets are also exempt from the mandate.

    • 22. What happens if I am not legally compliant?

      No penalties are currently planned. However, an invoice that is not issued in accordance with the regulations may result in no input tax deduction being granted in accordance with Section 15 (1) sentence 1 no. 1 of the German Value Added Tax Act (UStG). In addition, conflicts may arise between business partners, for example with regard to payment and possible reminders.

    • 23. Why is electronic invoicing mandatory in Germany – and what comes next?

      The e-invoicing obligation in Germany is part of a larger EU project: The ViDA initiative aims to modernize the European Union’s value-added tax system. It is therefore planned that in the future electronic invoices will be reported to an IT system of the government of the individual states for the purpose of tax audits. The EU countries will probably in turn have to report their collected data to an EU system.

    • 24. How do I implement the legal requirements for e-invoicing?

      Get an overview of the roadmap for the smooth introduction of e-invoicing in Germany and receive practical tips on how to implement e-invoicing in a legally compliant and efficient manner and integrate it into your existing processes.

      Discuss your requirements with our legal and consulting team now and fully utilize the potential of e-invoicing.

    • 25. Can sending e-invoices via EDI make it possible to completely dispense with paper invoices?

      Yes, in most European countries, it is legally permitted to replace paper invoices with electronic invoices, especially if these are sent via EDI systems. The EU Directive 2010/45/EU supports this transition, and many countries have adapted their legislation accordingly. In Germany, paper invoices will in the future be classed as “other invoices” and will gradually no longer be permitted for exchange.

    • 26. Why is e-invoicing so heavily regulated by the legislator?

      E-invoicing is heavily regulated by law, as it enables invoices to be checked in real time for compliance with tax regulations. This helps to combat tax fraud and close the VAT gap. Countries with high financial requirements or high tax evasion tend to introduce stricter e-invoicing regulations.

    • 27. What are the requirements of EU Directive 2014/55/EU for electronic invoicing?

      EU Directive 2014/55/EU obliges public contracting authorities in the EU to be able to receive and process electronic invoices. It defines a uniform standard for e-invoices in order to improve interoperability and efficiency in public procurement.

    • 28. Do e-invoices have to be archived in electronic form?

      Yes, if a company switches to electronic invoices, it is legally obliged to archive them in electronic form. This ensures traceability and compliance with tax retention obligations. The required storage period for archiving these documents is 8 years.

    • 29. Is Comarch E-Invoicing suitable as a global solution for multinational companies?

      Yes, Comarch E-Invoicing is designed for multinational companies and supports compliance with international e-invoicing regulations. The solution enables the digital exchange of invoices with authorities (B2G), companies (B2B) and customers (B2C) worldwide and ensures compliance with local legal requirements.

    Our Clients

    How Can We Help? 💬

    Compliance issues? Supply chain trouble? Integration challenges? Let’s chat.

    Schedule a discovery call