Value of 'ram:CategoryCode' is not allowed.
The non-empty value of ram:CategoryCode is not permitted by the tax category code list. The test also accepts an empty value.
ram:CategoryCode identifies the allowance’s tax category. A code that is not permitted cannot be assigned to this entry in accordance with the rule.
The code provided for the allowance tax category is not permitted. A value from the designated code list or an empty value satisfies the test.
- Check the value of
ram:CategoryCodeinram:CategoryTradeTax. - Use a value from the tax category code list, or leave the value empty.
- Generate the invoice again and validate it.
Technical details
The test permits an empty value; otherwise, the value of ram:CategoryCode must be present in code list 24 in FACTUR-X_EXTENDED_codedb.xml.
The rule checks the value of ram:CategoryCode within ram:CategoryTradeTax for a document-level allowance identified in ram:SpecifiedTradeAllowanceCharge by ram:ChargeIndicator having the value false.
rule/@context)assert/@test)