The Wealth of Nations by Part 5 Chapter 2 Page 208

warehouse, no duty to be paid till they were taken out for home consumption. If taken out for exportation, to be duty free, proper security being always given that they should be so exported. The dealers in those particular commodities, either by wholesale or retail, to be at all times subject to the visit and examination of the custom-house officer, and to be obliged to justify by proper certificates the payment of the duty upon the whole quantity contained in their shops or warehouses.

What are called the excise-duties upon rum imported are at present levied in this manner, and the same system of administration might perhaps be extended to all duties upon goods imported, provided always that those duties were, like the duties of excise, confined to a few sorts of goods of the most general use and consumption.