fatalEN 16931EN 16931 business ruleCIIUBLBG-20BT-92
Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).
A document level allowance (BG-20) has no amount (BT-92).
Add BT-92 (UBL AllowanceCharge[ChargeIndicator=false]/cbc:Amount). State it as a positive number - the ChargeIndicator, not the sign, says it is a deduction.
CII — context $Document_level_allowances
(../ram:ActualAmount)
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = false()]
exists(cbc:Amount)