A credit note MUST have the sum of line amounts
/ubl:CreditNote
(cac:LegalMonetaryTotal/cbc:LineExtensionAmount)