Element 'ram:URIID' must occur exactly 1 times.
ram:URIID does not occur exactly once in ram:URIUniversalCommunication. The element is either missing or appears more than once.
ram:URIID contains the URI identifier for the ultimate ship-to party. The rule requires exactly one such element for this communication.
The ultimate ship-to party’s URI communication does not contain exactly one ram:URIID. You can resolve this by ensuring that exactly one such element is present.
- Locate
ram:URIUniversalCommunicationunderram:UltimateShipToTradeParty. - 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 and passes only when the count is one.
The rule applies to ram:URIUniversalCommunication of the ultimate ship-to party (ram:UltimateShipToTradeParty).
rule/@context)assert/@test)