Where, before goods are entered for home consumption, an amount is paid to a Collector in respect of duty that may become payable in respect of the goods, the amount shall, upon the goods being entered for home consumption, be deemed, for the purposes of this Act, to be an amount of duty paid in respect of the goods.