BR-DE-15 means the invoice has no buyer reference (BT-10). XRechnung requires it on every invoice; for a German public buyer the buyer reference is the Leitweg-ID. Fix it by putting the reference the buyer gave you into cbc:BuyerReference (UBL) or ram:BuyerReference (CII).
Every XRechnung error follows the same pattern: a rule id, an official text and one or more business terms (BT-…) or groups (BG-…) of EN 16931. Below are the codes that come up most, grouped by cause.
How to read an error code
BR-DE-…rules come from the German XRechnung specification (KoSIT). Their official texts are German.BR-…,BR-CO-…,BR-CL-…and category rules such asBR-S-…come from the European standard EN 16931 (CEN). Their texts are English.BT-10is a business term: one field of the invoice, the same in UBL and CII.BG-16is a group of fields.
The flag matters too: fatal rules make the invoice invalid, warning rules do not.
Missing German fields (BR-DE)
| Code | Official text (short) | What it means | Fix |
|---|---|---|---|
BR-DE-1 |
Eine Rechnung muss Angaben zu "PAYMENT INSTRUCTIONS" (BG-16) enthalten | No payment instructions | Add payment means with a type code, for example 58 for SEPA credit transfer, and the IBAN |
BR-DE-2 |
Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden | No seller contact | Add the seller contact: name, telephone and e-mail (BR-DE-5, -6, -7) |
BR-DE-15 |
Das Element "Buyer reference" (BT-10) muss übermittelt werden | No buyer reference | Set the Leitweg-ID or the reference the buyer supplied. See where the Leitweg-ID goes |
BR-DE-16 |
Seller VAT identifier (BT-31), tax registration identifier (BT-32) or tax representative (BG-11) required with VAT categories S, Z, E, AE, K, G, L or M | The seller cannot be identified for VAT | Add the VAT ID (for example DE123456789) or the tax number with scheme FC |
BR-DE-21 |
Specification identifier (BT-24) soll der Kennung des Standards XRechnung entsprechen | Warning: the invoice does not declare XRechnung | Use urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 |
Calculation errors (BR-CO)
| Code | Official rule | Fix |
|---|---|---|
BR-CO-10 |
Sum of invoice line net amount (BT-106) = Σ invoice line net amount (BT-131) | Recalculate the sum of the line amounts |
BR-CO-13 |
Total without VAT (BT-109) = Σ line net amounts − allowances (BT-107) + charges (BT-108) | Recalculate after document-level discounts and charges |
BR-CO-15 |
Total with VAT (BT-112) = total without VAT (BT-109) + total VAT (BT-110) | Recalculate the gross total |
BR-CO-16 |
Amount due (BT-115) = total with VAT (BT-112) − paid amount (BT-113) + rounding amount (BT-114) | Recalculate the amount due, or fix the prepaid or rounding amount |
BR-CO-17 |
VAT amount (BT-117) = taxable amount (BT-116) × rate (BT-119) / 100, rounded to two decimals | Calculate VAT per category and rate, not per line |
Most of these are rounding problems. Why one cent fails an invoice explains them in detail.
Code list errors (BR-CL)
| Code | Official rule | Fix |
|---|---|---|
BR-CL-03 |
currencyID must be coded using ISO 4217 alpha-3 | Use EUR, not € or Euro |
BR-CL-23 |
Unit code must be coded according to UN/ECE Recommendation 20 with Rec 21 extension | Map your units: C62 piece, HUR hour, KGM kilogram, MTR metre |
Other frequent EN 16931 rules
| Code | Official rule | Fix |
|---|---|---|
BR-05 |
An invoice shall have an invoice currency code (BT-5) | Set the currency |
BR-11 |
The buyer postal address shall contain a buyer country code (BT-55) | Add the ISO country code, for example DE |
BR-CO-26 |
Seller identifier (BT-29), legal registration identifier (BT-30) and/or VAT identifier (BT-31) shall be present | Add at least one seller identifier |
BR-62, BR-63 |
The seller / buyer electronic address (BT-34, BT-49) shall have a scheme identifier | Add the scheme, for example EM for an e-mail address |
Get the explanation for any code
Every finding of a validation carries the official text, a plain explanation, the fix and the line in your file — in eight languages. To look up a single code without a file, ask the rules endpoint:
curl -s "https://einvoiceengine.com/v1/rules/BR-CO-16?lang=en" -H "Authorization: Bearer $EINV_KEY"
Frequently asked questions
What is the difference between BR-DE and BR rules?
BR-DE rules are German additions in the XRechnung specification. BR rules belong to the European standard EN 16931 and apply to every EN 16931 invoice, including ZUGFeRD and Peppol.
Why are XRechnung error messages in German?
KoSIT publishes the XRechnung rules with German texts. The rule id stays the same in every language, so you can look it up anywhere.
Is a warning a reason to reject an invoice?
Under the rules, no: only fatal findings make an invoice invalid. Some recipients still ask you to fix warnings, so it is worth clearing them.
Where do I find the official list of all rules?
In the XRechnung validator configuration published by KoSIT and in the EN 16931 Schematron by CEN. The service runs exactly these files; the version is named in every result.
E-Invoicing API