Collect revenue for the government by charging customs and excise duties. Collect, keep and analyse records of imported and exported goods and services. Control bonded warehouses to ensure that duty is collected on imported dutiable goods before releasing them.