Element 'ram:ID' may occur at maximum 1 times.
The ram:ShipToTradeParty element contains more than one ram:ID element. At most one ram:ID is permitted in this context.
The limit prevents multiple ram:ID elements from being supplied for the delivery recipient when this context allows at most one.
Several ram:ID elements are present for the delivery recipient. Only one is allowed in this section.
- Locate
ram:ShipToTradePartyin the delivery section. - Remove extra
ram:IDelements so that no more than one remains. - Regenerate the invoice and validate it again.
<ram:ShipToTradeParty> <ram:ID>1</ram:ID> <ram:ID>2</ram:ID> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:ID>1</ram:ID> </ram:ShipToTradeParty>
Technical details
The check counts the direct child elements ram:ID 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)