BR-CO-10: Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131)
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
(xs:decimal(cbc:LineExtensionAmount) = xs:decimal(round(sum(//(cac:InvoiceLine|cac:CreditNoteLine)/xs:decimal(cbc:LineExtensionAmount)) * 10 * 10) div 100))BR-CO-10 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BT-106, BT-131.
What this rule requires
The rule requires that the document-level total net amount (cbc:LineExtensionAmount in cac:LegalMonetaryTotal, or ram:LineTotalAmount in ram:SpecifiedTradeSettlementHeaderMonetarySummation) equals the sum of the line-level net amounts (cbc:LineExtensionAmount per cac:InvoiceLine or cac:CreditNoteLine, or ram:LineTotalAmount per line), rounded to two decimal places. A document fails when these two values do not match.
How to fix
Set the document-level total to the exact sum of the line net amounts, rounded to two decimal places, or correct the line amounts that contribute to that sum. In UBL, update cac:LegalMonetaryTotal/cbc:LineExtensionAmount; in CII, update ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to BR-CO-10.
Validate an invoice against these rules · All release changes