Element 'ram:PayeeTradeParty' may occur at maximum 1 times.
The ram:PayeeTradeParty element occurs more than once within the same ram:SpecifiedTradePaymentTerms.
The payment terms may contain no more than one payee entry.
The payment terms contain ram:PayeeTradeParty more than once. The payee may be entered there no more than once.
- Find all occurrences of
ram:PayeeTradePartyinram:SpecifiedTradePaymentTerms. - Remove the extra occurrences so that no more than one remains.
- Generate the invoice again and validate it.
<ram:SpecifiedTradePaymentTerms> <ram:PayeeTradeParty/> <ram:PayeeTradeParty/> </ram:SpecifiedTradePaymentTerms>
<ram:SpecifiedTradePaymentTerms> <ram:PayeeTradeParty/> </ram:SpecifiedTradePaymentTerms>
Technical details
The XPath counts direct ram:PayeeTradeParty elements within ram:SpecifiedTradePaymentTerms and requires the count to be at most one.
The rule applies to the ram:PayeeTradeParty element within ram:SpecifiedTradePaymentTerms.
rule/@context)assert/@test)