Value of 'ram:ReferenceTypeCode' is not allowed.
The value in ram:ReferenceTypeCode is not permitted in the designated code list. This check does not reject an empty value.
ram:ReferenceTypeCode identifies the kind of reference made by the additional referenced document. A code that is not permitted may prevent the reference from being classified unambiguously.
The additional referenced document with ram:TypeCode 130 contains a value for ram:ReferenceTypeCode that is not permitted. You can compare the code with the allowed values.
- Find the affected
ram:AdditionalReferencedDocumentwithram:TypeCode130. - Check the value of
ram:ReferenceTypeCodeagainst the allowed values in the code list. - Generate the invoice again and validate it once more.
Technical details
The rule compares ram:ReferenceTypeCode with the entries in code list ID 20 in FACTUR-X_EXTENDED_codedb.xml; an empty value is accepted by this test.
Applies to ram:ReferenceTypeCode of an additional referenced document with ram:TypeCode 130 in the invoice header.
rule/@context)assert/@test)