in 2007 , the trade deficit was $708 billion , or 5.1 percent of GDP . as accounting identities require ,this trade deficit had to be financed by borrowing from abroad (or ,equivalently ,by selling U.S. assets abroad). during this period , the United states went from being the world's largest creditor to the world's largest debtor.