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

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

Fixture ID: badCategory · XPath: /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID

1. Why This Rule Triggers (Diagnostic Message)

The VAT breakdown (BG-23) computed from your lines contains a VAT category code (BT-118) of "X", which is not in UNTDID 5305. The breakdown categories are taken straight from the line categories (BT-151), so this is the document-level consequence of the same bad code — the generated document carries both elements, and KoSIT reports it against both.

2. How to Fix BR-CL-17

Correct the offending line's vatCategory. The breakdown is always computed from the lines, so there is nothing to fix at document level.

3. Valid Code / Payload Example

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