Value of 'ram:ReasonCode[not (@listID)]' is not allowed.
The value in ram:ReasonCode without listID is not included in the code list specified for this field. An empty value does not trigger this error according to the test condition.
The reason code describes the reason for the charge. A code not in the list can prevent that reason from being classified as intended.
The reason code ram:ReasonCode on the charge is not included in the specified code list. You can correct the entry by using a value allowed in that list.
- Locate the document-level charge and check
ram:ReasonCodewithout thelistIDattribute. - Replace the disallowed value with one included in the specified code list.
- Regenerate the invoice and validate it again.
Technical details
The test checks the value of ram:ReasonCode without listID against code list 22 of the Factur-X code database; an empty value is accepted.
The rule applies to ram:ReasonCode without the listID attribute on a document-level charge.
rule/@context)assert/@test)