Value of 'ram:TypeCode' is not allowed.
A non-empty value of ram:TypeCode does not appear in the code list used by this rule. The XPath expression also permits an empty value.
The tax type code identifies the charge’s tax type. A non-empty code must come from the specified code list so that the tax type can be classified unambiguously.
The value in ram:TypeCode of the charge’s tax information is not in the corresponding code list. The rule also permits an empty value.
- Find
ram:TypeCodewithin the charge’s tax information. - Check whether the non-empty value is included in the code list specified for this rule.
- Generate the invoice again and validate it once more.
Technical details
The test permits an empty $codeValue13; otherwise, the value must occur as @value in codedb/cl[@id=13]/enumeration.
The rule checks ram:TypeCode in ram:CategoryTradeTax for a document-level charge in the settlement.
rule/@context)assert/@test)