Value of 'ram:TypeCode' is not allowed.
If ram:TypeCode has a value, that value must be included in the code list used by the rule. A value not in the list is not allowed. An empty value passes this specific check.
The tax type code identifies the tax type in the advance payment’s tax information. The check confirms that any supplied code is included in the designated code list.
The advance payment tax type code is not in the designated code list. This check accepts an empty value.
- Locate
ram:TypeCodein the advance payment’sram:IncludedTradeTax. - Compare its value with the code list designated for this rule.
- Replace a value that is not listed with an allowed code, or leave the value empty.
- Regenerate the invoice and validate it again.
Technical details
The test allows an empty code value. Otherwise, the value must occur as an enumeration in code list 26 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:TypeCode within the ram:IncludedTradeTax tax information for an advance payment.
rule/@context)assert/@test)