Selected bank detail for the invoice but still unable to see while sharing then need to check in which company you have added bank detail because adding bank detail is company wise setting.
Refer the below steps and GIF to avoid such issue :
Select the company
Go to settings
Click on share
Tab on invoice
Add bank account
Note : As this setting is company wise setting so the same steps to be followed in other company also to see bank detail for invoice while sharing it.