fatalPeppol BIS Billing 3.0profileCIIUBL
Reason code MUST be according to subset of UNCL 5189 D.16B.
An allowance reason code is not in the UNCL 5189 D.16B subset.
Use a D.16B code — 95 discount, 100 special rebate, 102 fixed long-term, 104 special agreement, 41 bonus for work ahead of schedule. Or send only the reason text.
CII — context ram:SpecifiedTradeAllowanceCharge[normalize-space(ram:ChargeIndicator/udt:Indicator) = 'false']/ram:ReasonCode
some $code in $UNCL5189 satisfies normalize-space(text()) = $code
UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = 'false']/cbc:AllowanceChargeReasonCode
some $code in $UNCL5189 satisfies normalize-space(text()) = $code