There is imposed upon the sale of liquor by the drink in the county a tax in the amount of three percent of the purchase price of each drink to the consumer. Each licensee shall be allowed a deduction of three percent of the amount of taxes collected as reimbursement for collection of such taxes, provided that such tax is not delinquent at the time of payment. A record of each sale shall be made in writing and maintained for inspection by any authorized agent of the county.