Element 'ram:IssuerAssignedID' must occur exactly 1 times.
The referenced quotation document does not contain exactly one ram:IssuerAssignedID element. The issuer-assigned reference is either missing or occurs more than once.
The issuer-assigned reference identifies the referenced quotation. Exactly one element ensures that the reference is provided unambiguously.
The referenced quotation document is missing ram:IssuerAssignedID, or the element occurs more than once. The reference can be stated unambiguously with exactly one such element.
- Locate
ram:QuotationReferencedDocument. - Check the
ram:IssuerAssignedIDelements it contains. - Ensure that exactly one
ram:IssuerAssignedIDelement is present. - Generate the invoice again and validate it.
<ram:QuotationReferencedDocument> <ram:IssuerAssignedID>Q-123</ram:IssuerAssignedID> <ram:IssuerAssignedID>Q-456</ram:IssuerAssignedID> </ram:QuotationReferencedDocument>
<ram:QuotationReferencedDocument> <ram:IssuerAssignedID>Q-123</ram:IssuerAssignedID> </ram:QuotationReferencedDocument>
Technical details
The rule counts the direct ram:IssuerAssignedID elements in ram:QuotationReferencedDocument and requires the count to be 1.
The rule applies to ram:IssuerAssignedID in the quotation document referenced by the agreement.
rule/@context)assert/@test)