Value of 'ram:CategoryCode' is not allowed.
The value of ram:CategoryCode is not included in the applicable code list. The check also permits an empty code value.
ram:CategoryCode identifies the tax category of the tax information. A non-empty value must belong to the codes defined for this element so that the category can be classified unambiguously.
ram:CategoryCode in an invoice line’s tax information contains a value that does not match the applicable code list. You can adjust the value so that it is empty or included in that list.
- Locate
ram:CategoryCodeinram:ApplicableTradeTaxfor the affected invoice line. - Check its value against the code list applicable to this element.
- Generate the invoice again and check it once more.
Technical details
The test accepts an empty $codeValue24 value or a value listed under cl[@id=24] in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:CategoryCode within ram:ApplicableTradeTax on an invoice line.
rule/@context)assert/@test)