Element 'ram:URIID' must occur exactly 1 times.
URIID is missing from EmailURIUniversalCommunication or occurs more than once. URIID must appear exactly once.
The buyer agent’s email communication requires exactly one URIID element. Without it, the URI value provided for this structure is absent.
URIID is missing or appears more than once in the buyer agent’s email communication. Having exactly one URIID element resolves this issue.
- Find
EmailURIUniversalCommunicationin the buyer agent’s contact. - Make sure it contains exactly one
URIIDelement. - Generate the invoice again and validate it once more.
<ram:BuyerAgentTradeParty> <ram:DefinedTradeContact> <ram:EmailURIUniversalCommunication/> </ram:DefinedTradeContact> </ram:BuyerAgentTradeParty>
<ram:BuyerAgentTradeParty> <ram:DefinedTradeContact> <ram:EmailURIUniversalCommunication> <ram:URIID>contact@example.com</ram:URIID> </ram:EmailURIUniversalCommunication> </ram:DefinedTradeContact> </ram:BuyerAgentTradeParty>
Technical details
The test counts the direct URIID child elements of EmailURIUniversalCommunication and requires exactly one.
The rule applies to EmailURIUniversalCommunication within the DefinedTradeContact of BuyerAgentTradeParty.
rule/@context)assert/@test)