Element 'ram:URIID' must occur exactly 1 times.
ram:URIID is missing from ram:URIUniversalCommunication or occurs more than once. The check requires exactly one ram:URIID.
The payee’s URI communication details must be represented by exactly one ram:URIID element.
The payee’s URI communication details do not contain exactly one ram:URIID element. You can adjust the XML accordingly.
- Locate
ram:URIUniversalCommunicationwithinram:PayeeTradeParty. - Check how many times
ram:URIIDoccurs in it. - Ensure that it contains exactly one
ram:URIID. - Regenerate the invoice and validate it again.
<ram:URIUniversalCommunication/>
<ram:URIUniversalCommunication> <ram:URIID>...</ram:URIID> </ram:URIUniversalCommunication>
Technical details
The XPath test counts the direct ram:URIID elements within ram:URIUniversalCommunication and requires the count to be 1.
The rule applies to the URI communication details (ram:URIUniversalCommunication) of the payee in ram:PayeeTradeParty.
rule/@context)assert/@test)