Since 1 January 2025, every business established in Germany must be able to receive e-invoices from other businesses. An email inbox is enough for that. The bigger gain lies elsewhere: an e-invoice contains all data in machine-readable form, so a workflow can check, approve and post it without retyping.
This article explains what the German e-invoicing mandate requires and how XRechnung and ZUGFeRD differ. It also shows the full path from the inbox to DATEV or Lexware Office, the two accounting systems most German SMBs use. It ends with a step-by-step plan for companies with 10 to 200 employees.
What does the German e-invoice mandate require, and when?
The mandate comes in three stages. The legal basis is the German Growth Opportunities Act (Wachstumschancengesetz). It rewrote Section 14 of the German VAT Act (UStG) and added a transition rule in Section 27(38) UStG.
| From | Who | What |
|---|---|---|
| 1 Jan 2025 | all businesses established in Germany | must be able to receive e-invoices |
| 1 Jan 2027 | businesses with more than €800,000 turnover in the previous year | must issue e-invoices |
| 1 Jan 2028 | all businesses | must issue e-invoices |
For the 2027 stage, total turnover in 2026 counts. Businesses below this threshold may still send paper and PDF invoices until the end of 2027. Small invoices up to €250 and travel tickets stay exempt.
Since 2026, German trade and retail associations have asked to postpone the 2027 stage. As of November 2026, lawmakers have decided nothing. According to an answer in the German parliament, the federal government sees no need to postpone (DIP Bundestag, German). So plan with the dates in the table.
The German Federal Ministry of Finance (BMF) set out the details in three guidance letters: 15 October 2024, 15 October 2025 and 15 October 2026. The third letter does not change the deadlines. It adds relief, for example for partial invoices and for construction services (PwC blog, 10 Nov 2026, German).
Why is a PDF no longer an e-invoice?
An e-invoice is a structured data record that follows the European standard EN 16931. A PDF is only a picture of the invoice. A person can read it, but a program must first decode it with text recognition (OCR).
Since 2025, German tax law treats a PDF as an "other invoice". From the 2027 and 2028 stages, it is no longer enough for invoices between businesses in Germany. A scanned paper invoice also stays an "other invoice".
The BMF letter of 15 October 2025 also settles an important case. In hybrid formats such as ZUGFeRD, the XML part takes precedence. If the PDF and the XML disagree, the XML applies (KPMG, 11/2025, German). So your workflow must read the data from the XML, not from the PDF image.
XRechnung or ZUGFeRD: what is the difference?
Both formats meet the EN 16931 standard. They differ in the form in which the data arrives.
| XRechnung | ZUGFeRD |
|---|---|
| Form | pure XML file |
| Readable by people | only with a viewer |
| Origin | German public administration |
| Typical sender | public authorities, larger companies |
| Valid as an e-invoice | yes |
The MINIMUM and BASIC WL profiles contain too little data. A ZUGFeRD PDF with these profiles is therefore not an e-invoice. EDI procedures that meet the standard are also allowed. But for most SMBs, XRechnung and ZUGFeRD arrive by email.
For your workflow, this means: it must recognise both formats. For ZUGFeRD, it extracts the XML file from the PDF. For XRechnung, it reads the XML file directly.
How does automatic receipt work?
The path has five stations. Each station is one clear step with one clear result.
[Invoice inbox]
↓
[1. Detect the input: XML, ZUGFeRD PDF or plain PDF?]
↓
[2. Validate: format correct? Mandatory data complete?]
↓
[3. Check the content: order, delivery note, supplier, bank details]
↓
[4. Approve: automatically or by the responsible person]
↓
[5. Hand over to DATEV or Lexware Office, archive the original]
1. Detect the input
Set up one fixed address, for example invoices@your-company.com. A workflow in n8n or Make (tools that connect programs without custom code) reads this inbox. It checks the type of each attachment. XML files and ZUGFeRD PDFs go into the automatic path. Plain PDFs go into a separate path with text recognition.
2. Validate
Validation checks whether the file is technically a valid e-invoice. For XRechnung, the official validator from KoSIT (the German Coordination Office for IT Standards) is free software. For ZUGFeRD, there are free libraries such as Mustang. The validator reports two types of errors:
- Format errors: the XML structure is broken or does not match the schema. According to the BMF, the file is then not an e-invoice.
- Business rule errors: the structure is correct, but a rule of the standard is broken. According to the third BMF letter, this does not automatically make the file invalid.
If validation fails, the workflow sends a query to the supplier. Nobody has to retype anything.
3. Check the content
A valid file can still be a wrong invoice. So the workflow compares the data with your systems. It checks the order number, the quantities from the delivery note and the prices from the order. This comparison is called a three-way match. The article on invoice verification explains the details.
Also check the bank details against the supplier's master data. A changed IBAN is a typical sign of fraud with a fake invoice.
4. Approve
If all checks pass and the amount is below a limit, the workflow approves the invoice on its own. If there are deviations or high amounts, it sends a message to the responsible person. This person sees the deviation, clicks "Approve" or "Clarify", and is done.
5. Hand over and archive
The workflow hands the data over to your accounting. In DATEV, this runs through DATEV Unternehmen online. In Lexware Office (formerly lexoffice), it runs through the public API. The workflow stores the original XML unchanged in the archive. Under the GoBD (the German principles for proper bookkeeping), the electronic file counts as the original, not a printout.
8 years
retention period in Germany for accounting records such as invoices since the Fourth Bureaucracy Relief Act. Before, it was 10 years.
Source Fourth Bureaucracy Relief Act (BEG IV), Section 147 German Fiscal Code (AO) and Section 14b UStG, in force since 1 Jan 2025
What does automation deliver in numbers?
The benefit depends on the number of invoices and on the share that runs through without manual work. The model calculation below shows the order of magnitude for a company with 300 incoming invoices per month.
Working time for 300 incoming invoices per month (hours)
Model
- manual
- automated
| manual | automated | |
|---|---|---|
| Capture and retype | 25 h | 0 h |
| Check against order | 15 h | 3 h |
| Get approval | 10 h | 2 h |
| Filing and archive | 5 h | 0 h |
Model Schematic illustration — not measured customer data.
The assumptions per invoice by hand: 5 minutes to capture, 3 minutes to check, 2 minutes for approval and 1 minute to file. With automation, only the cases with deviations remain. Run the numbers with your own values before you decide. The article on process automation costs shows the method.
What goes wrong during the switch?
Most errors do not come from the technology, but from the process around it. I see these five most often:
- The XML ends up in the bin. Staff open the ZUGFeRD PDF, print it and delete the email. The original for the archive is then gone.
- Nobody reads the XRechnung. A pure XML file looks like data garbage in an email program. Without a viewer, it sits there until the supplier sends a reminder.
- The PDF and the XML do not match. The workflow posts the amount from the PDF. But for tax purposes, the XML applies.
- Invoices arrive through many channels. Some arrive in personal inboxes, some at info@. The workflow sees only a fraction of them.
- Approval stays an email chain. The data is digital, but approval still runs through "Can you take a look?". The bottleneck then stays where it was.
How do you proceed step by step?
Go in five steps. Each step delivers value on its own.
- Set one central address for incoming invoices.
- Send this address to all suppliers and add it to your purchase orders.
- For four weeks, count which formats arrive: XRechnung, ZUGFeRD, PDF, paper.
- Build the path for XRechnung and ZUGFeRD first, because this data is already structured.
- Then add the OCR path for the remaining PDFs.
Before you build, remove every step that no longer has a purpose. An example: if the workflow checks the order, accounting does not need a second stamp from purchasing. The article on the limits of automation explains this order in more detail.
Where does your process get stuck today?
Before you compare tools, look at your own process. The free self-check asks 13 questions and takes about 5 minutes. You see a short result right away, showing where the biggest disruptions in your process sit.
Frequently Asked Questions
Do I have to be able to receive e-invoices already?
Yes, if your business is established in Germany. Since 1 January 2025, all businesses in Germany must accept e-invoices from other businesses. An email inbox is enough for that. You may not reject an e-invoice and ask for paper instead.
Is it enough to save the e-invoice as a PDF?
No. The original is the XML file or the ZUGFeRD PDF with the embedded XML file. You must keep this original unchanged and machine-readable for 8 years. A printout or a screenshot does not replace it.
How do I open an XRechnung?
You need a viewer that turns the XML file into a readable view. Many accounting programs have a built-in viewer, for example DATEV and Lexware Office. Free viewers also exist. With automatic processing, the workflow reads the data directly, and you need the viewer only for queries.
Will the 2027 e-invoice mandate in Germany be postponed?
As of November 2026, no. Associations ask for a postponement, but lawmakers have decided nothing. The third BMF letter of 15 October 2026 confirms the 2027 and 2028 stages and adds only relief in the details.
Do I need expensive software to receive e-invoices?
No. For receipt alone, an inbox is enough. For automatic processing, you need a validator, a workflow and a connection to your accounting system. The KoSIT validator is free software, and workflow tools such as n8n can run on your own server.
What happens if an e-invoice contains errors?
That depends on the type of error. With a format error, the file is not an e-invoice, and your input VAT deduction is at risk. In that case, ask the supplier for a corrected invoice. With business rule errors, the file stays an e-invoice according to the BMF, but you should still clarify the error.