Element 'ram:IssuerAssignedID' must occur exactly 1 times.
Within ram:UltimateCustomerOrderReferencedDocument, ram:IssuerAssignedID does not occur exactly once. The element is missing or occurs more than once.
The issuer-assigned identifier provides the reference to the ultimate customer’s order.
The order reference for the ultimate customer is missing ram:IssuerAssignedID or contains it more than once. You can adjust the number of identifiers in the referenced document.
- Check
ram:UltimateCustomerOrderReferencedDocumentand make sure it contains exactly oneram:IssuerAssignedID. - Regenerate the invoice and validate it again.
<ram:UltimateCustomerOrderReferencedDocument/>
<ram:UltimateCustomerOrderReferencedDocument> <ram:IssuerAssignedID/> </ram:UltimateCustomerOrderReferencedDocument>
Technical details
The test counts the direct ram:IssuerAssignedID elements in the referenced document and requires exactly one occurrence.
The rule applies to ram:UltimateCustomerOrderReferencedDocument in the invoice trade agreement.
rule/@context)assert/@test)