ALIGNED-IBRP-058

[ALIGNED-IBRP-058] - Either both or neither Charge base amount (IBT-100) and percentage (IBT-101) MUST be provided..

About

ID
ALIGNED-IBRP-058
Flag
fatal
Context
ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = 'true'] | cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = 'true']
Test
(cbc:BaseAmount and cbc:MultiplierFactorNumeric) or (not(cbc:BaseAmount) and not(cbc:MultiplierFactorNumeric))