Tax representative name required

Error FX-SCH-A-000431 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

The ram:SellerTaxRepresentativeTradeParty element does not contain exactly one ram:Name element. The element must be present once.

What the rule means

The name identifies the tax representative as a party to the invoice. The rule requires exactly one name.

Please add the tax representative's name

The tax representative's required name is missing or has been provided more than once. Exactly one ram:Name element must appear in this part of the invoice.

What to do
  1. Locate ram:SellerTaxRepresentativeTradeParty in the invoice.
  2. Add exactly one ram:Name element containing the tax representative's name, or remove any extra name elements.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:Name>Nom du représentant fiscal</ram:Name>
</ram:SellerTaxRepresentativeTradeParty>
Technical details

The test counts ram:Name elements directly under ram:SellerTaxRepresentativeTradeParty and requires exactly one.

Where the rule applies

The rule applies to ram:Name within ram:SellerTaxRepresentativeTradeParty.

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