Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not empty and does not match any value allowed by the code list for this element. An empty value passes this check.
The tax type code assigns the charge to a tax category. A disallowed code therefore cannot be reliably interpreted as the intended tax type.
The tax type code for the charge does not match the allowed code list. You can adjust the value or leave the element empty.
- Find the
ram:TypeCodeelement in the charge. - Compare its value with the codes allowed for this element.
- Adjust the value or leave
ram:TypeCodeempty. - Generate the invoice again and validate it.
Technical details
The XPath allows an empty ram:TypeCode or requires its value to occur in the code list identified by 26.
The rule applies to ram:TypeCode in the tax details of a document-level ram:SpecifiedTradeAllowanceCharge when the entry is marked as a charge.
rule/@context)assert/@test)