Value of 'ram:ReasonCode[@listID="5153"]' is not allowed.
A non-empty value in this ram:ReasonCode is not included in the designated value list. An empty value passes this check.
ram:ReasonCode states the reason for the charge. In this case, the code is checked against the value list for listID 5153.
The reason code for the charge on the invoice line is not in the designated value list for listID 5153. Using an allowed code will satisfy this check.
- Check
ram:ReasonCodefor the charge whoseram:ChargeIndicatorhas the valuetrue. - For a non-empty value, use an entry from the value list for
listID5153. - 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 30.
The rule applies to ram:ReasonCode of a charge on an invoice line where ram:ChargeIndicator has the value true and listID has the value 5153.
rule/@context)assert/@test)