Provide the sales agent name

Error FX-SCH-A-000734 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:SalesAgentTradeParty or occurs more than once. It must appear there exactly once.

What the rule means

The name identifies the sales agent specified in the agreement.

Please provide the sales agent’s name

The sales agent’s name is missing or has been entered more than once. This section requires exactly one ram:Name.

What to do
  1. Find ram:SalesAgentTradeParty in the agreement.
  2. Ensure that it contains exactly one ram:Name.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SalesAgentTradeParty/>
✓ Correct
<ram:SalesAgentTradeParty>
  <ram:Name>Agent</ram:Name>
</ram:SalesAgentTradeParty>
Technical details

The rule requires exactly one direct ram:Name element under ram:SalesAgentTradeParty.

Where the rule applies

The rule applies to ram:Name within ram:SalesAgentTradeParty in the agreement.

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