BR-CO-10ErrorZATCA Phase 2 UBL 2.1implemented
Sum of Line Net Amounts Must Match BT-106
LegalMonetaryTotal/LineExtensionAmount (BT-106) must equal the exact Decimal sum of every InvoiceLine/LineExtensionAmount (BT-131).
- Scope
- Monetary Totals
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
- Target XPath
/Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount
Typical Reason for Failure
Floating-point rounding drift or omitted line items cause header sum mismatches.
Invalid Synthetic Example
Before (Fails)xml
<cbc:LineExtensionAmount currencyID="SAR">999.00</cbc:LineExtensionAmount> <!-- Lines sum to 1000.00 -->Corrected Synthetic Example
After (Fixed)xml
<cbc:LineExtensionAmount currencyID="SAR">1000.00</cbc:LineExtensionAmount>Explanation of the Fix
Compute BT-106 using exact Decimal summation of all BT-131 line values.
Official Source Reference
ZATCA Electronic Invoice XML Implementation Standard (Phase 2)
Open official specificationTest your invoice against BR-CO-10 now
Browser quick check; raw XML is never stored.