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

BR-S-08 — E-Invoice Validation Rule & Fix

Fixture ID: declaredLineAndBreakdownDisagree · XPath: /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxableAmount

1. Why This Rule Triggers (Diagnostic Message)

The VAT breakdown for category S at 19% states a taxable amount (BT-116) of 55.55, but the lines and document allowances and charges in that group come to 77.77 between them — a difference of -22.22 EUR. BR-S-08 requires the two to agree, and the summands are the line amounts the document states (BT-131), not what those lines compute to.

2. How to Fix BR-S-08

BT-116 is Σ BT-131 for the group, less the document allowances (BT-92) in it and plus the document charges (BT-99) in it. Correct the group's lines, or drop declaredTotals.subtotals and let the library compute the breakdown.

3. Valid Code / Payload Example

"declaredTotals": { "subtotals": [{ "category": "S", "taxableAmount": 77.77 }] }
Test & Validate XML / JSON in Live SchemaGuard Validator →