Any gross receipts tax imposed by a municipality or county on the sale of gasoline and motor fuel shall be based on the gross receipts from the sale of gasoline and motor fuel minus any taxes imposed on the sale of gasoline and motor fuel by the state, federal, or local governments.