Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:SellerOrderReferencedDocument must contain exactly one ram:IssuerAssignedID element. The element is either missing or occurs more than once.
ram:IssuerAssignedID contains the identifier assigned by the issuer to the referenced seller order. Exactly one value ensures that the reference is stated unambiguously.
The seller order reference is missing ram:IssuerAssignedID, or the element occurs more than once. Exactly one such element states the order reference unambiguously.
- Check
ram:SellerOrderReferencedDocumentin the invoice header’s agreement information. - Make sure it contains exactly one
ram:IssuerAssignedID. - Generate the invoice again and validate it once more.
<ram:SellerOrderReferencedDocument/>
<ram:SellerOrderReferencedDocument> <ram:IssuerAssignedID>PO-123</ram:IssuerAssignedID> </ram:SellerOrderReferencedDocument>
Technical details
The Schematron check requires the number of direct ram:IssuerAssignedID child elements of ram:SellerOrderReferencedDocument to be exactly 1.
The rule applies to ram:SellerOrderReferencedDocument in the agreement information of the invoice header.
rule/@context)assert/@test)