Value of 'ram:ExemptionReasonCode' is not allowed.
The non-empty value of ram:ExemptionReasonCode is not present in the code list used by this rule. An empty value is also allowed by the test condition.
ram:ExemptionReasonCode contains a coded reason for a tax exemption. A non-empty value must match the allowed code list.
The value entered for ram:ExemptionReasonCode is not recognized as an allowed code. You can use a code from the specified code list; the test condition also allows an empty value.
- Check the value of
ram:ExemptionReasonCodeinram:AppliedTradeTax. - Use a value allowed by the code list, or leave the value empty.
- Regenerate the invoice and validate it again.
<ram:AppliedTradeTax> <ram:ExemptionReasonCode>NOT-A-CODE</ram:ExemptionReasonCode> </ram:AppliedTradeTax>
<ram:AppliedTradeTax> <ram:ExemptionReasonCode/> </ram:AppliedTradeTax>
Technical details
The Schematron test accepts an empty value or a value listed in code list 48 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to the value of ram:ExemptionReasonCode in ram:AppliedTradeTax for a document-level logistics service charge.
rule/@context)assert/@test)