# XRechnung or ZUGFeRD: which format for which client?

URL: https://valtor.io/en/xrechnung-vs-zugferd
Language: en
Last updated: 2026-11-10

Both formats are e-invoices under the European standard EN 16931. XRechnung is plain XML and the format for public-sector buyers; ZUGFeRD is a PDF with embedded XML and suits business clients who also want to read the invoice.

## What is the difference between XRechnung and ZUGFeRD?

|  | XRechnung | ZUGFeRD |
| --- | --- | --- |
| Structure | XML only | PDF with embedded XML |
| Readable without a program | No | Yes, as a PDF |
| Typical recipient | Public-sector buyers, Peppol recipients | Businesses that want a PDF and data processing together |
| Particularity | Leitweg-ID as buyer reference | The profile must carry the mandatory details (not MINIMUM or BASIC-WL) |

Under § 14 (1) UStG an e-invoice is an invoice in a structured electronic format that allows automatic, electronic processing and complies with the European standard EN 16931. A PDF alone does not qualify. Two formats are common in Germany.

XRechnung is only an XML data set. It has no printed image; to read it you need a program that displays the file. It is the German flavour of the standard (a “CIUS”), maintained by the Coordination Office for IT Standards (KoSIT), and the standard for invoices to the public sector.

ZUGFeRD is a PDF with the same data set embedded as XML. The eye sees a familiar PDF, the recipient's accounting reads the data. Under the Federal Ministry of Finance's letter on e-invoicing, ZUGFeRD counts as an e-invoice from version 2.0.1, except for the profiles MINIMUM and BASIC-WL, which lack some mandatory details.

## Which ZUGFeRD profiles count as an e-invoice?

| Profile | Counts as e-invoice? | Note |
| --- | --- | --- |
| MINIMUM | No | Header data only, mandatory details missing |
| BASIC-WL | No | Without invoice lines |
| BASIC | Yes | With lines, for simple invoices |
| EN 16931 | Yes | Fully matches the standard, the usual choice |
| EXTENDED | In individual cases | Only if the extra fields do not breach the standard; agree with the recipient |

ZUGFeRD has profiles that set how many fields the embedded data set carries. The smaller the profile, the fewer details it holds. For invoices to businesses the profiles from BASIC upward are what counts; the small profiles are meant for cases where the invoice exists in another form already.

The version counts as well: ZUGFeRD 1.0 and the first releases of the 2 series before 2.0.1 are not an e-invoice in the sense of the law. A system that promises you “ZUGFeRD” should therefore state version and profile.

## Which client needs which format?

- Federal, state and local authorities: XRechnung with the buyer's Leitweg-ID as buyer reference. Without it the invoice cannot be routed. Which further formats a state or municipality accepts is set by its own rules; see the guide [Invoicing the public sector](https://valtor.io/en/invoicing-public-sector-germany).
- Clients that receive e-invoices over the Peppol network: XRechnung or another Peppol format, addressed by the client's Peppol ID ([Peppol and e-invoicing](https://valtor.io/en/integrations/peppol-e-invoicing)).
- Other business clients: both formats work if the recipient can process them. Since 1 January 2025 every domestic business must be able to receive e-invoices; if in doubt, ask which format the client's accounting prefers.
- Clients abroad: the duty under § 14 UStG concerns domestic B2B sales. Other countries have their own rules; ask.

