E-Rechnungspflicht
  1. Home
  2. Receiving e-invoices
  3. ZUGFeRD Validator

Receiving e-invoices

ZUGFeRD Validator: How to Check a German E-Invoice and Read the Errors

ZUGFeRD and XRechnung validators: KoSIT validator 1.6.3, what format and business-rule errors mean under BMF letters, BR-DE codes. As of 3 December 2026

Updated: 3 December 2026 · By the E-Rechnungspflicht Editorial Team · How we check facts · Print this page

Summary

A ZUGFeRD validator checks the structured XML of a German e-invoice against its format and business rules, but no law requires you to run one; the BMF considers it sensible (BMF FAQ question 7, as of October 2026).

BMF is the Federal Ministry of Finance. Every business established in Germany has had to be able to receive an e-invoice (E-Rechnung) since 1 January 2025 (para. 62 of the BMF letter of 15 October 2024), so checking a received file is part of the German e-invoicing mandate.

What a validation report means for the invoice depends on the type of error. A format error turns the file into an "other invoice" (sonstige Rechnung).

A business-rule error without a format error leaves it in principle an e-invoice for VAT. A content error concerns the mandatory VAT details and can exist even when the validator reports nothing.

The sections below follow that order: the public tools and what they test, the three error types, the most common messages, what a recipient can rely on, and how to build the check into receiving and sending. They serve foreign suppliers, international finance teams and integrators who handle German files.

A German e-invoice check at a glance (as of 3 December 2026):

Item Statement Basis
Duty to validate None, but sensible BMF FAQ question 7
Validator recommended by the BMF None named BMF FAQ question 7
What a validator tests Format and business rules Para. 35a, BMF letter of 15 October 2024 as amended by the letter of 15 October 2025
What it does not test Correctness of the VAT details Para. 35a, same letter
File with a business-rule error but no format error In principle still an e-invoice for VAT Para. 23, BMF letter of 15 October 2026
File with a format error An "other invoice" Para. 6a, BMF letter of 15 October 2024 as amended by the letter of 15 October 2025
Non-objection E-invoices issued by 31 December 2026 Application rule, BMF letter of 15 October 2026
BMF letters Three: 15 October 2024, 15 October 2025, 15 October 2026 BMF

What a check of a German e-invoice covers

A check has two layers: technical validation shows whether the file meets the format and its business rules, and a content check shows whether the VAT details on the invoice are correct and complete.

A validator tests only format and business rules (para. 35a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025). Both layers belong to what every business must be able to do on receipt.

Technical validation: schema and Schematron

Technically, a validator first checks that the XML file matches the schema of its syntax. It then applies Schematron rules, a rule language for XML checks, for the EN 16931 business rules and, for an XRechnung, the German BR-DE rules.

The schema says which elements may appear; the rules test logical dependencies, such as whether a tax amount fits the tax rate.

Two syntaxes are in use, UBL 2.1 and UN/CEFACT CII D16B, and the CEN validation artefacts 1.3.17 (EUPL 1.2, 12 October 2026) cover both.

Under § 14(1) sentence 6 no. 1 of the German VAT Act (Umsatzsteuergesetz, UStG), an e-invoice follows EN 16931 and its syntaxes; no. 2 with sentence 7 admits an agreed format that allows correct and complete extraction. See the European standard behind every e-invoice.

Content check of the VAT details

A clean validation result does not replace the recipient's duty to check the invoice for completeness and correctness (para. 35a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025). The validator confirms that the file is technically consistent. Whether the details are right remains the recipient's question.

A wrong tax rate is a content error even without any validator message (para. 35a). All mandatory VAT details must sit in the structured part of the file; a reference to an attachment is not enough (BMF FAQ question 7a).

Validators compared: public tools and what they check

The public tools are the KoSIT validator with its XRechnung configuration, the Schematron rule sets of KoSIT and CEN, the open-source Mustangproject and Quba for ZUGFeRD files, and the report functions of the federal and Baden-Württemberg portals; the BMF recommends none of them (BMF FAQ question 7).

KoSIT is the German coordination office for IT standards. The table gives versions as of 3 December 2026; see how the BMF letters treat error types.

