Element 'ram:IssuerAssignedID' must occur exactly 1 times.
ram:IssuerAssignedID does not occur exactly once within ram:ReceivingAdviceReferencedDocument. The element must be present there exactly once.
ram:IssuerAssignedID contains the identifier assigned by the issuer to the referenced receiving advice. Without exactly one such element, the reference is structurally incomplete.
ram:IssuerAssignedID is missing from the referenced receiving advice or appears more than once. The structure can be completed by including this element exactly once.
- Find
ram:ReceivingAdviceReferencedDocumentin the delivery section. - Make sure
ram:IssuerAssignedIDoccurs exactly once within it. - Generate the invoice again and validate it.
<ram:ReceivingAdviceReferencedDocument/>
<ram:ReceivingAdviceReferencedDocument> <ram:IssuerAssignedID/> </ram:ReceivingAdviceReferencedDocument>
Technical details
The XPath test counts the direct ram:IssuerAssignedID elements under ram:ReceivingAdviceReferencedDocument and requires the count to be 1.
The rule applies to ram:ReceivingAdviceReferencedDocument in the delivery section.
rule/@context)assert/@test)