XRechnung rejected: how to read the validation report and fix the most common errors

An invoice portal or your customer rejects the e-invoice, and the validation report shows codes such as BR-DE-15 or BR-CO-10. This page explains how the report is structured and what is behind the most common rejections.

How a validation report is structured

Most portals and validators in Germany use the validation configuration of KoSIT (the German Coordination Office for IT Standards in public administration). It checks in stages:

  1. Schema: Is the file formally built correctly (the right elements in the right order)?
  2. EN 16931: the European business rules (codes such as BR-…, BR-CO-…, BR-S-…, BR-CL-…).
  3. XRechnung: the additional German rules (codes BR-DE-…), only if the file declares itself as an XRechnung.

Every message has a level. Errors lead to the recommendation “reject”. Warnings and information messages leave the invoice valid but should still be fixed. Important: deal with the errors first. A single missing value can trigger several follow-up messages.

The location (for example /Invoice/cac:LegalMonetaryTotal) tells you where in the XML the error is. The terms BT-… and BG-… are the numbers of the fields (business terms) and groups in the EN 16931 standard, for example BT-10 = buyer reference.

The most common reasons for a rejection

1. Buyer reference or Leitweg-ID is missing

BR-DE-15 (buyer reference missing) is the classic for invoices to public authorities. The Leitweg-ID (the German public-sector routing ID) goes into the buyer reference field (BT-10). XRechnung requires the field for companies too; there it is usually an order or cost centre number given by the recipient. More: Leitweg-ID: structure and check digits.

2. Totals and rounding

Total errors almost always occur because the software rounds differently from how the standard calculates:

Tip: round every line amount to two decimal places before you add up, and show discounts as an allowance in the line or at document level, so that the invoice adds up by itself. Details: Rounding, discounts and Skonto.

3. Payment details

More: Payment details in XRechnung.

4. Seller contact details

XRechnung requires a contact person with telephone number and e-mail address: BR-DE-2, BR-DE-5, BR-DE-6, BR-DE-7. These fields are often missing when the invoice template has them only in the letterhead of the PDF.

5. Wrong or unknown specification identifier

The specification identifier (BT-24) tells the validator which rules to apply. For XRechnung 3.0 it is urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0. If it is missing or does not fit (BR-01, BR-DE-21), portals report “unknown profile” or validate against the wrong rules. ZUGFeRD invoices in the profiles MINIMUM and BASIC WL do not contain all mandatory data of an e-invoice; many recipients therefore reject them. More: ZUGFeRD profiles.

6. Formal errors in the XML

How to proceed

  1. Open the invoice in the free validator. It uses the KoSIT rule files and runs in your browser; the file is not uploaded.
  2. Look at the errors only, from top to bottom. Every explained code has a page showing the field in UBL and CII.
  3. Fix the error in the template or setting of your invoicing software, not by hand in the XML – otherwise it comes back with the next invoice.
  4. Generate again, validate again, then send.

If you create invoices from your own software or an automation, you can build in the same check before sending via the API.

Technical notes on the data format, not tax or legal advice. Whether VAT rate, supply and amounts are correct in substance is a question for your tax adviser. eRechio is not an offering of KoSIT.