Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not empty and is not included in the code list used by this rule. An empty value explicitly satisfies this rule’s test.
The code list limits the document type to standardized values so that the referenced document type can be interpreted consistently.
The code in ram:TypeCode is not recognized as allowed by this rule. You can check the value against the code list that applies to this field.
- Check the value in
ram:TypeCodeof the relevantram:AdditionalReferencedDocument. - Compare the value with the codes allowed for this field.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value found in code list 38 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:TypeCode in a document-level ram:AdditionalReferencedDocument whose ram:TypeCode is 916.
rule/@context)assert/@test)