INVOICES AND E-INVOICING
ZUGFeRD vs XRechnung: tell them apart, read the invoice, pay it safely
Tuesday morning in the office of a small joinery: the timber supplier from Bavaria sends its invoice as an XML file for the first time. Double click, and a page full of code opens. Your boss asks whether this is even an invoice and whether you can pay it. A week later a customer asks: ZUGFeRD vs XRechnung, which one should they send you?

If nobody can place the format, the invoice tends to sit there. The early payment discount runs out, the supplier sends a reminder, and later your accountant asks where the original file is. Yet the difference is quick to explain.
This page shows how ZUGFeRD and XRechnung differ, how to tell in two minutes what is in your inbox, how to check the invoice before you pay and which format to send yourself. You do not need any new software for it.
Quick answer: ZUGFeRD vs XRechnung
Both are e-invoices under the European standard EN 16931 and carry the same invoice data in a fixed structure. XRechnung is a plain XML file, made for software, with no view for people. ZUGFeRD is a PDF file (PDF/A-3) with the same data embedded as XML: people read the PDF, software reads the data. German federal authorities usually receive XRechnung, while ZUGFeRD is common between businesses because anyone can read the invoice without extra software.
- Look at the file extension
An .xml file is usually an XRechnung. A .pdf is either ZUGFeRD or an ordinary PDF invoice.
- Make it readable
Drop the file into the free e-invoice viewer. It shows amount, due date, IBAN and line items like a paper invoice.
- Check format and profile
The tool names the standard, for example XRechnung 3.0 or ZUGFeRD BASIC WL. In Germany the MINIMUM and BASIC WL profiles do not count as e-invoices.
- Keep the original
Approval and payment work from the readable copy, the original file is what you keep on record.
Why XML files are suddenly landing in your inbox
The change comes from Germany: since 1 January 2025, businesses there have had to be able to accept e-invoices from other domestic businesses, and issuing them becomes mandatory in stages until the end of 2027 (section 27(38) of the German VAT Act). What this means for your business is covered in e-invoicing mandate Germany 2027. Many invoicing programs are switching to XRechnung or ZUGFeRD as a result and send the new format to every customer, including those in Austria.
The German mandate only applies when supplier and customer are both established in Germany (section 14(2) of the German VAT Act). A business in Lower Austria does not have to ask for an XRechnung from Bavaria, but may get one anyway. As of November 2026, Austria has no general obligation to use structured e-invoices between businesses. A PDF sent by email is a valid electronic invoice there if the recipient agrees.
The difference: one file for software, one for both
At first glance the two formats look worlds apart: code on one side, a normal invoice on the other. In substance they are closely related. Both follow EN 16931, and ZUGFeRD uses the same syntax for its XML as one of the two XRechnung variants (UN/CEFACT CII).
| Feature | XRechnung | ZUGFeRD |
|---|---|---|
| File | Plain XML file | PDF/A-3 with an embedded XML file |
| Readable by people | Only with a viewer | Yes, the PDF looks like a normal invoice |
| Maintained by | KoSIT on behalf of Germany's IT Planning Council | FeRD, jointly with France as Factur-X |
| Data syntax | UBL 2.1 or UN/CEFACT CII | UN/CEFACT CII |
| Variants | One version with German extra rules, such as the routing ID (Leitweg-ID) for authorities | Profiles MINIMUM, BASIC WL, BASIC, EN 16931, EXTENDED and XRECHNUNG |
| Typical use | Invoices to German authorities | Invoices between businesses |
One point matters with ZUGFeRD: for the tax office, the structured XML part is what counts. If the PDF and the XML differ, the German Federal Ministry of Finance treats the XML as the invoice. If you only look at the PDF, you may be checking the wrong version.
The profiles are the second difference. MINIMUM and BASIC WL contain header data only, without individual line items, and according to the Federal Ministry of Finance they do not meet the requirements for an e-invoice. From the BASIC profile upwards, meaning BASIC, EN 16931, EXTENDED and XRECHNUNG, ZUGFeRD from version 2.0.1 is an e-invoice under German law. ZUGFeRD and Factur-X are technically identical, both names refer to the same format.