Tool Maker What it checks Version and date (as of 3 December 2026) Licence
KoSIT validator KoSIT XML engine with schema and Schematron; needs a scenario configuration 1.6.3, 20 August 2026 Apache-2.0
Configuration XRechnung KoSIT XRechnung 3.0 with CEN rules 1.3.16 v2026-08-31, published 2 September 2026 Not stated here
XRechnung Schematron KoSIT German BR-DE rules 2.6.0, 2 September 2026 Not stated here
CEN validation artefacts CEN EN 16931 rules for UBL 2.1 and CII D16B 1.3.17, 12 October 2026 EUPL 1.2
Mustangproject Open-source project ZUGFeRD 2, Factur-X, ZUGFeRD 1, XRechnung 2.26.0, 25 August 2026 APL2
Quba Open-source project Offline validation, based on Mustangproject 2.0, 15 October 2026 Open source
OZG-RE report Federal government Formal errors, shown before sending Not versioned Not applicable
Baden-Württemberg validator Land service Formal validation of an XRechnung Not versioned Not applicable

The table is not a ranking and not a recommendation. Programs that validate inside the invoicing workflow appear in our independent overview of e-invoicing software.

The KoSIT validator and its XRechnung configuration

The KoSIT validator is an XML check engine without rules of its own: a scenario configuration decides what it tests. For XRechnung that is configuration v2026-08-31 with CEN Schematron rules 1.3.16 (as of 3 December 2026). The previous configuration, 2026-01-31, carried CEN 1.3.15 and ran on validator 1.6.0.

Validator version 1.6.3 dates from 20 August 2026. It always writes an XML report, and the option -D starts it as an HTTP daemon, so other programs can send files to it.

The configuration tests XRechnung 3.0, which is valid at least until 31 July 2027. Version 4.0 exists only as a pre-release of 15 September 2026. CEN published artefacts 1.3.17 on 12 October 2026 while the configuration ships 1.3.16; both are dated here without a conclusion. Read about XRechnung, the German standard and its versions.

Checking ZUGFeRD hybrid PDFs with Mustangproject and Quba

For ZUGFeRD files the open-source Mustangproject can read, write and validate ZUGFeRD 2, its technical twin Factur-X, ZUGFeRD 1 and XRechnung; version 2.26.0 dates from 25 August 2026 (as of 3 December 2026).

A file counts as an e-invoice from ZUGFeRD 2.0.1, except the MINIMUM and BASIC-WL profiles (BMF FAQ question 7). See ZUGFeRD, the hybrid invoice format.

Quba 2.0 (15 October 2026) validates offline and builds on Mustangproject. It is open source and runs on Windows, macOS and Linux.

In a hybrid file the structured part leads (section 14.4(3) sentences 5 and 6 of the VAT Application Decree, Umsatzsteuer-Anwendungserlass, UStAE), so the XML is what counts. According to FeRD, the publisher of ZUGFeRD, errors in the PDF/A container alone are only a warning.

Validation reports for the federal and Baden-Württemberg portals

A supplier invoicing a federal body gets a validation report with formal errors in the OZG-RE web entry and upload before sending; the former central federal platform (ZRE) is switched off.

The OZG-RE has been the only federal receipt platform since 19 September 2025. Baden-Württemberg runs a public e-invoice validator for XRechnung. Read about e-invoicing to public bodies.

Format error, business-rule error, content error: what a failed check means for the invoice

What a failed check means depends on the type of error: a format error turns the file into an "other invoice", a business-rule error without a format error leaves it in principle an e-invoice for VAT, and a content error concerns the mandatory VAT details (paras. 6a, 6b, 35a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025; paras. 22, 23 of the BMF letter of 15 October 2026).

Error type What it is Effect on the invoice Basis
Format error The file breaks the permitted syntaxes or their technical rules, or does not allow correct and complete extraction Other invoice (sonstige Rechnung) in another electronic format Para. 6a, BMF letter of 15 October 2024 as amended by the letter of 15 October 2025
Business-rule error A breach of the rules that check logical dependencies In principle still an e-invoice for VAT; a content error only if a mandatory VAT detail is hit Para. 6b of the same letter; paras. 22, 23 of the BMF letter of 15 October 2026
Content error A breach of the mandatory VAT details Not a properly issued invoice, even without a validator message Para. 35a of the 2024 letter as amended in 2025

Validation itself is no condition for tax recognition (BMF FAQ question 7).

Format error: the file loses its e-invoice status

