Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:BuyerAgentTradeParty contains more than one ram:URIUniversalCommunication. This element may occur at most once there.
The rule limits the buyer agent’s URI communication information to no more than one corresponding element.
Several ram:URIUniversalCommunication elements are present in ram:BuyerAgentTradeParty. The rule allows at most one there; this information is not required.
- Locate
ram:BuyerAgentTradePartyin the invoice agreement section. - Remove extra
ram:URIUniversalCommunicationelements so that no more than one remains. - Generate the invoice again and validate it once more.
<ram:BuyerAgentTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:BuyerAgentTradeParty>
<ram:BuyerAgentTradeParty> <ram:URIUniversalCommunication/> </ram:BuyerAgentTradeParty>
Technical details
The test counts the direct ram:URIUniversalCommunication elements under ram:BuyerAgentTradeParty and requires no more than 1; the element may be absent.
The rule applies to ram:URIUniversalCommunication within ram:BuyerAgentTradeParty in the document-level agreement section.
rule/@context)assert/@test)