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