Element 'ram:IssuerAssignedID' must occur exactly 1 times.
The additional referenced document does not contain exactly one ram:IssuerAssignedID. The element is either missing or occurs more than once.
ram:IssuerAssignedID contains the identifier assigned to the referenced document by its issuer. Exactly one value ensures that the identifier is specified unambiguously for this document.
The additional referenced document with ram:TypeCode 916 is missing ram:IssuerAssignedID, or the element occurs more than once. You can adjust the document so that the element occurs exactly once.
- Locate the additional referenced document with
ram:TypeCode916. - Check that it contains exactly one
ram:IssuerAssignedID. - Add the element if it is missing, or remove any extra occurrences.
- Regenerate the invoice and validate it again.
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>916</ram:TypeCode> <ram:IssuerAssignedID>REF-123</ram:IssuerAssignedID> </ram:AdditionalReferencedDocument>
Technical details
The assertion counts the direct ram:IssuerAssignedID elements in the current ram:AdditionalReferencedDocument with ram:TypeCode 916 and requires exactly one.
The rule applies to each additional referenced document with ram:TypeCode 916 within the document-level agreement.
rule/@context)assert/@test)