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:
- Schema: Is the file formally built correctly (the right elements in the right order)?
- EN 16931: the European business rules (codes such as
BR-…,BR-CO-…,BR-S-…,BR-CL-…). - 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:
- BR-CO-10: The sum of line net amounts (BT-106) must equal exactly the sum of the individual lines (BT-131). Typical causes are lines with more than two decimal places, or discounts that appear only in the PDF but not in the line amount.
- BR-CO-13: Total without VAT (BT-109) = sum of lines − allowances + charges at document level.
- BR-CO-15: Total with VAT (BT-112) = total without VAT + VAT.
- BR-CO-17 and BR-S-08: VAT is calculated per VAT category from the sum of the net amounts and then rounded – not rounded per line and added up afterwards.
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
- BR-DE-1: XRechnung requires payment instructions (BG-16), that is at least the payment means code.
- BR-DE-23-a and BR-61: For a credit transfer (payment means 30 or 58) the bank account with IBAN must be given. Write the IBAN without spaces and only once.
- BR-CO-25: If an amount is due, the invoice needs a due date or payment terms.
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
- PEPPOL-EN16931-R008: empty elements such as
<cbc:Note/>. Leave out fields without a value entirely. - BR-CL-23: units of measure must be codes (for example
H87for piece,HURfor hour), not abbreviations such as “pcs”. - BR-CL-04: currency as
EUR, not “€”.
How to proceed
- Open the invoice in the free validator. It uses the KoSIT rule files and runs in your browser; the file is not uploaded.
- Look at the errors only, from top to bottom. Every explained code has a page showing the field in UBL and CII.
- 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.
- 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.