Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:URIUniversalCommunication occurs more than once in SellerTradeParty. This element may occur there at most once.
The rule limits the seller’s URI communication entry to one element.
The seller details contain ram:URIUniversalCommunication more than once. You can fix this by removing the duplicate entry.
- Find
ram:URIUniversalCommunicationinSellerTradeParty. - Remove any extra elements so that no more than one remains.
- Generate the invoice again and validate it once more.
<ram:SellerTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:URIUniversalCommunication/> </ram:SellerTradeParty>
Technical details
The XPath counts the child elements ram:URIUniversalCommunication in the SellerTradeParty context and permits at most one.
The rule applies within SellerTradeParty in the invoice agreement.
rule/@context)assert/@test)