Message

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

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