Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID is missing from ram:DespatchAdviceReferencedDocument or occurs more than once.
The identifier assigned by the issuer identifies the referenced despatch advice. Requiring exactly one occurrence ensures the reference contains a single identifier.
The identifier is missing from the referenced despatch advice or appears more than once. Adjust the XML so that exactly one ram:IssuerAssignedID is present.
- Find
ram:DespatchAdviceReferencedDocumentin the XML. - Make sure it contains exactly one
ram:IssuerAssignedID. - Regenerate the invoice and validate it again.
<ram:DespatchAdviceReferencedDocument/>
<ram:DespatchAdviceReferencedDocument> <ram:IssuerAssignedID/> </ram:DespatchAdviceReferencedDocument>
Technical details
The test checks whether the number of direct ram:IssuerAssignedID elements in ram:DespatchAdviceReferencedDocument is one.
The rule applies within the referenced despatch advice element ram:DespatchAdviceReferencedDocument.
rule/@context)assert/@test)