The Banks supply lots of information to the ATO.
I worked for 10 years with WBC and also worked and trained staff in the area that dealt with these type of requests.
I even had the ATO come out and visit me about a case. (Two ATO staff)
They have the power to request information by law...