Element 'ram:ID' may occur at maximum 1 times.
ram:PayerTradeParty contains more than one ram:ID. This element may occur there no more than once.
This rule limits the number of identifiers for the payer in this element to no more than one.
Multiple ram:ID elements are entered in ram:PayerTradeParty. No more than one such element may appear there.
- Locate
ram:PayerTradePartyin the invoice settlement. - Count the
ram:IDelements it contains and keep no more than one. - Generate the invoice again and validate it again.
<ram:PayerTradeParty> <ram:ID>A</ram:ID> <ram:ID>B</ram:ID> </ram:PayerTradeParty>
<ram:PayerTradeParty> <ram:ID>A</ram:ID> </ram:PayerTradeParty>
Technical details
The check verifies that ram:PayerTradeParty contains no more than one direct ram:ID element.
The ram:PayerTradeParty in the invoice settlement.
rule/@context)assert/@test)