Troubleshooting
Fixing Common EN 16931 E-Invoice Errors: BR-CO-14, BR-CO-15, BR-S-09 & BR-DE-15
Practical guide to diagnosing and fixing the most frequent EN 16931, ZUGFeRD, Factur-X and XRechnung validation errors with exact BT fields, formulas and XML examples.
Questions answered here
- Exact EN 16931 formulas behind BR-CO-10, BR-CO-14, BR-CO-15 and BR-S-09
- Why 0.01 EUR rounding mismatches break ERP and portal imports
- How to fix missing German Leitweg-ID (BR-DE-15) and invalid IBAN checksums
When an e-invoice is rejected by a customer’s ERP, Peppol access point, or German/French tax platform, the error log usually prints a terse Schematron rule code such as BR-CO-15 or BR-S-09. Below is a field-level reference explaining what the rule checks, which Business Term (BT) is wrong, and how to fix it permanently.
Quick lookup table of top EN 16931 errors
| Rule ID | Affected BT field(s) | Required equation or constraint | Typical root cause |
|---|---|---|---|
BR-CO-10 |
BT-106, BT-131 |
BT-106 = sum(BT-131) |
Header net sum disagrees with the sum of invoice line net amounts. |
BR-S-09 |
BT-116, BT-117, BT-119 |
BT-117 = round(BT-116 × BT-119 / 100, 2) |
VAT calculated line-by-line instead of once per VAT rate breakdown. |
BR-CO-14 |
BT-110, BT-117 |
BT-110 = sum(BT-117) |
Document total VAT does not match the sum of VAT breakdown tax amounts. |
BR-CO-15 |
BT-109, BT-110, BT-112 |
BT-112 = BT-109 + BT-110 |
Gross total disagrees with net total plus total VAT (often by 0.01). |
BR-DE-15 |
BT-10 |
Buyer reference must be present in XRechnung | Missing Leitweg-ID or buyer reference in an XRechnung 3.0 file. |
IBAN MOD-97 |
BT-84 |
ISO 13616 check digits must pass MOD-97 = 1 | Typo in payment IBAN or spaces/non-ASCII symbols corrupting the account ID. |
1. Fixing BR-S-09: VAT category tax amount mismatch
In EN 16931, VAT is not summed from individually rounded line taxes. Instead, all lines sharing the same VAT category (BT-118, e.g. S) and VAT rate (BT-119, e.g. 19.00) are grouped into one BG-23 VAT breakdown block:
BT-116 (Taxable amount) = sum of line net amounts (BT-131) for that rate
BT-117 (Tax amount) = round_half_up(BT-116 × BT-119 / 100, 2 decimals)
For example, if BT-116 = 1500.00 and BT-119 = 19, BT-117 must equal 285.00. Writing 284.99 or 250.00 triggers BR-S-09.
2. Fixing BR-CO-14 and BR-CO-15: Document VAT and Gross totals
Once every BG-23 VAT breakdown row has a valid BT-117, two header totals must reconcile to the exact cent:
- Total VAT (
BT-110) must equal the sum of allBT-117values (BR-CO-14). - Invoice total with VAT (
BT-112) must equalBT-109 + BT-110(BR-CO-15). - Amount due (
BT-115) must equalBT-112 - BT-113(prepaid amount) plus any rounding amount (BT-114).
Tip for developers: Never use IEEE-754 floating point (
Numberin JavaScript) for invoice arithmetic. Use arbitrary-precision decimal maths (DecimalwithROUND_HALF_UP) or integer cents before formatting to two decimal places.
3. Fixing BR-DE-15: Missing Buyer Reference (BT-10) in XRechnung
XRechnung 3.0 enforces German-specific rules (BR-DE-*) on top of EN 16931. BR-DE-15 requires BT-10 (cbc:BuyerReference in UBL 2.1, or ram:BuyerReference in CII):
- For German public authorities, ask the contracting office for their Leitweg-ID (for example
991-12345-67). - For private B2B recipients accepting XRechnung, populate
BT-10with the buyer’s cost centre, PO number, or agreed reference string.
4. Fixing PDF/A-3 container warnings in ZUGFeRD and Factur-X
Even when the embedded factur-x.xml passes every Schematron rule, portals frequently reject hybrid PDFs when the PDF container itself is incomplete:
- The XML file must be named
factur-x.xml(Factur-X 1.07 / ZUGFeRD 2.1+). - The PDF Catalog must declare an
/AFarray referencing the embedded FileSpec dictionary, with/AFRelationshipset to/Alternative,/Data, or/Source. - XMP metadata must declare
pdfaid:part="3",pdfaid:conformance="B", and the Factur-X extension schema (fx:ConformanceLevel).
You can verify both the PDF/A-3 container and every EN 16931 rule locally in seconds using the VeriXML Validator.
Try it on your own invoice
Frequently asked questions
What causes BR-CO-15 even when every invoice line looks right? +
BR-CO-15 checks BT-112 = BT-109 + BT-110. It usually fails when an invoicing tool rounds each line's gross amount separately instead of computing VAT per tax category on the summed net basis (BT-116).
How should VAT be rounded under EN 16931? +
Line net amounts (BT-131) are rounded to 2 decimal places, summed by VAT rate into BT-116, multiplied by the VAT rate (BT-119) and rounded once per VAT category to produce BT-117.
Does BR-DE-15 apply to private B2B invoices in Germany? +
In XRechnung 3.0 CIUS, BT-10 (Buyer reference) is mandatory on every invoice. Public authorities require a Leitweg-ID; private German B2B buyers accept any agreed reference or order code.