The balance of payments
The current account records trade in goods, services and income, the capital and financial account records purchases of assets, and the two balance, so a current account deficit is paid for by a financial account surplus.
From AP Macroeconomics.