Value of 'ram:ReasonCode' is not allowed.
The value of ram:ReasonCode is neither empty nor included in the permitted code list.
ram:ReasonCode identifies the reason for the allowance. A permitted code allows this reason to be stated in a standardised way.
The value of ram:ReasonCode for the allowance does not match the permitted code list. You can correct the value using the list or leave it empty.
- Check
ram:ReasonCodein the allowance’sram:SpecifiedTradeAllowanceCharge. - Use a value from the permitted code list or leave the value empty.
- Regenerate the invoice and check it again.
Technical details
The test accepts an empty code or a value from code list 45 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:ReasonCode of a document-level allowance within ram:SpecifiedTradeAllowanceCharge.
rule/@context)assert/@test)