Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:URIUniversalCommunication occurs more than once in ram:ShipToTradeParty.
ram:URIUniversalCommunication contains a URI communication reference for the ship-to party. The rule limits this element to at most one occurrence.
ram:URIUniversalCommunication is provided more than once for the ship-to party. You can adjust the invoice so that it contains no more than one such element there.
- Find
ram:ShipToTradePartyfor the delivery address of the invoice line. - Count the
ram:URIUniversalCommunicationelements it contains and remove any extra occurrences. - Regenerate the invoice and validate it again.
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:URIUniversalCommunication/> </ram:ShipToTradeParty>
Technical details
The test counts the direct ram:URIUniversalCommunication elements under ram:ShipToTradeParty and passes when their count is at most one.
The rule applies to ram:ShipToTradeParty for the delivery address of an invoice line.
rule/@context)assert/@test)