Element 'ram:GlobalID' may occur at maximum 1 times.
ram:BuyerTradeParty contains more than one direct ram:GlobalID element. At most one global identifier is allowed for the buyer.
The rule limits the number of global buyer identifiers at this location to one at most.
The buyer record contains multiple global ram:GlobalID identifiers. You can resolve this by leaving no more than one such element there.
- Find
ram:BuyerTradeParty. - Remove any extra
ram:GlobalIDelements from it. - Generate the invoice again and validate it.
<ram:BuyerTradeParty> <ram:GlobalID/> <ram:GlobalID/> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:GlobalID/> </ram:BuyerTradeParty>
Technical details
Within ram:BuyerTradeParty, the number of direct ram:GlobalID elements is checked to be no greater than one.
The rule applies to ram:GlobalID elements within ram:BuyerTradeParty.
rule/@context)assert/@test)