Element 'ram:URIID' must occur exactly 1 times.
ram:URIID does not occur exactly once in ram:URIUniversalCommunication. The rule requires exactly one such element.
The rule ensures that the URI communication contains exactly one identifier.
The item seller’s URI communication does not contain exactly one ram:URIID element. You can check the number of identifier elements.
- Find
ram:URIUniversalCommunicationfor theram:ItemSellerTradePartyon the affected invoice line. - Check that exactly one direct
ram:URIIDelement is present. - Generate the invoice again and validate it once more.
<ram:URIUniversalCommunication> <ram:URIID>A</ram:URIID> <ram:URIID>B</ram:URIID> </ram:URIUniversalCommunication>
<ram:URIUniversalCommunication> <ram:URIID>A</ram:URIID> </ram:URIUniversalCommunication>
Technical details
The XPath test counts the direct ram:URIID elements in ram:URIUniversalCommunication and requires exactly one.
The rule applies to ram:URIUniversalCommunication of the item seller on an invoice line.
rule/@context)assert/@test)