Provide the tax representative’s name

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 SellerTaxRepresentativeTradeParty is missing the Name element or contains it more than once. It must contain exactly one Name element.

What the rule means

The Name element identifies the seller’s tax representative. Exactly one element ensures that the representative’s name is stated unambiguously.

Please provide the tax representative’s name

The SellerTaxRepresentativeTradeParty does not contain exactly one Name element. You can resolve this by providing exactly one such element there.

What to do
  1. Open the SellerTaxRepresentativeTradeParty.
  2. Make sure it contains exactly one Name element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:Name>...</ram:Name>
</ram:SellerTaxRepresentativeTradeParty>
Technical details

The test counts the direct Name elements under SellerTaxRepresentativeTradeParty and requires the count to equal one.

Where the rule applies

This rule applies to the name in the SellerTaxRepresentativeTradeParty element.

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