Value of 'ram:ReferenceTypeCode' is not allowed.
The value of ram:ReferenceTypeCode is neither empty nor included in the applicable code list.
ram:ReferenceTypeCode identifies the type of reference to the additional referenced document. A code that is not allowed does not conform to the applicable value list.
The additional document's reference type has a value that is not in the applicable code list. You can replace it with an allowed code.
- Locate
ram:ReferenceTypeCodein 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:ReferenceTypeCode>INVALID</ram:ReferenceTypeCode>
<ram:ReferenceTypeCode/>
Technical details
The XPath test accepts an empty value or a value included in code list 14.
The rule applies to ram:ReferenceTypeCode in ram:AdditionalReferencedDocument in a line item's settlement information.
rule/@context)assert/@test)