ALIGNED-IBRP-057

[ALIGNED-IBRP-057] - Either both or neither Allowance base amount (IBT-093) and percentage (IBT-094) MUST be provided.

About

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