Element 'ram:IssuerAssignedID' must occur exactly 1 times.
QuotationReferencedDocument does not contain exactly one IssuerAssignedID element. The element is either missing or occurs more than once.
IssuerAssignedID contains the identifier assigned by the issuer to the referenced quotation document.
QuotationReferencedDocument is missing an IssuerAssignedID or contains it more than once. You can adjust the entries so that exactly one IssuerAssignedID element is present.
- Find
QuotationReferencedDocumentunderApplicableHeaderTradeAgreement. - Ensure that it contains exactly one
IssuerAssignedIDelement. - Generate the invoice again and validate it again.
<ram:QuotationReferencedDocument/>
<ram:QuotationReferencedDocument> <ram:IssuerAssignedID>Q-123</ram:IssuerAssignedID> </ram:QuotationReferencedDocument>
Technical details
The Schematron test counts the direct ram:IssuerAssignedID child elements of ram:QuotationReferencedDocument and requires exactly one.
The rule applies to QuotationReferencedDocument in the end user's agreement under ApplicableHeaderTradeAgreement.
rule/@context)assert/@test)