Value of 'ram:ReasonCode' is not allowed.
A non-empty value in ram:ReasonCode is not included in the value list designated for the allowance reason. An empty value passes this check.
ram:ReasonCode states the reason for the allowance. A non-empty reason code must match an allowed entry.
The reason code for the allowance on the invoice line is not in the designated value list. Using an allowed code will satisfy this check.
- Check
ram:ReasonCodefor the allowance whoseram:ChargeIndicatorhas the valuefalse. - For a non-empty value, use an entry from the designated value list.
- Generate the invoice again and validate it.
Technical details
The test permits an empty code value; otherwise, it checks the value against the enumeration in code list 28.
The rule applies to ram:ReasonCode of an allowance on an invoice line where ram:ChargeIndicator has the value false.
rule/@context)assert/@test)