Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
The ram:URIUniversalCommunication element occurs more than once within ram:ShipToTradeParty. This element may appear there no more than once.
ram:URIUniversalCommunication contains a URI communication entry for the delivery recipient. The rule limits this element to one occurrence.
The delivery recipient contains ram:URIUniversalCommunication more than once. You can resolve the issue by limiting it to no more than one element.
- Locate
ram:ShipToTradePartyin the invoice line’s delivery information. - Remove extra
ram:URIUniversalCommunicationelements so that no more than one remains. - Generate the invoice again and validate it once more.
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
Technical details
The test counts the direct ram:URIUniversalCommunication elements within ram:ShipToTradeParty and passes when no more than one is present.
The rule applies within ram:ShipToTradeParty in the delivery information for an invoice line.
rule/@context)assert/@test)