Value of 'ram:CategoryCode' is not allowed.
A non-empty value of ram:CategoryCode does not appear in the code list used by this rule. The XPath expression also permits an empty value.
The tax category code identifies the charge’s tax category. A non-empty code must come from the specified code list so that the category can be identified unambiguously.
The value in the charge’s ram:CategoryCode is not in the corresponding code list. The rule also permits an empty value.
- Find
ram:CategoryCodewithin the charge’s tax information. - Check whether the non-empty value is included in the code list specified for this rule.
- Generate the invoice again and validate it once more.
Technical details
The test permits an empty $codeValue14; otherwise, the value must occur as @value in codedb/cl[@id=14]/enumeration.
The rule checks ram:CategoryCode in ram:CategoryTradeTax for a document-level charge in the settlement.
rule/@context)assert/@test)