Authority or agency in a country responsible for collecting customs duties and for controlling the flow of goods