A format error exists where the file does not meet the permitted syntaxes or their technical rules or, for an agreed format under § 14(1) sentence 6 no. 2 UStG, does not allow correct and complete extraction (para. 6a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025; section 14.1(11) UStAE).

The file is then an "other invoice" in another electronic format (§ 14(1) sentence 4 UStG), whatever kind of format error caused it. Which formats avoid this is shown when you compare the e-invoice formats.

Business-rule error: the status stays unless a mandatory VAT detail is hit

A business-rule error is a breach of the technical rules that check logical dependencies, for example a missing field BT-10 or a tax amount that does not fit the tax rate.

A validator may report it as a "critical error" (para. 6b of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025).

Para. 23 of the BMF letter of 15 October 2026 says that, for VAT, a file with a business-rule error but no format error is in principle still an e-invoice under § 14 UStG. The technical view is not decisive for questions such as input VAT deduction.

Only where the error touches a mandatory VAT detail does it become a content error (para. 22). Business-rule errors on other content are irrelevant for VAT (para. 35a). Read how the BMF letters treat defective invoices.

Content error: possible without any validator message

A content error is a breach of the mandatory details under §§ 14(4) and 14a UStG; the invoice is then not properly issued even if no validator reports an error (para. 35a; section 14.5(1) sentences 7 onwards UStAE).

An example from para. 35a is a wrong tax rate. Proper issue requires correct and complete mandatory details under §§ 14 and 14a UStG (para. 23 of the BMF letter of 15 October 2026).

Common messages in a validation report and what they mean

A message in a validation report carries the code of the rule that was broken, such as BR-DE-15 for the German XRechnung rules, and a level such as fatal or warning; the table lists the rules whose wording is in XRechnung Schematron 2.6.0 (as of 3 December 2026).

A BR-DE message is a business-rule message, so its effect for VAT follows the section above.

Rule Field Content Level
BR-DE-1 BG-16 Payment instructions must be present Fatal
BR-DE-2 to BR-DE-7 BG-6, BT-37, BT-38, BT-41, BT-42, BT-43 Seller contact details: contact group, city, post code, contact point, telephone, email Fatal
BR-DE-8, BR-DE-9 BT-52, BT-53 Buyer city and post code must be transmitted Fatal
BR-DE-14 BT-119 VAT category rate must be transmitted Fatal
BR-DE-15 BT-10 Buyer reference must be transmitted Fatal
BR-DE-16 BT-31 or BT-32 Required for tax categories S, Z, E, AE, K, G, L and M Fatal
BR-DE-17 BT-3 Only permitted invoice type codes Warning
BR-DE-18 BT-20 Discount lines must follow the prescribed syntax Fatal
BR-DE-21 BT-24 Specification identifier should match the XRechnung identifier Warning

Source: XRechnung Schematron 2.6.0, as of 3 December 2026.

BR-DE-15: the missing buyer reference

Rule BR-DE-15 states that the element "Buyer reference" (BT-10) must be transmitted, and XRechnung Schematron 2.6.0 rates it fatal. For VAT, para. 35a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025 treats business-rule errors on other content, such as a missing BT-10, as irrelevant.

In public procurement BT-10 carries the Leitweg-ID (routing ID). For business-to-business invoices no Leitweg-ID is needed, and a placeholder such as "-" is enough for VAT (BMF FAQ question 6). See what a Leitweg-ID looks like.

Messages with the prefix PEPPOL-EN16931

Codes with the prefix PEPPOL-EN16931 come from the rules of Peppol BIS Billing 3.0, applied when invoices travel over the Peppol network; Peppol is a network, not an invoice format. Rule R002, which allows BT-22 at most once, does not apply when buyer and seller are German organisations (since version 3.0.18, November 2024).

R001 requires the business process, R008 forbids empty elements, R010 and R020 require the electronic address of buyer and seller, and R120 governs the line net amount calculation; all are fatal. Version 3.0.21 has been mandatory since 17 August 2026 (as of 3 December 2026). Read how Peppol delivers e-invoices in Germany.

Why messages can appear temporarily

According to KoSIT, validator messages can appear temporarily because the rule sets of KoSIT, Germany and the EU are not updated at the same time. Compare the versions named in the report with the tool table above: configuration v2026-08-31 ships CEN 1.3.16, while CEN 1.3.17 has been available since 12 October 2026.

Validation report and due care: what a recipient can rely on

