BlogRejections

XRechnung validation errors: how to read the report and who fixes each one

XRechnung validation errors explained: read a KoSIT report, tell the rule layers apart, and see which side fixes BR-⁠DE, BR-⁠CO and VAT rule failures.

Contents8
  1. What XRechnung validation errors are checking
  2. Errors, warnings and the word "should"
  3. The German rules to check first
  4. Core rules and the VAT amounts
  5. Versions and the specification identifier
  6. Valid is not the same as correct
  7. What to do next with a rejected file
  8. Where EurInvoice fits

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:

LayerWhat it checksRule IDsWhere the rule text lives
XML schemaStructure of the UBL or CII fileNo rule ID, a schema messageThe standard syntax schemas [3]
EN 16931 core rulesContent and arithmetic of every European invoiceBR-xx, BR-⁠CO-xx, BR-⁠S-xxThe CEN artefacts [2][4]
German rulesWhat XRechnung addsBR-⁠DE-xx, and PEPPOL-⁠EN16931-Rxxx adopted into XRechnung 3.0The 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].

FlowchartReading a validator report: which layer, who fixes it
YesNoBR-DEBR, BR-CO, BR-SValidator report lists messagesIs it a schema message?The XML build is wrong. Fix theintegrationWhat does the rule ID start with?German rule. Usually missingmaster data in the ERPEN 16931 rule. Usually amountsor the mappingFix at the source and validateagainSend the new file and keep therejected one with its report

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.

RuleWhat it requiresWhere to look firstWho fixes it
BR-⁠DE-⁠5Seller contact point, BT-⁠41Company settings: invoicing contactERP master data
BR-⁠DE-⁠6Seller contact telephone, BT-⁠42Same contact recordERP master data
BR-⁠DE-⁠7Seller contact email, BT-⁠43Same contact recordERP master data
BR-⁠DE-⁠15Buyer reference, BT-⁠10Customer record or order headerERP data, with the buyer's input
BR-⁠DE-⁠1Payment instructions, BG-⁠16Payment means exportMapping and ERP setup
BR-⁠DE-⁠23Credit transfer data in BG-⁠17 when the means code is 30 or 58Bank account on the payment recordMapping and ERP setup
BR-⁠DE-⁠3, BR-⁠DE-⁠4, BR-⁠DE-⁠8, BR-⁠DE-⁠9City and post code of seller and buyerAddress fields split in the ERPERP master data
BR-⁠DE-⁠14VAT category rate, BT-⁠119VAT breakdown exportMapping
BR-⁠DE-⁠16A seller VAT ID, tax registration ID or tax representative, when VAT category S, Z, E, AE, K, G, L or M is usedSeller entity setupERP 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:

FlowchartWhat goes in the buyer reference, BT-10
YesNoIs the buyer a publicadministration?Put the Leitweg-ID the buyergave you in BT-10No Leitweg-ID needed. Ask thebuyer for its own referenceBT-10 is sent. BR-DE-15 passes

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

  1. Keep the rejected file and its report unchanged. They show what happened and when.
  2. 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].
  3. 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.
  4. Validate the new file against the configuration for the version the buyer accepts.
  5. 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.

Next stepHand rejected invoices to Rejection CareSee Rejection Care

Sources

  1. XRechnung: the standard, its versions and components (KoSIT, XStandards Einkauf)xeinkauf.de
  2. Specification XRechnung version 3.0.2, chapters 6, 12 and 13 (KoSIT, PDF of 20 June 2024)xeinkauf.de
  3. XRechnung FAQ (KoSIT, XStandards Einkauf)xeinkauf.de
  4. Peppol BIS Billing 3.0: EN 16931 rules for UBL (OpenPeppol)docs.peppol.eu
  5. Questions and answers on the mandatory e-invoice, as of March 2026 (Federal Ministry of Finance)bundesfinanzministerium.de
  6. Letter of 15 October 2025 on the mandatory e-invoice between businesses in Germany (Federal Ministry of Finance)bundesfinanzministerium.de
  7. 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

Add as a preferred source on Google

Contact

Thirty minutes to test whether it fits the standard scope.

Bring one case. It helps to have:

  • Your ERP and version
  • The first country route and legal entity
  • An anonymised sample invoice and where the credentials stand

30-minute call

Choose a time

Choose a time