Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID does not occur exactly once in ram:AdditionalReferencedDocument. The element is missing or appears more than once.
ram:IssuerAssignedID contains the identifier assigned to the referenced document by its issuer. Exactly one value allows that identifier to be stated unambiguously.
The additional referenced document is missing its issuer-assigned identifier, or the identifier is entered more than once. You can correct the number of entries.
- Locate the relevant
ram:AdditionalReferencedDocument. - Make sure it contains exactly one
ram:IssuerAssignedID. - Generate the invoice again and validate it once more.
<ram:AdditionalReferencedDocument/>
<ram:AdditionalReferencedDocument> <ram:IssuerAssignedID>x</ram:IssuerAssignedID> </ram:AdditionalReferencedDocument>
Technical details
The XPath test checks whether exactly one direct ram:IssuerAssignedID element is present.
The rule applies to ram:AdditionalReferencedDocument in a line item's settlement information.
rule/@context)assert/@test)