Value of 'ram:ReasonCode' is not allowed.
The value in ram:ReasonCode for the allowance is neither empty nor included in the code list used by this rule.
If provided, the reason code for the allowance must come from the permitted code list. The rule concerns an allowance because ram:ChargeIndicator has the value false, and it also accepts an empty value.
This rule does not recognize the value in ram:ReasonCode for the allowance as allowed. You can use a value from the applicable code list or leave the value empty.
- Check
ram:ReasonCodefor the allowance. - Use an entry from the applicable code list or leave the value empty.
- Regenerate the invoice and check it again.
Technical details
The test selects ram:SpecifiedTradeAllowanceCharge with ram:ChargeIndicator equal to false and accepts an empty value or an entry from FACTUR-X_BASIC_codedb.xml, code list 21.
The rule applies to ram:ReasonCode for a document-level allowance. It applies when ram:ChargeIndicator has the value false.
rule/@context)assert/@test)