BR-CO-13 — Total without VAT is wrong (BT-109)
- Standard: EN16931
- Severity: fatal
- Business Terms: BT-109, BT-131, BT-107, BT-108
Meaning
"Invoice total amount without VAT" (BT-109) = Σ line net amounts (BT-131) - sum of document level allowances (BT-107) + sum of document level charges (BT-108).
Possible causes
- BT-109 (TaxExclusiveAmount) does not correctly fold in document-level allowances/charges.
- Rounding drift while summing the lines.
How to fix it
- Compute BT-109 (cbc:TaxExclusiveAmount) as Σ BT-131 − BT-107 + BT-108 and write that value.
Affected fields
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount/ubl:Invoice/cac:LegalMonetaryTotal/cbc:ChargeTotalAmount
Example (invalid invoice)
invalid/BR-CO-13/ubl-inv-tax-exclusive-mismatch.xml