Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID is missing from ram:DeliveryNoteReferencedDocument or occurs more than once. It must occur exactly once.
The identifier links the reference to the delivery note identifier assigned by its issuer.
The delivery note reference does not contain the issuer identifier exactly once. You can adjust the XML entry to resolve this.
- Locate
ram:DeliveryNoteReferencedDocumentin the delivery information. - Check that it contains
ram:IssuerAssignedIDexactly once. - Generate the invoice again and validate it once more.
<ram:DeliveryNoteReferencedDocument/>
<ram:DeliveryNoteReferencedDocument> <ram:IssuerAssignedID>DN-123</ram:IssuerAssignedID> </ram:DeliveryNoteReferencedDocument>
Technical details
The XPath counts the direct ram:IssuerAssignedID elements in ram:DeliveryNoteReferencedDocument; the count must equal 1.
The rule applies to the delivery note reference document in the invoice’s delivery information.
rule/@context)assert/@test)