Element 'ram:Name' must occur exactly 1 times.
ram:Name does not occur exactly once in ram:PayeeTradeParty: the element is either missing or repeated.
The name identifies the payee. Exactly one name is required in this context.
ram:Name is missing or repeated in ram:PayeeTradeParty. Exactly one name is needed in this section.
- Locate
ram:PayeeTradePartyin the payment terms. - Make sure it contains exactly one
ram:Nameelement. - Regenerate the invoice and validate it again.
<ram:PayeeTradeParty/>
<ram:PayeeTradeParty> <ram:Name>Payee</ram:Name> </ram:PayeeTradeParty>
Technical details
The XPath test count(ram:Name)=1 requires exactly one ram:Name element within ram:PayeeTradeParty.
The rule applies to ram:Name within ram:PayeeTradeParty in the document-level payment terms.
rule/@context)assert/@test)