A rule of thumb that holds up: whoever asks for nothing else gets ZUGFeRD, because it reads like the PDF they know. Whoever you invoice at an authority or over Peppol gets XRechnung. The dates from which you need a structured format at all are in the guide [E-invoicing in Germany](https://valtor.io/en/e-invoicing-germany).

## How do you find the right route to the recipient?

1. Ask the client whether it has a Leitweg-ID. Authorities and public bodies do; it consists of two to twelve digits, an optional part and two check digits. More in the glossary entry [Leitweg-ID](https://valtor.io/en/glossary/leitweg-id).
2. Otherwise ask for the Peppol ID. It is a four-digit scheme and an identifier separated by a colon, for example 0088 for a GLN or 9930 for the German VAT ID.
3. If the client has neither, ask for the email address at which its accounting accepts invoices, and for the format it wants.
4. Record the detail once on the client, not on every invoice again.
5. Send the first invoice and have the client confirm it was processed.

## What must be in the data, not just on the printed page?

- Name and address of issuer and recipient, and the issuer's tax number or VAT ID.
- A consecutive, unique invoice number and the issue date (see [Consecutive invoice numbers](https://valtor.io/en/consecutive-invoice-number)).
- Quantity and kind of the service, and the time or period of the service.
- The fee, the tax rate and the tax amount, or the note on a VAT exemption or on the recipient's liability for the tax.
- For public-sector buyers, additionally the Leitweg-ID as buyer reference.

With an e-invoice the structured part counts. With ZUGFeRD the embedded XML data set governs, not the PDF image: if the two differ, the administration treats the data set as binding. The mandatory details under § 14 (4) UStG must therefore be in the data, and XRechnung adds details that the statute does not know, because the German flavour of the standard is stricter: a buyer reference (BT-10), a contact for the seller and payment information. If one is missing, the check against the XRechnung business rules fails even where § 14 UStG would be met.

## How is VAT shown in the data?

| Category | Meaning | Typical case |
| --- | --- | --- |
| S | Standard rate | Domestic service at 19% |
| AE | Tax due from the recipient | Service to a business in another EU country, see [Reverse charge for EU clients](/en/reverse-charge-eu-invoice) |
| E | Exempt | Exemption whose reason is stated on the invoice |
| Z | Zero rate | Rare in Germany |
| O | Not subject to tax | Outside the scope; cannot sit beside other categories |

In an e-invoice the VAT treatment appears as a category code for each line and each tax amount. The client's system posts by that code, not by the text. The category must fit the case, or the check rejects the file.

## How is an e-invoice checked before it arrives?

An e-invoice passes two checks. First the syntax: is the XML well-formed and does it match the schema of the standard? Then the business rules: do the totals add up, is every mandatory field filled, does the tax category fit the amount? Free validators exist for this, such as the one from KoSIT. Recipients on the Peppol side check too, and their system rejects a file that fails before a person ever sees it.

So check before sending if you can, not when the client writes back. A rejected file delays payment by the time the fix takes and leaves you with an invoice you must replace under the [guide to correcting an invoice](https://valtor.io/en/invoice-correction-germany).

## Which mistakes make a recipient reject the invoice?

- The Leitweg-ID is missing or wrong: the invoice does not find its recipient inside the authority.
- The client's purchase order number is missing although it asks for it, so its accounts payable cannot match the invoice.
- The service period appears only in an attachment or in the PDF image, not in the data fields.
- A tax exemption or the recipient's liability for the tax is shown without the prescribed note.
- A PDF without a data set was sent although the client expects an e-invoice.
- A ZUGFeRD profile that is too small was chosen, such as MINIMUM; the file is then not an e-invoice.

A recipient can send a faulty invoice back for correction. For the client, input-tax deduction under § 15 (1) no. 1 UStG ultimately depends on a proper invoice; an error in the mandatory details makes a correction necessary before it can deduct with confidence. A check before sending that all mandatory fields are filled is therefore the cheapest step.

## How does Valtor handle the formats?

Valtor generates each invoice from approved contract terms and issues it through its e-invoicing provider, a Peppol access point. The provider renders every PDF and every XRechnung; Valtor itself renders no legal document. ZUGFeRD is the default. A client reached by Leitweg-ID or Peppol ID gets XRechnung, because Peppol carries only XML.

The format is stored on the customer and not worked out at the moment of sending. If you choose another format for a customer with a Leitweg-ID or Peppol ID, Valtor refuses it. The Leitweg-ID goes into the invoice as buyer reference; if the customer has none, Valtor uses the customer's purchase order number and otherwise the reference the customer wants on every invoice.

Before an invoice is sent, Valtor checks that the connection to the provider has proven the customer's format in an acceptance test; otherwise the invoice stays put. The provider returns the files it generated, and Valtor compares their business details with the approved invoice; a file that does not match blocks delivery to the customer. An invoice with something mandatory missing is held before approval and says what is missing. As always, a person approves and sends the invoice itself.

## Worked example: the same invoice, two clients

A retainer of €4,800 net for November 2026 goes to two clients. The amounts in the data are identical; only format and references differ.

| Position | Betrag / Amount |
| --- | --- |
| Net amount, retainer November 2026 (BT-109) | €4,800.00 |
| VAT 19% (BT-110) | €912.00 |
| **Invoice total, gross** | **€5,712.00** |

Client A, a state authority, receives XRechnung with its Leitweg-ID in BT-10. Client B, a company, receives ZUGFeRD; the service period 1–30 November 2026 sits in BT-73 and BT-74 in both cases. The BT numbers name the data fields of EN 16931. The check: 19% of €4,800 is €912, and €4,800 plus €912 gives €5,712.

## How Valtor handles this

The format follows the recipient; Valtor puts it into effect.

Valtor does:
- Issues each invoice through the invoicing provider, ZUGFeRD being the default
- Sends XRechnung to clients with a Leitweg-ID or Peppol ID and refuses another format for them
- Passes the Leitweg-ID as buyer reference, otherwise the customer's order number, and the Peppol ID as address to the provider
- Sends only when the connection to the provider has proven the customer's format, and compares the delivered files with the invoice
- Holds back an invoice when something mandatory is missing, and says what is missing

You decide:
- You record the Leitweg-ID or Peppol ID on the customer once
- You approve and send every invoice

Calendar from the contract, e-invoicing, approval and sending kept apart. [See Valtor Billing](https://valtor.io/en/product/billing)

### Is ZUGFeRD a real e-invoice?

Yes, if it is at least version 2.0.1 and not just in the MINIMUM or BASIC-WL profile. The embedded data set is the binding part.

### Must I send XRechnung to public-sector buyers?

As a rule yes, with the Leitweg-ID as buyer reference. Which further formats an individual authority accepts is set in its own rules.

### Is a PDF by email still enough?

For domestic B2B sales a transition period applies that runs to the end of 2026 or the end of 2027 depending on prior-year turnover; after that an e-invoice must be issued. The guide on the e-invoicing mandate lists the dates.

### Can I let the client choose the format?

Yes, if the client can process both formats. Record the choice on the client so it stays the same for every invoice. Clients with a Leitweg-ID or Peppol ID always get XRechnung.

### What applies if the data set and the PDF image differ?

For ZUGFeRD the administration treats the embedded data set as binding. Never change only the PDF afterwards.

### Do I need a separate program to read XRechnung?

Yes, because the file has no printed image. Many accounting programs display it, and free viewers exist. If your client wants to read the invoice, ZUGFeRD is the more convenient choice.

### Must I state a Leitweg-ID for a private-sector client?

No. It is the address of public-sector buyers. A private client may give you its Peppol ID or a purchase order number as a reference instead.

This guide is general information, not tax advice. Please ask your tax advisor about your own case.
