Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID is missing from ram:InvoiceSpecifiedReferencedDocument or occurs more than once. It must occur exactly once.
The issuer-assigned ID identifies the referenced document. Without exactly one such value, the advance payment cannot be unambiguously linked to that document.
The referenced document for the advance payment is missing its issuer ID, or the ID appears more than once. Providing it exactly once makes the reference unambiguous.
- Find the advance payment’s
ram:InvoiceSpecifiedReferencedDocument. - Make sure it contains exactly one
ram:IssuerAssignedID. - Generate the invoice again and validate it once more.
<ram:InvoiceSpecifiedReferencedDocument/>
<ram:InvoiceSpecifiedReferencedDocument> <ram:IssuerAssignedID>ADV-001</ram:IssuerAssignedID> </ram:InvoiceSpecifiedReferencedDocument>
Technical details
The test counts the direct ram:IssuerAssignedID elements in the context of ram:InvoiceSpecifiedReferencedDocument and requires the count to be 1.
The rule applies to the referenced invoice document of a specified advance payment.
rule/@context)assert/@test)