EN16931 / XRechnung / Peppol BIS 3 Validator

BR-O-12: An Invoice that contains a VAT breakdown group (BG-23) with a VAT category…

fatal CII UBL

What this error means and how to fix it

A rule for supplies not subject to VAT (category O): such an invoice has no VAT identifiers and no VAT rates, only one VAT breakdown (category O) with its reason, and every line, allowance and charge is category O. This is an error: the invoice is rejected until it is fixed.

Check your invoice against BR-O-12 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

This error needs information only you have, so it is not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[BR-O-12]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT".
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatal/ubl:Invoice | /cn:CreditNote(exists(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'O']) and count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) != 'O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) = 0) or not(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']/cbc:ID[normalize-space(.) = 'O'])
EN16931-CIIfatal//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'O'][upper-case(ram:TypeCode) = 'VAT']not(//ram:ApplicableTradeTax[ram:CategoryCode != 'O'])

Business terms referenced

BG-23, BT-118, BG-25, BT-151

Related rules

BR-AE-01, BR-CO-18, BR-E-01, BR-G-01, BR-IC-01, BR-IC-11, BR-IC-12, BR-IG-01, BR-IP-01, BR-O-01, BR-O-11, BR-O-13

Source: EN 16931-1 Schematron, UN/CEFACT CII syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Source: EN 16931-1 Schematron, UBL syntax binding (ConnectingEurope/eInvoicing-EN16931, EUPL-1.2).

Check your invoice against this rule