Value of 'ram:TypeCode' is not allowed.
The non-empty value of ram:TypeCode is not permitted by the tax type code list. The test also accepts an empty value.
ram:TypeCode identifies the tax type in the allowance’s tax information. A code that is not permitted does not comply with the rule for this entry.
The tax type code in the allowance’s tax information is not permitted. A value from the designated code list or an empty value satisfies the test.
- Check the value of
ram:TypeCodeinram:CategoryTradeTax. - Use a value from the tax type code list, or leave the value empty.
- Generate the invoice again and validate it.
Technical details
The test permits an empty value; otherwise, the value of ram:TypeCode must be present in code list 26 in FACTUR-X_EXTENDED_codedb.xml.
The rule checks ram:TypeCode within ram:CategoryTradeTax for a document-level allowance identified in ram:SpecifiedTradeAllowanceCharge by ram:ChargeIndicator having the value false.
rule/@context)assert/@test)