Message

Sum of line amounts MUST equal the invoice line net amounts

Context
//cac:LegalMonetaryTotal
Test
(xs:decimal(cbc:LineExtensionAmount)) = (round(sum((//cac:InvoiceLine/xs:decimal(cbc:LineExtensionAmount))) * 10 * 10) div 100)
Usage
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:LineExtensionAmount