BR-CO-13
Error (blocking) EN 16931 (UBL)EN 16931 (CII)
Official rule text
[BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).
What it means
The total without VAT (BT-109) must equal the sum of line net amounts minus document-level allowances (BT-107) plus document-level charges (BT-108). It fires when a document-level cac:AllowanceCharge is added to the XML but not folded into cbc:TaxExclusiveAmount, or when BT-107/BT-108 are emitted without matching AllowanceCharge elements.
How to fix it
Set cbc:TaxExclusiveAmount (BT-109) = LineExtensionAmount (BT-106) - AllowanceTotalAmount (BT-107) + ChargeTotalAmount (BT-108), and emit BT-107/BT-108 whenever document-level cac:AllowanceCharge elements exist.
Business terms involved: BT-109BT-131BT-107BT-108
🇫🇷 En français
Le total HT (BT-109) doit être égal à la somme des montants nets de ligne, moins les remises pied de facture (BT-107), plus les charges pied de facture (BT-108). La règle tombe quand un cac:AllowanceCharge de niveau document est ajouté au XML sans être répercuté dans cbc:TaxExclusiveAmount, ou quand BT-107/BT-108 sont émis sans éléments AllowanceCharge correspondants.
Correction : Posez cbc:TaxExclusiveAmount (BT-109) = LineExtensionAmount (BT-106) - AllowanceTotalAmount (BT-107) + ChargeTotalAmount (BT-108), et émettez BT-107/BT-108 dès qu'il existe des cac:AllowanceCharge au niveau document.
Seeing BR-CO-13 in a rejection?
Run your file through the free validator to see every violation at once — or let NormDrift watch your reference invoices so the next ruleset release never surprises you.