Value of 'ram:TypeCode' is not allowed.
The value in ram:TypeCode is not empty and is not included in the code list identified by 18. An empty value passes this check.
The code identifies the type of the referenced document. The rule ensures that a supplied code belongs to the corresponding code list.
The document type code in ram:TypeCode is not included in the applicable code list. You can review and adjust the value based on this rule.
- Locate the affected invoice line
ram:AdditionalReferencedDocument. - Check whether the value of
ram:TypeCodeis included in the applicable code list. - Generate the invoice again and validate it once more.
Technical details
The test accepts an empty value or a value present in FACTUR-X_EXTENDED_codedb.xml under code-list identifier 18.
The rule applies to ram:TypeCode of a ram:AdditionalReferencedDocument at invoice line level.
rule/@context)assert/@test)