An invoice MUST have the sum of line amounts
/ubl:Invoice
(cac:LegalMonetaryTotal/cbc:LineExtensionAmount)