respectively. Interest income was $1.9 million and $815,000 during the six months ended December 31, 2023 and 2022, respectively.
Other (expense) income, Net
Other (expense) income, net was expense of $697,000 and $545,000 during the three months ended December 31, 2023 and 2022, respectively. Other (expense) income, net was expense of $87,000 and income of $265,000 during the six months ended December 31, 2023 and 2022, respectively. Other (expense) income, net primarily included foreign exchange rate fluctuations on international trade receivables, net of transactions.
Income Tax Provision
Provision for income taxes consists of state and foreign income taxes. Due to cumulative U.S. book losses, we maintain a valuation allowance against U.S. deferred tax assets as of December 31, 2023. We consider all available evidence, both positive and negative, including but not limited to earnings history, projected future outcomes, industry and market trends and the nature of each of the deferred tax assets. We recorded income tax provision of $525,000 and $904,000 for the three and six months ended December 31, 2023, respectively. We recorded income tax provision of $301,000 and $743,000 for the three and six months ended December 31, 2022, respectively.
Liquidity and Capital Resources
Overview
As of December 31, 2023 and June 30, 2023, our principal sources of liquidity were cash and cash equivalents, restricted cash, and accounts receivable totaling $101.1 million and $104.8 million, respectively. Our cash, cash equivalents and restricted cash were $86.8 million and $73.2 million as of December 31, 2023 and June 30, 2023, respectively.
Based upon our current business plan, we believe that existing capital resources will enable us to maintain current and planned operations for at least the next 12 months. From time to time, however, we may consider opportunities for raising additional capital. We can make no assurances that such opportunities will be available to us on economic terms we consider favorable, if at all. Our expectations as to our future cash flows and our future cash balances are subject to a number of assumptions, including assumptions regarding anticipated increases in our revenue, our ability to retain existing customers and customer purchasing and payment patterns, many of which are beyond our control.
Cash Flows
For the six months ended December 31, 2023 and 2022, our cash flows were as follows (in thousands):
| | | | | |
| Six Months Ended |
| December 31, |
| 2023 | | 2022 |
Net cash provided by operating activities | $ | 15,826 | | $ | 8,175 |
Net cash used in investing activities | | (135) | | | (293) |
Net cash (used in) provided by financing activities | | (2,108) | | | 1,005 |
Cash provided by operating activities mainly consists of net income (loss) adjusted for non-cash expense items such as depreciation and amortization, expense associated with stock-based awards, the timing of employee related costs including commissions and bonus payments, and changes in operating assets and liabilities during the year.
Net cash provided by operating activities increased by $7.7 million during the six months ended December 31, 2023, from the same period in fiscal year 2023, driven primarily by the timing of collections for accounts receivable.
Net cash used in investing activities decreased by $158,000 during the six months ended December 31, 2023, from the same period in fiscal year 2023, driven primarily by activities related to the purchase of equipment for new employees