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 provided SellerTaxRepresentativeTradeParty has no non-empty Name. A missing Name or one containing only whitespace does not satisfy the test.
The name identifies the seller's tax representative when one is provided in the invoice.
The seller's specified tax representative has no name. Add a name that is not empty.
- Add the name in
SellerTaxRepresentativeTradeParty. - Use
FacturXInvoice.SellerTaxRepresentativeand set the name usingParty.Name. - Regenerate the invoice and validate it again.
<ram:SellerTaxRepresentativeTradeParty> <ram:Name/> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:Name>Representative One</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 applies normalize-space to SellerTaxRepresentativeTradeParty/Name and requires the result to be non-empty.
The rule applies within SellerTaxRepresentativeTradeParty when the seller provides a tax representative as SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)