When an officer takes prohibited liquors and beverages under the warrant, he must, if required, give a receipt to the person from whom they were taken or in whose possession they were found and also a receipt for such receptacles or vessels as may be taken under the warrant.