Message

[UBL-SR-31]-Document level charge reason shall occur maximum once

Context
cac:AllowanceCharge[cbc:ChargeIndicator = true()]
Test
(count(cbc:AllowanceChargeReason) <= 1)