Payee name required

Error FX-SCH-A-000985 Factur-X

Element 'ram:Name' must occur exactly 1 times.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:PayeeTradeParty is missing ram:Name, or the element occurs more than once. Exactly one ram:Name must be present.

What the rule means

The name identifies the payee specified in the payment terms. Without exactly one name, the payee details are structurally incomplete.

Please provide exactly one name for the payee

The payee’s name is missing or has been entered more than once. Providing exactly one ram:Name completes this detail.

What to do
  1. Locate ram:PayeeTradeParty in the payment terms.
  2. Check that it contains exactly one ram:Name.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:PayeeTradeParty/>
✓ Correct
<ram:PayeeTradeParty>
  <ram:Name>Nom du bénéficiaire</ram:Name>
</ram:PayeeTradeParty>
Technical details

In the ram:PayeeTradeParty context, the rule checks that the number of direct ram:Name elements is exactly one.

Where the rule applies

The rule applies to the payee details in ram:PayeeTradeParty within the document-level payment terms.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty
Test expression (assert/@test)
count(ram:Name)=1