Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not included in the code list assigned to this element. This test also accepts an empty value.
ram:TypeCode identifies the tax type code for the associated tax details. A value that is not listed does not match a designation defined for this field.
The value in ram:TypeCode is not recognized as an allowed tax type code. You can correct it using the code list that applies to this field.
- Find
ram:TypeCodewithinram:ApplicableTradeTax. - Compare its value with the code list that applies to this field.
- Replace any unlisted value with an allowed value.
- Generate the invoice again and validate it.
Technical details
The test accepts an empty value or a value listed in code list 9; a non-empty value that is not listed fails.
This rule applies to ram:TypeCode within ram:ApplicableTradeTax in the document-level tax details.
rule/@context)assert/@test)