Message

If allowance is present on document level, total allowance must be stated.

Context
ubl:CreditNote
Test
cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount or not(cac:AllowanceCharge[cbc:ChargeIndicator = 'false'])