EN16931 / XRechnung / Peppol BIS 3 Validator

BR-CO-21: Each Document level allowance (BG-20) shall contain a Document level…

fatal CII UBL

What this error means and how to fix it

An EN 16931 calculation or consistency rule: an amount or condition does not match the other values in the invoice — most often the totals chain (line net amounts → total without VAT → VAT → total with VAT → amount due). This is an error: the invoice is rejected until it is fixed.

Check your invoice against BR-CO-21 — 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-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both.
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
EN16931-UBLfatal/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)
EN16931-CIIfatal//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator='false'](../ram:Reason) or (../ram:ReasonCode)

Business terms referenced

BG-20, BT-97, BT-98

Related rules

BR-31, BR-32, BR-33, BR-AE-01, BR-AE-03, BR-E-01, BR-E-03, BR-G-01, BR-G-03, BR-IC-01, BR-IC-03, BR-IG-01

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