BR-DEC-25
fatal CII UBL
Rule text
[BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
Where the rule is checked
| Syntax | Severity | Context (XPath) | Test (XPath) |
| EN16931-UBL | fatal | //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | string-length(substring-after(cbc:BaseAmount,'.'))<=2 |
| EN16931-CII | fatal | //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false'] | string-length(substring-after(../ram:BasisAmount,'.'))<=2 |
Business terms referenced
BT-137
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