Name of the seller’s tax representative

Error BR-18 EN 16931

The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11).

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

The tax representative’s ram:Name element is missing or contains only whitespace.

What the rule means

If the seller has a tax representative, the representative’s name must be provided on the invoice so that the representative can be identified.

Affected fields BT-62 BG-4 BG-11
Please provide the seller’s tax representative name

The seller’s tax representative has no name, or the name field contains only whitespace. Enter a name so the representative is identified on the invoice.

What to do
  1. Enter the name in ram:SellerTaxRepresentativeTradeParty/ram:Name.
  2. Check the tax representative’s Name value, then regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty>
  <ram:Name/>
</ram:SellerTaxRepresentativeTradeParty>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:Name>Représentant fiscal</ram:Name>
</ram:SellerTaxRepresentativeTradeParty>
Check in FactoorSharp
  • FacturXInvoice.SellerTaxRepresentative (BG-11)
  • FacturXInvoice.SetSeller(name, postcode, city, street, street2, country, id, globalID, legalOrganization, description, countrySubdivisonName, addressLine3) (BG-4)
  • FacturXInvoice.Seller (BG-4)
  • Party.Name (SellerTaxRepresentativeTradeParty: BT-62)
Technical details

The test requires normalize-space(ram:Name) to be non-empty. A missing element or content consisting only of whitespace therefore fails.

Where the rule applies

The rule applies to ram:SellerTaxRepresentativeTradeParty when the seller has a tax representative.

Context (rule/@context)
//ram:SellerTaxRepresentativeTradeParty
Test expression (assert/@test)
normalize-space(ram:Name) != ''