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

BR-AF-06 — E-Invoice Validation Rule & Fix

Fixture ID: regionalAllowanceNoRate · XPath: /ubl:Invoice/cac:AllowanceCharge[1]/cac:TaxCategory/cbc:Percent

1. Why This Rule Triggers (Diagnostic Message)

The document level allowance at allowances[0] uses VAT category L (Canary Islands general indirect tax (IGIC)), so its VAT rate (BT-96) must be 0 (zero) or greater than zero, but it is missing. IGIC is charged, so the adjustment carries a rate — and unlike category S that rate may be exactly 0, because the Canarian regime relieves a number of supplies by applying a zero rate rather than by exempting them. What it may not be is absent or negative.

2. How to Fix BR-AF-06

Set allowances[0].vatRate to the IGIC percentage the adjusted supply bears, as a number. Zero is a legal value here — unlike category S — but the term must be present, because a missing rate and a rate of zero are different claims about a tax that is genuinely levied.

3. Valid Code / Payload Example

"vatCategory": "L", "vatRate": 7
Test & Validate XML / JSON in Live SchemaGuard Validator →