The SAFT exported should take the Tax Number from the Invnum table and not pull from the Client or Vendor table
Users normally create a cash account for general clients that do not have a credit account. this means multiple invoices for different client can be processed under the "CASH" account. Each invoice is processed with a different TAX number.