Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID is missing from ram:SellerOrderReferencedDocument or occurs more than once. The element must occur exactly once.
The seller’s order reference contains exactly one identifier assigned by the issuer of the referenced document.
The seller’s order reference is missing the identifier for the referenced document or has it entered more than once. Exactly one ram:IssuerAssignedID element must appear here.
- Find the
ram:SellerOrderReferencedDocumentelement. - Make sure it contains exactly one
ram:IssuerAssignedIDelement. - Generate the invoice again and validate it.
<ram:SellerOrderReferencedDocument/>
<ram:SellerOrderReferencedDocument> <ram:IssuerAssignedID>PO-123</ram:IssuerAssignedID> </ram:SellerOrderReferencedDocument>
Technical details
The test counts the direct ram:IssuerAssignedID elements in ram:SellerOrderReferencedDocument and requires exactly one.
The rule applies to ram:SellerOrderReferencedDocument in the agreement details of the seller section.
rule/@context)assert/@test)