Value of 'ram:TypeCode' is not allowed.
The non-empty value of ram:TypeCode is not present in the code list used by this rule. An empty value is also allowed by the test condition.
ram:TypeCode identifies the tax type. A non-empty value must match the allowed code list so that the tax type is represented by an allowed code.
The value entered for ram:TypeCode is not recognized as an allowed code. You can use a code from the specified code list; the test condition also allows an empty value.
- Check the value of
ram:TypeCodeinram:AppliedTradeTax. - Use a value allowed by the code list, or leave the value empty.
- Regenerate the invoice and validate it again.
<ram:AppliedTradeTax> <ram:TypeCode>NOT-A-CODE</ram:TypeCode> </ram:AppliedTradeTax>
Technical details
The Schematron test accepts an empty value or a value listed in code list 26 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to the value of ram:TypeCode in ram:AppliedTradeTax for a document-level logistics service charge.
rule/@context)assert/@test)