Element 'ram:Name' must occur exactly 1 times.
ram:Name is missing from ram:PayerTradeParty or occurs more than once. It must occur exactly once.
The name identifies the payer in the invoice's settlement information.
The payer's name is missing from the settlement information or appears more than once. This can be resolved by providing it exactly once.
- Add
ram:Nameunderram:PayerTradePartyif it is missing. - Remove any extra
ram:Nameelements so that exactly one remains. - Generate the invoice again and validate it.
<ram:PayerTradeParty/>
<ram:PayerTradeParty> <ram:Name>Payeur</ram:Name> </ram:PayerTradeParty>
Technical details
The rule counts the direct ram:Name elements within ram:PayerTradeParty and requires exactly one.
The payer's name is checked in ram:PayerTradeParty within the settlement information.
rule/@context)assert/@test)