BR-CO-10 — Sum of line net amounts is wrong (BT-106)
- Standard: EN16931
- Severity: fatal
- Business Terms: BT-106, BT-131
Meaning
"Sum of Invoice line net amount" (BT-106) must equal the sum of every "Invoice line net amount" (BT-131): BT-106 = Σ BT-131.
Possible causes
- BT-106 (LegalMonetaryTotal/LineExtensionAmount) differs from the total of the line LineExtensionAmounts.
- A line was skipped or double-counted when summing.
How to fix it
- Set BT-106 (cac:LegalMonetaryTotal/cbc:LineExtensionAmount) to the exact sum of all line BT-131 values.
Affected fields
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount/ubl:Invoice/cac:InvoiceLine/cbc:LineExtensionAmount
Example (invalid invoice)
invalid/BR-CO-10/ubl-inv-line-sum-mismatch.xml