XML 19 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Operating activities    
Net (loss) income $ (2,345) $ 8,415
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Depreciation and amortization 4,446 4,493
Deferred income taxes (413) 3,104
Provision for doubtful accounts receivable 716 579
Net unrealized loss from marketable securities 13,386 17
Stock-based compensation 285 506
Other 1,718 1,077
Changes in assets and liabilities:    
Trade accounts receivable (5,638) (4,020)
Disbursement prefunding, prepaid expenses, other current assets, and other assets (7,563) 7,318
Trade accounts payable, accrued expenses, other current liabilities, and other liabilities 3,265 (2,023)
Customer deposits at IDT Financial Services Limited (Gibraltar-based bank) (13,069) (549)
Deferred revenue (641) (150)
Net cash (used in) provided by operating activities (5,853) 18,767
Investing activities    
Capital expenditures (4,353) (4,564)
Purchase of convertible preferred stock in equity method investment (1,051)
Purchases of debt securities and equity investments (6,260) (29,295)
Proceeds from maturities and sales of debt securities and redemption of equity investments 3,867 6,596
Net cash used in investing activities (7,797) (27,263)
Financing activities    
Distributions to noncontrolling interests (183) (28)
Proceeds from other liabilities 2,302
Repayment of other liabilities (1,242) (40)
Proceeds from sale of redeemable equity in subsidiary 10,000
Proceeds from exercise of stock options 185
Repurchases of Class B common stock (26) (2,856)
Net cash provided by (used in) financing activities 10,851 (2,739)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash and cash equivalents (2,257) (1,859)
Net decrease in cash, cash equivalents, and restricted cash and cash equivalents (5,056) (13,094)
Cash, cash equivalents, and restricted cash and cash equivalents at beginning of period 226,916 201,222
Cash, cash equivalents, and restricted cash and cash equivalents at end of period $ 221,860 $ 188,128