Sum of line amounts MUST equal the credit note line net amounts
//cac:LegalMonetaryTotal
(xs:decimal(cbc:LineExtensionAmount)) = (round(sum((//cac:CreditNoteLine/xs:decimal(cbc:LineExtensionAmount))) * 10 * 10) div 100)