If you are transferring money between companies, I’m assuming this is like an inter-company loan?
You may be best to do the transfer by setting up an Inter-Company Loan account with each company and doing the transfer through this.
This article may help: Intercompany bank transfer