Element 'ram:ID' may occur at maximum 1 times.
ram:ID occurs more than once in ram:SalesAgentTradeParty. The element may occur no more than once.
The limit keeps the identifier of the party specified as the sales agent unambiguous and prevents multiple ram:ID values in this location.
More than one ram:ID element is entered for the sales agent. You can correct the invoice by ensuring that no more than one identifier is included there.
- Locate
ram:SalesAgentTradePartyin the agreement information. - Check the
ram:IDelements it contains. - Remove any extra
ram:IDelements so that no more than one remains. - Generate the invoice again and validate it.
<ram:SalesAgentTradeParty> <ram:ID>123</ram:ID> <ram:ID>456</ram:ID> </ram:SalesAgentTradeParty>
<ram:SalesAgentTradeParty> <ram:ID>123</ram:ID> </ram:SalesAgentTradeParty>
Technical details
The rule counts the direct ram:ID elements in ram:SalesAgentTradeParty and permits at most one.
This rule applies to ram:ID within ram:SalesAgentTradeParty in the agreement information.
rule/@context)assert/@test)