Value of 'ram:ExemptionReasonCode' is not allowed.
If ram:ExemptionReasonCode 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 code identifies the reason for a tax exemption. The check confirms that any supplied reason code is included in the designated code list.
The tax exemption reason code provided for the advance payment is not in the designated code list. This check accepts an empty value.
- Locate
ram:ExemptionReasonCodein 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 25 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:ExemptionReasonCode within the ram:IncludedTradeTax tax information for an advance payment.
rule/@context)assert/@test)