The balance of payments (BOP) is the difference in total value between payments into and out of a country over a period.