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

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

Fixture ID: declaredVatAmountOutsideTheTolerance · XPath: /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount

1. Why This Rule Triggers (Diagnostic Message)

BR-CO-17 requires the VAT category tax amount (BT-117) to equal BT-116 × (BT-119 / 100). This group states 0.00 against a stated taxable amount of 1500.00 at 19%, which is 285.00 EUR. The rule's tolerance is a whole unit of currency, exclusive, so this is outside it.

2. How to Fix BR-CO-17

Compute BT-117 from the group's own BT-116 and BT-119, rounded half-up to two decimals. A rate carrying more decimals than BT-119 is written to is the usual cause: normalise the rate first, then compute the amount from the normalised rate, so the two come from one number.

3. Valid Code / Payload Example

"vatRate": 19
Test & Validate XML / JSON in Live SchemaGuard Validator →