Apple CEO Tim Cook says the U.S. tax code was not designed for the "digital age," and needed to be fixed years ago. Pictured: Cook speaks in New York City, Dec. 8, 2015. Astrid Stawiarz/Getty Images for RFK Human Rights

Apple CEO Tim Cook has lashed out at politicians who claim the company is avoiding tax in the U.S., slamming the accusations as "political crap." In an interview with CBS's "60 Minutes," Cook said the company keeps its overseas revenue outside of the U.S. because the country's "industrial age" code would force Apple to pay 40 percent tax to bring that revenue home.

Critics have long targeted Apple for its revenue practices. An October report from Citizens for Tax Justice revealed Apple keeps more of its profits offshore than Google and Microsoft combined. Apple holds $181.1 billion in taxable income overseas, by far the highest amount any U.S. company holds outside the country.

Cook said that two-thirds of the company's revenue comes from foreign countries and the company keeps that money in its foreign subsidiaries. He attacked members of Congress who suggested the practice is part of a scheme to avoid paying tax. "That is total political crap. There is no truth behind it. Apple pays every tax dollar we owe," he said. "We pay more taxes in this country than anyone."

The Citizens for Tax Justice study showed Apple would owe $59.2 billion in taxes were it to move its income abroad to the U.S..

The CEO also slammed the tax code, saying that it was no longer relevant to the needs of today's world. "This is a tax code, Charlie, that was made for the industrial age, not the digital age," he said. "It's backwards. It's awful for America. It should have been fixed many years ago. It's past time to get it done."

It's not the first time Cook has criticized the tax code. In a May 2013 Senate hearing, Cook said that he would like to bring Apple's revenue back to the U.S., but the high corporation tax means it would not be worth it.