Value of 'ram:TypeCode' is not allowed.
The value in ram:TypeCode is not permitted in the designated code list. This check does not reject an empty value.
ram:TypeCode identifies the type of additional referenced document. A code that is not permitted prevents the document type from being classified according to the code list.
The additional referenced document has a value in ram:TypeCode that is not permitted. You can compare the type code with the allowed values.
- Find the affected
ram:AdditionalReferencedDocumentin the invoice header. - Check the value of
ram:TypeCodeagainst the allowed values in the code list. - Generate the invoice again and validate it once more.
Technical details
The rule checks ram:TypeCode against the entries in code list ID 40 in FACTUR-X_EXTENDED_codedb.xml; an empty value is accepted by this test.
Applies to ram:TypeCode of the additional referenced document in the invoice header when its value is 130.
rule/@context)assert/@test)