Payer name required

Error FX-SCH-A-000928 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:Name is missing from ram:PayerTradeParty or occurs more than once. It must occur exactly once.

What the rule means

The name identifies the payer in the invoice's settlement information.

Please provide the payer's name

The payer's name is missing from the settlement information or appears more than once. This can be resolved by providing it exactly once.

What to do
  1. Add ram:Name under ram:PayerTradeParty if it is missing.
  2. Remove any extra ram:Name elements so that exactly one remains.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:PayerTradeParty/>
✓ Correct
<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.

Where the rule applies

The payer's name is checked in ram:PayerTradeParty within the settlement information.

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