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

BR-O-12 — E-Invoice Validation Rule & Fix

Fixture ID: outOfScopeMixed · XPath: /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID

1. Why This Rule Triggers (Diagnostic Message)

This invoice contains a VAT breakdown group (BG-23) with the VAT category code (BT-118) "Not subject to VAT", so no invoice line may carry an invoiced item VAT category code (BT-151) other than "O" — but one line does: line 2 (S). This is BR-O-11's counterpart at line level; together they make category O all-or-nothing for the document.

2. How to Fix BR-O-12

Move the non-O lines to a separate invoice, or correct their vatCategory if "O" was the intended treatment for them too. Note that an invoice using category O must also carry no VAT identifiers at all (BR-O-02).

3. Valid Code / Payload Example

"vatCategory": "O"
Test & Validate XML / JSON in Live SchemaGuard Validator →