The balance of payments is a record of all economic transactions between a country and the rest of the world.