Value of 'ram:ReasonCode[@listID="5153"]' is not allowed.
The value of ram:ReasonCode with @listID="5153" is not in the permitted code list for this field. An empty value is permitted by the test condition.
ram:ReasonCode identifies the reason for the charge. This test validates the reason code from the code list identified by @listID="5153".
The reason code for the charge on the invoice line is not allowed. You can adjust the code or leave the value empty.
- Locate
ram:ReasonCodewith@listID="5153"in the relevantram:SpecifiedTradeAllowanceChargeon the invoice line. - Check the code against the code list permitted for this field.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value included in the code list with ID 30. The rule context restricts it to ram:ReasonCode[@listID="5153"].
The rule applies to ram:ReasonCode with @listID="5153" for a charge on an invoice line whose ram:ChargeIndicator has the value true.
rule/@context)assert/@test)