Value of 'ram:ExemptionReasonCode' is not allowed.
The non-empty value of ram:ExemptionReasonCode is not permitted by the tax exemption reason code list. The test also accepts an empty value.
ram:ExemptionReasonCode identifies the reason for a tax exemption in the tax information. A code that is not permitted cannot be used as a compliant exemption reason.
The tax exemption reason provided is not permitted. A value from the designated code list or an empty value satisfies the test.
- Check the value of
ram:ExemptionReasonCodeinram:CategoryTradeTax. - Use a value from the tax exemption reason 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:ExemptionReasonCode must be present in code list 25 in FACTUR-X_EXTENDED_codedb.xml.
The rule checks ram:ExemptionReasonCode within ram:CategoryTradeTax for a document-level allowance identified in ram:SpecifiedTradeAllowanceCharge by ram:ChargeIndicator having the value false.
rule/@context)assert/@test)