Element 'ram:Name' must occur exactly 1 times.
ram:Name is missing from ram:PayeeTradeParty or occurs more than once. It must occur exactly once.
The name identifies the payee in the invoice data. The rule requires exactly one name entry.
The payee's ram:Name is missing or appears more than once. This can be corrected by providing exactly one name element.
- Look for
ram:Nameinram:PayeeTradeParty. - Add the element if it is missing, or remove extra occurrences so that exactly one remains.
- Regenerate the invoice and validate it again.
<ram:PayeeTradeParty/>
<ram:PayeeTradeParty> <ram:Name>Payee Name</ram:Name> </ram:PayeeTradeParty>
Technical details
The check verifies that ram:PayeeTradeParty contains exactly one direct ram:Name element.
The rule applies to the payee details in ram:PayeeTradeParty.
rule/@context)assert/@test)