Value of 'ram:ReasonCode[@listID="5153"]' is not allowed.
The value of ram:ReasonCode with listID="5153" is neither empty nor included in the corresponding Factur-X code list. The specified reason code is therefore not allowed.
The reason code describes the reason for the allowance. Using an allowed code from the specified list enables standardized transmission.
The allowance’s reason code is not recognized as an allowed value from the specified code list. You can compare it with list 5153.
- Locate
ram:ReasonCodeon the allowance and check that it haslistID="5153". - Check whether its value is included in the corresponding code list.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value present in code list 47 in FACTUR-X_EXTENDED_codedb.xml. The context restricts the element to listID="5153".
The rule applies to ram:ReasonCode with the attribute listID="5153" on a document-level allowance.
rule/@context)assert/@test)