Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is not included in the code list specified for this element. This check does not report an empty value as an error.
ram:TypeCode identifies the kind of referenced document. A code not in the list does not correspond to a document type allowed in this context.
The value in ram:TypeCode is not included in the code list applicable to this referenced document. Using a value listed there can resolve the issue.
- Locate the additional referenced document whose
ram:TypeCodeis being checked. - Check the value of
ram:TypeCodeagainst the applicable code list. - Enter a value listed there.
- Regenerate the invoice and validate it again.
Technical details
The assertion compares the value with entries in the code list identified by 40. An empty value also satisfies the condition.
The rule applies to ram:TypeCode of an additional referenced document of type 130 within the document-level agreement.
rule/@context)assert/@test)