US banks that have taken billions of dollars in taxpayer bailouts are still shipping thousands of jobs overseas.

Earlier this month, Bank of New York Mellon, which received $3 billion in TARP funds, opened its third call center in Pune, India, where it now employs 1,300 people.

Doug Brown, who wrote “The Black Book of Outsourcing,” said Bank of America, with $52.5 billion of TARP funds in the kitty, has expanded its India-based payroll to 5 percent of its 301,000 employees in 2009, about 15,000 people.

The moves, which have outraged unions, are 100 percent legal. Congress didn’t put into the TARP law any restrictions on shipping jobs overseas.

Citigroup, which got $50 billion in TARP funds plus $300 billion in government guarantees, plowed ahead with a program last fall to add as many as 1,000 call-center employees in the Philippines — weeks after it got its first round of taxpayer relief.

Representatives for Citigroup and Bank of New York Mellon declined to comment on their outsourcing arrangements. A Bank of America spokesman said the firm has not announced any facility openings outside the US since last year.