Value of 'ram:CategoryCode' is not allowed.
The non-empty value of ram:CategoryCode is not present in the code list used by this rule. An empty value is also allowed by the test condition.
ram:CategoryCode identifies the tax category. A non-empty value must match the allowed code list so that the category is coded consistently.
The value entered for ram:CategoryCode is not recognized as an allowed code. You can use a code from the specified code list; the test condition also allows an empty value.
- Check the value of
ram:CategoryCodeinram:AppliedTradeTax. - Use a value allowed by the code list, or leave the value empty.
- Regenerate the invoice and validate it again.
<ram:AppliedTradeTax> <ram:CategoryCode>NOT-A-CODE</ram:CategoryCode> </ram:AppliedTradeTax>
<ram:AppliedTradeTax> <ram:CategoryCode/> </ram:AppliedTradeTax>
Technical details
The Schematron test accepts an empty value or a value listed in code list 24 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to the value of ram:CategoryCode in ram:AppliedTradeTax for a document-level logistics service charge.
rule/@context)assert/@test)