SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
FATAL Official EN 16931 / Peppol / CIUS Rule BT/BG Fields: BT-112

BR-CO-15 — E-Invoice Validation Rule & Fix

Fixture ID: badTotals · XPath: N/A (Computed / Semantic Rule)

1. Why This Rule Triggers (Diagnostic Message)

BR-CO-15 requires the invoice total with VAT (BT-112) to equal BT-109 + BT-110. You declared 1.00 for BT-112, but the document's own stated figures give 2.00 — a difference of -1.00 EUR. Check whether one of BT-109 or BT-110 is also flagged above; BR-CO-15 often fails only as a consequence.

2. How to Fix BR-CO-15

Either correct the line data so it sums to your declared figure, or drop declaredTotals.taxInclusiveAmount and let the library compute it. Note that EN 16931 sums *rounded* line amounts: round each line to 2 decimals first, then add — rounding only the final sum drifts by a cent or two on long invoices.

3. Valid Code / Payload Example

"declaredTotals": { "taxInclusiveAmount": 2.00 }
Test & Validate XML / JSON in Live SchemaGuard Validator →