Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
The ram:ShipToTradeParty element contains more than one ram:URIUniversalCommunication element. At most one is permitted in this context.
The rule limits the number of URI communication elements for the delivery recipient to at most one.
Several ram:URIUniversalCommunication elements are present in ram:ShipToTradeParty. Only one is allowed in this section.
- Locate
ram:ShipToTradePartyin the delivery section. - Remove extra
ram:URIUniversalCommunicationelements so that no more than one remains. - Regenerate the invoice and validate it again.
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
Technical details
The check counts the direct child elements ram:URIUniversalCommunication of ram:ShipToTradeParty and requires their number to be no greater than one.
The rule applies within the ram:ShipToTradeParty element in the delivery section.
rule/@context)assert/@test)