Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode is neither empty nor included in the applicable code list.
ram:TypeCode identifies the type of the additional referenced document. A code that is not allowed does not conform to the applicable value list.
The additional document type has a value that is not in the applicable code list. You can replace it with an allowed code.
- Locate
ram:TypeCodein the relevantram:AdditionalReferencedDocument. - Check its value and use only a code from the allowed code list.
- Generate the invoice again and validate it once more.
<ram:TypeCode>INVALID</ram:TypeCode>
<ram:TypeCode/>
Technical details
The XPath test accepts an empty value or a value included in code list 13.
The rule applies to ram:TypeCode in ram:AdditionalReferencedDocument in a line item's settlement information.
rule/@context)assert/@test)