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-110

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

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

1. Why This Rule Triggers (Diagnostic Message)

BR-CO-14 requires the invoice total VAT amount (BT-110) to equal Σ VAT category tax amounts (BT-117). You declared 1.00 for BT-110, but the invoice lines compute to 285.00 — a difference of -284.00 EUR. VAT is computed per category-and-rate group and rounded there (BR-CO-17), then summed. Computing VAT on the document total instead of per group is the usual cause of a one-cent break.

2. How to Fix BR-CO-14

Either correct the line data so it sums to your declared figure, or drop declaredTotals.taxAmount 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": { "taxAmount": 285.00 }
Test & Validate XML / JSON in Live SchemaGuard Validator →