A business can rely on the technical result of a validation, as to format and business rules, by a suitable validation application if it observes the care of a prudent businessperson (para. 35a of the BMF letter of 15 October 2024 as amended by the letter of 15 October 2025).

The reliance covers the technical result only, not the VAT details, which the recipient still checks.

Keeping the validation report as evidence

For evidence, para. 35a recommends keeping the validation report. The KoSIT validator always writes an XML report, so the file for the archive exists after each run.

The invoice itself is kept for 8 years with at least its structured part unaltered in its original form (§ 14b(1) sentence 1 UStG; section 14b.1(1) sentence 4 UStAE). A visualisation is not a valid XRechnung. See archiving e-invoices under UStG and GoBD.

Non-objection for files issued by 31 December 2026

The tax authorities will not object to e-invoices issued by 31 December 2026 that meet the BMF letters of 15 October 2024 and 15 October 2025 but not the additional rules of the letter of 15 October 2026, including for input VAT deduction (application rule of the letter of 15 October 2026).

This is an administrative non-objection rule, not law, and it does not extend beyond 31 December 2026. All three BMF letters apply side by side. See every deadline and transition rule.

Putting checks into practice: receiving and sending

In practice a check belongs in two places: on receipt, before an invoice is booked and paid, and before sending, before your own e-invoice leaves the house; the BMF recommends validation already when creating and sending (BMF FAQ question 7). A recipient need not process the data further than retention requires (BMF FAQ question 9).

  1. Display: an XRechnung needs a viewer, because the XML is not meant to be read directly (BMF FAQ question 12a); a separate viewer page is not yet published in English.
  2. Validation: use the KoSIT validator or a program with validation built in, and keep the report; find software with validation.
  3. Query and correction: where the duty applies, a correction of an e-invoice is itself an e-invoice (BMF FAQ question 7b); a correction page is not yet published in English.
  4. Filing: store the XML together with the report, and run the same check on your own invoices before they leave the house.

Which programs read and validate e-invoices is shown in our independent overview of e-invoicing software.

Check, read, archive: how the steps after receipt fit together

Validation is one step between receiving and filing an e-invoice: before it comes delivery through an email inbox or another channel, after it come booking, any correction and retention. The table points to the page for each step, from receipt to archiving. For issuers, the route runs through the ways to create your own e-invoice.

Step What happens Where it is explained
Receive The file arrives by email inbox or another channel (para. 40 of the BMF letter of 15 October 2024) Receive
View and validate A viewer displays the XML; a validator tests it (BMF FAQ questions 7 and 12a) This page
Archive XML kept for 8 years, structured part unaltered (§ 14b(1) UStG) Archive
Issue and correct Issuing and correcting as e-invoice (BMF FAQ question 7b) Not yet published in English

Is validation mandatory for an e-invoice to a German customer?

No: validation is not a direct condition for tax recognition, such as input VAT deduction, but the BMF considers it sensible (BMF FAQ question 7, as of October 2026). FeRD says the same for ZUGFeRD files.

Does the BMF recommend a particular validator?

No: under BMF FAQ question 7 the BMF cannot recommend a particular validation application "for reasons of equal treatment of all businesses". The tool table above lists public tools without a ranking.

Does the ELSTER viewer validate the file?

No: the e-invoice viewer in the ELSTER portal only displays e-invoices. ELSTER describes it as "a non-binding service of the tax administration", and it offers no validation.

Which licence and Java version does the KoSIT validator need?

The KoSIT validator is open source under the Apache-2.0 licence and is published on GitHub. Since version 1.6.0 (6 November 2025) the standalone JAR needs Java 11, and version 1.5.0 remains for Java 8 (as of 3 December 2026).

Do foreign suppliers have to validate invoices to German customers?

No law requires validation (BMF FAQ question 7). Whether the German e-invoice rules apply to a supply depends on where supplier and recipient are established, because § 14(2) sentence 2 no. 1 UStG covers supplies between businesses established in Germany or in the areas of § 1(3) UStG. If one party is not established there, no e-invoice duty arises; a tax adviser (Steuerberater) can assess the individual case.

Describe your request

Tell us in a few lines what you need for German e-invoicing. We pass your request to independent providers.

What do you need help with?

Requests go only to independent providers, and no placement on erechnungspflicht.com is for sale; the details are in the editorial policy.

Sources