Creating e-invoices in Germany means generating EN 16931-compliant invoice data in XRechnung or ZUGFeRD format so invoices can be validated, exchanged, and archived correctly. Businesses must choose the right format, capture mandatory fields, and use compliant tools or integrated systems.
Key takeaways
- Germany requires businesses to receive structured e-invoices from 2025, with phased issuance obligations starting in 2027 and expanding in 2028.
- XRechnung is XML-only and mainly used for public authorities, while ZUGFeRD combines PDF/A-3 with embedded XML for broader business use.
- A plain PDF is not a compliant e-invoice; mandatory seller, buyer, tax, item, and total data must be structured properly.
- Validation is essential before sending, because missing fields, wrong formats, or incorrect tax calculations can trigger invoice rejection.
- Low invoice volumes are usually handled with web tools or accounting software, while high volumes need ERP integration, automation, and batch workflows.
An e-invoice is a structured, machine-readable XML invoice in XRechnung or ZUGFeRD format that complies with the European EN 16931 standard. It contains all mandatory information as defined data elements and enables automatic validation, posting, and archiving.
Germany’s e-invoicing mandate is reshaping how businesses issue and receive invoices. Since 1 January 2025, all businesses established in Germany must be able to receive structured electronic invoices. The obligation to issue e-invoices will apply in phases, starting in 2027 for businesses with annual turnover above EUR 800,000 and extending to all businesses from 2028.
An e-invoice in Germany is not just a PDF sent by email. It must be a structured, machine-readable invoice that complies with EN 16931 and contains all mandatory invoice data in XML format.
Basic requirements:
Accepted formats:
ZUGFeRD, which stands for Central User Guide Forum Electronic Invoice Germany, is a hybrid e-invoicing format developed by the Forum Electronic Invoice Germany, known as FeRD, and supported by the German Federal Ministry for Economic Affairs and Energy.
The format uniquely combines a human-readable PDF document in the PDF/A-3 standard with an embedded machine-readable XML file. This creates a single file that is suitable both for manual review and for automated processing by accounting and ERP systems.
A ZUGFeRD invoice consists of three integrated components:
XRechnung, where X stands for eXtended, is Germany’s official standardized XML-based e-invoicing format for business-to-government transactions.
It was developed by the Coordination Office for IT Standards, known as KoSIT, and is the mandatory format for all invoices sent to federal and state authorities.
Unlike the hybrid approach of ZUGFeRD, XRechnung consists solely of a pure XML file. It is fully machine-readable and specifically designed for automated invoicing processes in public procurement systems.
There are three main ways to create an e-invoice, and the right choice depends on invoice volume, technical resources, and how integrated the process needs to be. Smaller businesses usually prefer simple tools, while larger companies often need a more scalable setup.
Before creating any e-invoice, whether for a small business or a high-volume operation, certain technical and legal requirements apply in all cases. An e-invoice must contain complete and accurate mandatory information so that an EN 16931-compliant XML structure can be generated. Missing or incorrect information can lead to rejection.
Area | Requirement |
| Seller Data | Legal form and full company name as entered in the commercial register; complete business address including street, postal code, city, and country; valid VAT identification number in the format DE plus 9 to 10 digits; contact person and email address; IBAN or bank details |
| Buyer Data | Full company name or personal name; business address; VAT ID for EU transactions; Leitweg-ID for public authorities; contact person or email |
| Invoice Data | Unique, sequential invoice number; invoice date; service or delivery date; payment terms |
| Item Data | Description of each service or product; quantity; unit such as piece, hours, or kg; net price per unit; applicable VAT rate of 19 percent, 7 percent, or 0 percent; total amount per line item |
| Format Rules | The invoice must be generated as a structured XML file; a simple PDF is not sufficient |
| Validation Rules | All mandatory fields must be present; correct data types must be used, such as date in YYYY-MM-DD format; VAT must be calculated correctly; invoice number must be unique; Leitweg-ID must be included for government invoices |
| Validation Tools | ELSTER portal; OZG-RE; ZRE |
| Sending Rules | Email for B2B invoices; government portal submission via ZRE or OZG-RE for B2G invoices; PEPPOL for structured transmission; direct system integration through EDI or API where required |
| Archiving Obligations | Retention for 6 to 10 years; storage in the original format, XML or PDF/A-3 for ZUGFeRD; proof of sending date, delivery, and payment; chronological filing |
For companies with a low monthly invoice volume, usually under 50 invoices per month, manual creation through web-based tools or accounting software is often the most practical solution. In this case, full ERP integration is usually not economically necessary.
Several cost-effective solutions are available for small businesses- could be you existing accounting or billing software.
The process is similar with most providers:
Companies with more than 200 e-invoices per month should fully automate their processes. The goal is an end-to-end EN 16931-compliant order-to-cash process with integrated validation, transmission, and archiving.
| Solution | Suitable for | Integration level | Advantage | Complexity |
| ERP extension | Mid-sized businesses and corporations | High | Fully automated validation and archiving | High |
| Accounting software | SMEs | Medium | Fast implementation | Medium |
| Middleware | System environments with several tools | High | Connects existing systems | High |
| Manual solution | Under 50 invoices per month | Low | Low IT costs | High error potential |
Typical mistakes repeatedly occur when creating e-invoices and can lead to rejections or compliance risks.
Creating an e-invoice in ZUGFeRD and XRechnung follows the same starting point: you enter complete invoice data in an EN 16931-compliant tool or system. The main difference lies in how the final invoice file is generated and what buyer-specific requirements must be included.
Creation Aspect | ZUGFeRD | XRechnung |
|---|---|---|
| Output file | Creates a PDF/A-3 file with embedded XML | Creates a pure XML invoice file |
| Creation focus | Combines visual readability and machine-readable data | Focuses on structured XML data only |
| Typical buyer | Private business customers | German public authorities |
| Extra requirement | Usually no routing ID needed | Often requires a Leitweg-ID |
| Tool workflow | Enter data, choose ZUGFeRD, export PDF with XML | Enter data, choose XRechnung, export XML |
| Submission readiness | Easier for email-based B2B sending | Built for portal or system-based public submission |
The e-invoice is not merely an IT project, but a structural change in financial processes. Companies that adapt their invoicing early to valid EN 16931 structures reduce rejections, accelerate incoming payments, and minimize tax risks.
What is decisive is not only the correct format, but a continuous process consisting of data quality, validation, transmission, and GoBD-compliant archiving. Those who integrate these elements properly create not only compliance security, but also build a scalable order-to-cash process that can withstand future reporting and digital obligations.