The Commerce Department says the deficit in U.S. foreign trade and investment , called the current account , hit a record $ 165 billion between July and September .