Contents8
In short
- A KoSIT report mixes three layers of rules, which are the XML schema, the EN 16931 rules with codes such as BR-CO-15, and the German rules with codes such as BR-DE-15, and the layer tells you who fixes the error.
- Many German rules ask for master data, such as a seller contact, a buyer reference or payment instructions, so the fix for those belongs in the ERP and not in the file.
- A file that passes the validator is machine-valid, not necessarily correct, because a wrong price or tax rate can pass every rule.
An invoice came back, or a validator printed a list of messages, and nobody on the finance team can tell what they mean. This note explains XRechnung validation errors for the finance owner of a German business and its ERP partner. After it you will know how to read a validator report, which layer of rules each code belongs to, which German rules to check first, and what to do with the file next.
The rules below were read on 14 October 2026 on the pages of KoSIT, the German body that maintains XRechnung, and on the OpenPeppol rule pages. The Ministry of Finance pages did not load today, so what is said of them follows our earlier posts on German e-invoicing.
What XRechnung validation errors are checking
KoSIT defines when an invoice conforms to XRechnung. It must be a well-formed XML document that may carry attachments but is not itself embedded in another file, a valid instance of the XML schema for its syntax, valid against the business rules of XRechnung, and it must use every data element as its description says [1][2]. KoSIT adds that the first three points are checked by machine. The fourth is a matter of content and needs context that a tool does not have [1][2].
A validator answers whether the file is built correctly. It cannot answer whether the invoice is right.
XRechnung is a CIUS, a set of German rules on top of the European standard EN 16931. KoSIT publishes a validator with an XRechnung configuration, and the code is open source [1]. The report therefore mixes rules from three places:
| Layer | What it checks | Rule IDs | Where the rule text lives |
|---|---|---|---|
| XML schema | Structure of the UBL or CII file | No rule ID, a schema message | The standard syntax schemas [3] |
| EN 16931 core rules | Content and arithmetic of every European invoice | BR-xx, BR-CO-xx, BR-S-xx | The CEN artefacts [2][4] |
| German rules | What XRechnung adds | BR-DE-xx, and PEPPOL-EN16931-Rxxx adopted into XRechnung 3.0 | The XRechnung specification [2] |
There is no schema made only for XRechnung. The rules are Schematron rules written against the existing UBL and CII schemas, and the KoSIT validator configuration bundles the schemas and the rules together [3]. CEN provides the technical means for the EN 16931 rules, and KoSIT provides them for the German ones [2].
Errors, warnings and the word "should"
The specification words every rule with a modal verb. "Must" is a binding requirement and matches SHALL in EN 16931. "Should" is a recommendation and matches SHOULD [2]. So BR-DE-15 says the buyer reference must be sent, while BR-DE-19 says a payment account should hold a correct IBAN when SEPA credit transfer is the means [2].
Do not treat a warning as safe. KoSIT's FAQ gives a case: three CII rules that were added to the European artefacts were first warnings and were raised to errors in the XRechnung validator configurations of 15 November 2023 and 20 June 2024. So invoices that earlier configurations accepted can now be rejected [3]. The FAQ states the general cause: the configuration always combines the European artefacts with the XRechnung part, so a change in the European part alone can reject an invoice that passed before [3].
The German rules to check first
Each rule below is paraphrased from the XRechnung specification 3.0.2 [2]. The third column is our reading of where the data comes from, not a statistic.
| Rule | What it requires | Where to look first | Who fixes it |
|---|---|---|---|
| BR-DE-5 | Seller contact point, BT-41 | Company settings: invoicing contact | ERP master data |
| BR-DE-6 | Seller contact telephone, BT-42 | Same contact record | ERP master data |
| BR-DE-7 | Seller contact email, BT-43 | Same contact record | ERP master data |
| BR-DE-15 | Buyer reference, BT-10 | Customer record or order header | ERP data, with the buyer's input |
| BR-DE-1 | Payment instructions, BG-16 | Payment means export | Mapping and ERP setup |
| BR-DE-23 | Credit transfer data in BG-17 when the means code is 30 or 58 | Bank account on the payment record | Mapping and ERP setup |
| BR-DE-3, BR-DE-4, BR-DE-8, BR-DE-9 | City and post code of seller and buyer | Address fields split in the ERP | ERP master data |
| BR-DE-14 | VAT category rate, BT-119 | VAT breakdown export | Mapping |
| BR-DE-16 | A seller VAT ID, tax registration ID or tax representative, when VAT category S, Z, E, AE, K, G, L or M is used | Seller entity setup | ERP master data |
Three points deserve more than a table row.
Seller contact. BR-DE-5, 6 and 7 each ask for one field of the same contact group. An empty invoicing contact in the company settings therefore produces three messages. Fill it once and all three clear. A placeholder can still draw a warning: BR-DE-27 says the telephone number should hold at least three digits, and BR-DE-28 says the email address should be valid [2].
Buyer reference and the Leitweg-ID. BR-DE-15 only says that BT-10 must be sent [2]. For a public buyer the content is the Leitweg-ID, which the buyer passes to the supplier in advance, for example with the order or the award. Federal and state bodies issue it, and a supplier needs no Leitweg-ID of its own [3]. XRechnung is first of all the standard for invoices to public administrations, where it is already mandatory [1]. Between businesses, KoSIT says no Leitweg-ID is needed, BT-10 is a plain text field, and the buyer can name any identifier for its own routing [2][3]. The Ministry of Finance adds that a placeholder such as "-" is enough for VAT purposes, and that a missing BT-10 is a business-rule error that does not matter for VAT. The buyer's own system may still reject the file, so ask each buyer for its reference [5][6].
As a chart:
Payment instructions. BR-DE-1 asks for the payment instructions group, and BR-DE-23 to BR-DE-25 tie the payment means code to exactly one matching group: credit transfer, card or direct debit [2]. KoSIT's FAQ says only one of the three groups should be filled [3]. An ERP that exports a means code but leaves the bank account empty fails here. So does one that exports a credit transfer account (BG-17) with direct debit code 59.
Core rules and the VAT amounts
The EN 16931 rules on totals and VAT amounts come next. OpenPeppol publishes their text [4]:
- BR-CO-15: the total with VAT equals the total without VAT plus the VAT total.
- BR-CO-16: the amount due equals the total with VAT, minus the paid amount, plus the rounding amount.
- BR-CO-17: the VAT amount of a category equals its taxable amount times the rate divided by 100, rounded to two decimals.
- BR-S-08: for each standard rate, the taxable amount in the VAT breakdown equals the sum of the line net amounts plus charges minus allowances at that rate. The XRechnung specification writes the same rule as BR-S-8 [2].
Rounding is one cause KoSIT names. Its FAQ explains that EN 16931 prescribes no rounding method, so line-level and document-level rounding can give slightly different results. It adds that floating-point arithmetic in a system can add up to several cents over many lines. The calculation checks are CEN rules, and the model assumes net plus VAT equals gross at document level [3]. If BR-CO-17 or BR-S-08 fails on invoices with many lines, compare the ERP's rounding with the document-level sums first. That is mapping and integration work, and our rejection codes list BR-CO-15 and BR-CO-16 as fixed in the integration.
One more core rule is plain data. BR-CO-04 (BR-CO-4 in the specification) requires a VAT category code on every invoice line [2][4], so a new product without one fails.
Versions and the specification identifier
The version a buyer expects decides which rules you are tested against. XRechnung 3.0 has been in force since 1 February 2024. KoSIT says there was no normative release in summer 2026, so 3.0 stays in force until at least 31 July 2027. A preview of 4.0 appeared in September 2026, and the final 4.0 is expected in early spring 2027 together with its technical components [1]. KoSIT advises against sending invoices in a version after it has been retired [1].
The file states its version in BT-24, the specification identifier. For 3.0 the value is urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0, and BR-DE-21 says BT-24 should match the XRechnung identifier [2]. Ask your ERP partner which identifier the XRechnung export writes, and ask each buyer which version it validates against.
KoSIT also warns that business rules are implemented on separate cycles at KoSIT and at national and EU level, so the validator can show temporary error messages [1]. Code lists have their own cycle too [3]. Record the configuration version in every report you keep.
Valid is not the same as correct
A clean report means points one to three of the conformance test passed. It says nothing about point four. The letter of 15 October 2025 says a validator will not catch every content error and that a wrong tax rate can pass every rule [6]. So does a price with one zero too many, or a customer record that points to the wrong buyer.
The same letter says a business that takes due care may rely on the technical result of a suitable validator, and suggests keeping the report as evidence [6]. The ministry says validation is not a direct condition for the invoice to count for tax purposes, and recommends it when the invoice is created and sent [5]. No source we read prescribes a validator or a channel for invoices between businesses [5][7].
What to do next with a rejected file
- Keep the rejected file and its report unchanged. They show what happened and when.
- Find the layer from the rule ID, using the table above. Open the specification entry for the rule and read which business term or group it names [2].
- Fix the cause at the source, in the master data, the order or the mapping, so the next invoice is right too. Editing the XML by hand repairs one file and leaves the cause in place.
- Validate the new file against the configuration for the version the buyer accepts.
- Send it as a new file. For a file with format errors that reached the buyer, the letter names a new e-invoice that refers specifically and clearly to the first one as a fix [6]. For a correction the specification allows invoice type code 384, and says it should carry a reference to the preceding invoice in BG-3 [2]. Where the duty applies, the ministry says a correction must itself be an e-invoice [5]. Our posts on format choice and the 2027 duty cover the dates and the formats.
Section 14 of the VAT Act defines an e-invoice as one issued, transmitted and received in a structured electronic format that allows electronic processing, in a format that meets EN 16931 or one agreed between the parties that allows the required details to be extracted correctly and completely into such a format [7].
Where EurInvoice fits
We are not an access point and not a licensed or certified provider. We map ERP invoice data to XRechnung, validate each file against EN 16931 and the German rules, and hand back the file with its validation result for the channel you agreed with the buyer. Our evidence for Germany is on the proof page: XRechnung and ZUGFeRD invoices and credit notes built from sample data with fictitious companies, accepted by the KoSIT validator with 0 messages. These are tests, not production traffic. We claim no client work here.
Reading a report is the part Rejection Care covers after go-live. We read each message, correct what is ours to correct, tell the right owner about the rest and log the cause, so the same error does not return. The Germany page shows what is ours and what stays with your team.
If a report is on your desk, send us one German case: the ERP, the format, the file and the report. Anonymised samples only.
Questions
What is the difference between an error and a warning in an XRechnung report?
The specification words binding rules with "must" (SHALL in EN 16931) and recommendations with "should" (SHOULD). The validator configuration sets the level in the report, and KoSIT has raised rules from warning to error between configuration versions, so treat a warning as work to do before the next release.
Do I need a Leitweg-ID to send XRechnung to a business?
No. KoSIT says no Leitweg-ID is needed to send or receive e-invoices between businesses. The buyer reference field BT-10 still has to be filled, and the buyer can give you any identifier for it.
Can I edit the rejected file and send it again?
Fix the cause at the source and issue a new file. For a file with format errors that the buyer already received, the Ministry of Finance letter names a new e-invoice that refers specifically and clearly to the first as a fix.
Sources
- XRechnung: the standard, its versions and components (KoSIT, XStandards Einkauf)xeinkauf.de
- Specification XRechnung version 3.0.2, chapters 6, 12 and 13 (KoSIT, PDF of 20 June 2024)xeinkauf.de
- XRechnung FAQ (KoSIT, XStandards Einkauf)xeinkauf.de
- Peppol BIS Billing 3.0: EN 16931 rules for UBL (OpenPeppol)docs.peppol.eu
- Questions and answers on the mandatory e-invoice, as of March 2026 (Federal Ministry of Finance)bundesfinanzministerium.de
- Letter of 15 October 2025 on the mandatory e-invoice between businesses in Germany (Federal Ministry of Finance)bundesfinanzministerium.de
- VAT Act (UStG), section 14: issuing invoicesgesetze-im-internet.de
Also available in Български · Čeština · Dansk · Deutsch · Ελληνικά · Español · Eesti · Suomi · Français · Gaeilge · Hrvatski · Magyar · Italiano · Lietuvių · Latviešu · Malti · Nederlands · Polski · Português · Română · Slovenčina · Slovenščina · Svenska