We can get address for VendBankAccount table and BankAccountTable by following way.
VendBankAccount table has method which returns address VendBankAccount.addressing() ;
For BankAccountTable you can use following query to fetch its address, both table has similar releationship with logistic location table
while select * from _BankAccount
join * from _location
where _postalAddress.Location == _location.RecId
&& _BankAccount.Location == _location.RecId
info (_BankAccount.AccountID + ” address “+ _postalAddress.Address);