fatalEN 16931EN 16931 business ruleCIIUBLBG-21BT-99
Each Document level charge (BG-21) shall have a Document level charge amount (BT-99).
A document level charge (BG-21) has no amount (BT-99).
Add BT-99 (UBL AllowanceCharge[ChargeIndicator=true]/cbc:Amount), as a positive number.
CII — context $Document_level_charges
(../ram:ActualAmount)
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = true()]
exists(cbc:Amount)