Customs and border agencies collect duties and control the movement of people and goods across borders.