Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID does not occur exactly once in ram:ContractReferencedDocument. The element is either missing or occurs more than once.
ram:IssuerAssignedID contains the identifier assigned by the issuer to the referenced contract. The rule requires exactly one such identifier.
The contract document does not contain exactly one ram:IssuerAssignedID. You can adjust the number of contract identifiers.
- Find the referenced contract document
ram:ContractReferencedDocument. - Make sure it contains exactly one
ram:IssuerAssignedID. - Generate the invoice again and check it again.
<ram:ContractReferencedDocument/>
<ram:ContractReferencedDocument> <ram:IssuerAssignedID/> </ram:ContractReferencedDocument>
Technical details
The test counts the direct ram:IssuerAssignedID elements in ram:ContractReferencedDocument and requires a count of 1.
The rule applies to the referenced contract document ram:ContractReferencedDocument in the agreement between seller and buyer.
rule/@context)assert/@test)