Value of 'ram:ReferenceTypeCode' is not allowed.
The value in ram:ReferenceTypeCode is neither empty nor included in the code list for this reference type.
ram:ReferenceTypeCode classifies the type of contract reference. A disallowed code can prevent this reference from being clearly classified.
The contract reference type in ram:ReferenceTypeCode is not in the designated code list. You can correct the entry or leave it empty.
- Find the relevant
ram:ReferenceTypeCodeunderram:ContractReferencedDocument. - Check whether the entered value belongs to the designated code list, or leave the value empty.
- Generate the invoice again and validate it once more.
<ram:ReferenceTypeCode>INVALID</ram:ReferenceTypeCode>
<ram:ReferenceTypeCode/>
Technical details
The test passes when the code value is empty or occurs as a value in the enumeration with id=37 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:ReferenceTypeCode of the contract reference document in the invoice agreement.
rule/@context)assert/@test)