Value of 'ram:ReasonCode' is not allowed.
The non-empty value of ram:ReasonCode is not in the value list used by this rule. An empty value passes this specific test.
The reason code identifies the reason for the allowance. A code not in the list cannot be recognized as an allowed reason using the specified value list.
The value entered in ram:ReasonCode is not among the values allowed by this rule. You can correct it using the applicable code list.
- Locate
ram:ReasonCodeon the allowance inram:SpecifiedTradeAllowanceCharge. - Compare its value with the code list allowed by this rule.
- Generate the invoice again and validate it again.
Technical details
The test permits an empty string; otherwise, the value must be present as an enumeration in codedb/cl[@id=17].
The rule checks the value of ram:ReasonCode on the document-level allowance in ram:SpecifiedTradeAllowanceCharge.
rule/@context)assert/@test)