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).
The tax representative’s ram:Name element is missing or contains only whitespace.
If the seller has a tax representative, the representative’s name must be provided on the invoice so that the representative can be identified.
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.
- Enter the name in
ram:SellerTaxRepresentativeTradeParty/ram:Name. - Check the tax representative’s
Namevalue, then regenerate the invoice and check it again.
<ram:SellerTaxRepresentativeTradeParty> <ram:Name/> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:Name>Représentant fiscal</ram:Name> </ram:SellerTaxRepresentativeTradeParty>
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.
The rule applies to ram:SellerTaxRepresentativeTradeParty when the seller has a tax representative.
rule/@context)assert/@test)