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