How to tell what you have received
In your inbox, every e-invoice looks equally unremarkable. These are the three cases you will see:
- The attachment ends in .xml: almost always an XRechnung, less often another EN 16931 e-invoice in UBL format or, from Austria, an ebInterface invoice. Open the file in a text editor: an XRechnung shows an identifier near the top with the word xrechnung and the version, such as xrechnung_3.0.
- The attachment ends in .pdf and contains an embedded file: ZUGFeRD. Many PDF programs show embedded files behind a paperclip icon or an "Attachments" panel. The XML is often called factur-x.xml or zugferd-invoice.xml.
- The attachment ends in .pdf with no embedded file: an ordinary PDF invoice. In Austria it remains a valid invoice if the recipient agrees. In Germany it is not an e-invoice, and between domestic businesses it is only allowed during the transition periods.
It is quicker with the free e-invoice viewer: drop in the file and the tool tells you what it is. It reads XRechnung in both syntaxes, ZUGFeRD including the old version 1.0, PEPPOL invoices and the Austrian ebInterface, names the standard and profile, and tells you when a PDF has no invoice data embedded. The file never leaves your computer.
Read and check an XRechnung before you pay
Worrying about paying an invoice wrongly or too late is reasonable with a new format. These five steps let you check an e-invoice as thoroughly as a paper one:
- Open the file
Drop the XML or PDF into the tool. You see sender, invoice number, date, line items and totals.
- Let it recalculate the totals
The tool recalculates lines, VAT, gross amount and amount due, and flags anything that does not add up.
- Check the IBAN
The IBAN check digit is verified. No check digit tells you whether the account really belongs to the supplier: if the IBAN differs from the last invoice, call the number you already know.
- Read due date and discount
If the XRechnung contains an early payment discount in the format the standard provides, the tool shows the reduced amount and the last day to pay.
- Print a readable copy for approval
"Print or save as PDF" gives you a readable PDF for your boss or accountant. File the original unchanged.
| Item | In the tool | Your check |
|---|---|---|
| Format | XRechnung 3.0 | E-invoice, keep the original file |
| Totals | Lines, net and amount due add up | Compare with delivery note and order |
| VAT | 0%, both VAT IDs in the right format | Is your own VAT ID correct? |
| IBAN | Check digit valid | Same IBAN as on the last invoice? |
| Discount | 2% until day 10, €2,430.40 instead of €2,480.00 | Approve payment in time |
Which format you should send yourself
The second question usually comes from a customer: "Can you send us e-invoices?" The answer depends on who receives the invoice.
- German federal authority: XRechnung, with the authority's routing ID (Leitweg-ID) as a mandatory field, through the federal invoice portal. The federal administration accepts ZUGFeRD only in the XRECHNUNG profile and only as a plain XML file without the PDF view.
- Austrian federal government: since 1 January 2014 only structured e-invoices, submitted through USP.gv.at or PEPPOL. The portal e-Rechnung.gv.at lists ebInterface and UBL 2.1 as formats, and does not list ZUGFeRD or XRechnung.
- Businesses in Germany: ZUGFeRD in the EN 16931 profile or higher is a good choice. The customer can read the PDF and their software gets the data. If they explicitly ask for XRechnung, send XRechnung. Other formats are allowed if you agree them with the customer and all details can be fully extracted (section 14(1) of the German VAT Act).
- Businesses in Austria: a PDF is enough if the customer agrees. If you already send ZUGFeRD you lose nothing, because anyone can open the PDF as usual.
Common mistakes that cost money or input VAT
- Deleting the XML because there is a PDF. In Germany the structured part of an e-invoice must be kept in its original form for eight years (section 14b of the German VAT Act). In Austria the period is seven years, and authenticity, integrity and legibility must be ensured throughout.
- Checking only the PDF of a ZUGFeRD invoice. If they differ, the XML counts. Paying the amount from the PDF may mean paying the wrong one.
- Filing MINIMUM or BASIC WL as an e-invoice. If the tool shows no line items and names ZUGFeRD MINIMUM or BASIC WL as the standard, ask the supplier for an invoice in the EN 16931 profile.
- Trusting the check digit blindly. A valid IBAN can still belong to a fraudster. Always confirm changed bank details by phone, using the number you already know.
- Forgetting the routing ID. Without the Leitweg-ID, the German federal administration rejects an XRechnung. You get it from the authority that placed the order.
Limits: what a viewer does not replace
A viewer makes an e-invoice readable and checks the key details. It does not replace a full technical validation against every rule of the standard, it does not book and it does not archive. A full validation of an XRechnung is done, for example, by the freely available KoSIT validator.
With a few invoices a month that is no problem. Retyping is what gets expensive: an example with 15 e-invoices a month and 6 minutes each to open, check and transfer them into the accounting program comes to 1.5 hours a month, or 18 hours a year. At an internal hourly rate of €38 including overheads, that is €684 a year. Run your own numbers in the office work cost calculator.
When e-invoices arrive every week: read and hand them over automatically
This format is where retyping makes the least sense: an e-invoice already holds all the data in structured form, it only has to reach the right place. An office helper collects XRechnung, ZUGFeRD and PDF invoices from the agreed inbox, reads them, checks totals and bank details and hands them to BMD, DATEV or your invoice register. Your team approves, the original file is filed, and nobody has to learn a new program. More on the page automate incoming invoices.
Are invoices already reaching you in three formats, PDF, ZUGFeRD and XML? Describe your invoice intake briefly in the workflow check. You get a free assessment of which steps can be automated, with a personal reply within 1–2 working days. Small projects are delivered in 3–7 days once the use case is agreed, from €1,990 excl. VAT.
