A nation's customs service has many responsibilities. At its most basic level, its purpose is to regulate what comes into and goes out of a country. ... To tilt the balance in favor of domestic businesses, governments impose tariffs, also called duty, on foreign goods coming into the country.