Value of 'ram:TypeCode' is not allowed.
The non-empty value of ram:TypeCode is not in the value list used by this rule. An empty value passes this specific test.
The type code identifies the kind of tax information. A code not in the list cannot be recognized as an allowed type using the specified value list.
The value entered in ram:TypeCode is not among the values allowed by this rule. You can correct it using the applicable code list.
- Locate
ram:TypeCodein the allowance’sram:CategoryTradeTax. - 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=13].
The rule checks the value of ram:TypeCode in the ram:CategoryTradeTax tax information of a document-level allowance.
rule/@context)assert/@test)