Element 'ram:IssuerAssignedID' must occur exactly 1 times.
The referenced document is missing ram:IssuerAssignedID, or the element occurs more than once. It must occur exactly once in this context.
ram:IssuerAssignedID contains the identifier assigned to the referenced document by its issuer. It allows the advance payment to be associated with that document.
The advance payment is missing the identifier of the referenced document, or the identifier is included more than once. It can be recorded once in the document reference.
- Open
ram:InvoiceSpecifiedReferencedDocumentfor the advance payment. - Make sure
ram:IssuerAssignedIDoccurs there exactly once. - Generate the invoice again and validate it once more.
<ram:InvoiceSpecifiedReferencedDocument/>
<ram:InvoiceSpecifiedReferencedDocument> <ram:IssuerAssignedID>REF-1</ram:IssuerAssignedID> </ram:InvoiceSpecifiedReferencedDocument>
Technical details
The XPath test requires ram:IssuerAssignedID to occur exactly once directly under ram:InvoiceSpecifiedReferencedDocument.
The rule applies to ram:InvoiceSpecifiedReferencedDocument within an advance payment in the invoice settlement.
rule/@context)assert/@test)