Value of 'ram:ExemptionReasonCode' is not allowed.
A non-empty value in ram:ExemptionReasonCode is not included in the code list used by this rule. This test allows an empty value.
ram:ExemptionReasonCode identifies the reason for the tax exemption. A non-empty value must come from the code list specified for this element.
The value entered in ram:ExemptionReasonCode is not included in the code list used for this element. You can correct it using an allowed entry from that code list.
- Find
ram:ExemptionReasonCodein the relevantram:ApplicableTradeTax. - Compare its value with the allowed entries in the corresponding code list.
- Regenerate the invoice and check it again.
Technical details
The test allows an empty value; otherwise, the value must occur as an enumeration in the code list with ID 15.
The rule checks the value of ram:ExemptionReasonCode within ram:ApplicableTradeTax in the document-level VAT breakdown.
rule/@context)assert/@test)