Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:URIUniversalCommunication occurs more than once in ram:ShipFromTradeParty.
The rule limits the number of communication details for the ship-from party to at most one. Under this rule, ram:URIUniversalCommunication may be absent.
ram:URIUniversalCommunication appears more than once in ram:ShipFromTradeParty. Remove the extra occurrences so that the communication details appear no more than once.
- Locate
ram:ShipFromTradePartyin the delivery information. - Check whether
ram:URIUniversalCommunicationoccurs more than once there and remove any extra occurrences. - Generate the invoice again and validate it.
<ram:ShipFromTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:ShipFromTradeParty>
<ram:ShipFromTradeParty> <ram:URIUniversalCommunication/> </ram:ShipFromTradeParty>
Technical details
The Schematron condition checks whether the number of direct ram:URIUniversalCommunication elements in the context is at most one.
The rule applies to ram:URIUniversalCommunication in ram:ShipFromTradeParty within the delivery information.
rule/@context)assert/@test)