BR-CO-10 EN 16931 Math & Tax EU FATAL REJECTION
BR-CO-10 — Sum of Invoice Line Net Amounts Mismatch (BT-106)
Rule Definition & Compliance Impact
Rule BR-CO-10 enforces exact penny-level equality: Sum of Invoice line net amounts (BT-106) MUST equal the exact arithmetic sum of all rounded Invoice line net amounts (BT-131).
Common ERP & Exporter Root Causes
ERP engines sum unrounded 4-decimal floating-point line totals (e.g. 33.334 + 33.334 = 66.67) into BT-106 while printing 2-decimal rounded line amounts (33.33 + 33.33 = 66.66) in BT-131.
How to Fix This Violation
Round each line net amount (BT-131) to 2 decimal places FIRST using half-up rounding, and compute BT-106 strictly as the sum of those already-rounded BT-131 values.
Non-Compliant vs. Compliant Payload Comparison
UN/CEFACT CII D16B (Factur-X / ZUGFeRD)
REJECTED
<!-- Line 1 LineTotalAmount = 33.33, Line 2 LineTotalAmount = 33.33 -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<!-- Sum of unrounded 33.333 + 33.333 = 66.67, mismatching 33.33 + 33.33 = 66.66! -->
<ram:LineTotalAmount>66.67</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation> COMPLIANT
<!-- Line 1 LineTotalAmount = 33.33, Line 2 LineTotalAmount = 33.33 -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>66.66</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>OASIS UBL 2.1 (XRechnung / Peppol / RO e-Factura)
REJECTED
<!-- Sum of cac:InvoiceLine/cbc:LineExtensionAmount is 66.66 -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">66.67</cbc:LineExtensionAmount>
</cac:LegalMonetaryTotal> COMPLIANT
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">66.66</cbc:LineExtensionAmount>
</cac:LegalMonetaryTotal>