Value of 'ram:TypeCode' is not allowed.
The value in ram:TypeCode is not included in the code list specified for this field. An empty value does not trigger this error according to the test condition.
The tax type code assigns the charge to a permitted tax type. A code not in the list can affect the correct business classification of the tax information.
The tax type code ram:TypeCode on the charge is not included in the specified code list. You can correct the entry by using a value allowed in that list.
- Locate the document-level charge and check its
ram:CategoryTradeTax/ram:TypeCode. - Replace the disallowed value with one included in the specified code list.
- Regenerate the invoice and validate it again.
Technical details
The test accepts an empty code or a value included in code list 7 of the Factur-X code database.
The rule applies to the tax type code ram:TypeCode in the tax information for a document-level charge.
rule/@context)assert/@test)