If charge is present on document level, total charge must be stated.
ubl:Invoice
cac:LegalMonetaryTotal/cbc:ChargeTotalAmount or not(cac:AllowanceCharge[cbc:ChargeIndicator = 'true'])