XML 21 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
OPERATING ACTIVITIES      
Net income $ 29,005 $ 96,891 $ 21,418
Adjustments to reconcile net income to net cash provided by (used in) operating activities:      
Depreciation and amortization 18,115 17,764 20,406
Deferred income taxes 4,801 (32,793) (3,805)
Provision for doubtful accounts receivable 2,330 1,782 3,109
Net unrealized loss (gain) from marketable securities 18,960 (3,262) (140)
Stock-based compensation 1,930 1,490 3,856
Other 3,379 (4,096) 492
Changes in assets and liabilities:      
Trade accounts receivable (21,322) (3,728) 11,702
Disbursement prefunding, prepaid expenses, other current assets, and other assets (8,003) (2,247) (1,719)
Trade accounts payable, accrued expenses, other current liabilities, and other liabilities (1,110) (264) (12,081)
Customer deposits at IDT Financial Services Limited (Gibraltar-based bank) (15,966) (6,906) (70,401)
Deferred revenue (2,712) 1,989 (2,428)
Net cash provided by (used in) operating activities 29,407 66,620 (29,591)
INVESTING ACTIVITIES      
Capital expenditures (21,879) (16,765) (16,041)
Payments for acquisitions, net of cash acquired (7,552) (3,673) (450)
Cash acquired from acquisition of interest in variable interest entity 3,336
Purchase of Rafael Holdings, Inc. Class B common stock and warrant (5,000)
Exercise of warrant to purchase shares of Rafael Holdings, Inc. Class B common stock (1,000)
Purchase of convertible preferred stock in equity method investment (1,051) (4,000)
Purchases of debt securities and equity investments (24,454) (43,187) (22,429)
Proceeds from maturities and sales of debt securities and redemption of equity investments 21,157 26,230 6,457
Net cash used in investing activities (33,779) (44,059) (32,463)
FINANCING ACTIVITIES      
Distributions to noncontrolling interests (514) (848) (934)
Payment for acquisition of warrant in variable interest entity (791)
Proceeds from other liabilities 2,301 729
Repayment of other liabilities (1,319) (108) (510)
Proceeds from sale of redeemable equity in subsidiary 10,000
Proceeds from note payable 10,000
Repayment of note payable (10,000)
Proceeds from borrowings under revolving credit facility 2,566 1,429
Repayments of borrowings under revolving credit facility (2,566) (1,429)
Proceeds from exercise of stock options 137 687 276
Repurchases of Class B common stock (26,222) (4,192) (4,482)
Net cash used in financing activities (15,617) (4,523) (5,650)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash and cash equivalents (17,365) 7,656 11,727
Net (decrease) increase in cash, cash equivalents, and restricted cash and cash equivalents (37,354) 25,694 (55,977)
Cash, cash equivalents, and restricted cash and cash equivalents at beginning of year 226,916 201,222 257,199
Cash, cash equivalents, and restricted cash and cash equivalents at end of year 189,562 226,916 201,222
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION      
Cash payments made for interest 461 486 388
Cash payments made for income taxes 109 193 60
SUPPLEMENTAL SCHEDULE OF NON-CASH FINANCING AND INVESTING ACTIVITIES      
Liabilities incurred for acquisitions 7,849 628 375
Shares of the Company’s Class B common stock issued for acquisition 1,000
Cashless exercise of stock options in exchange for shares of the Company’s Class B common stock 14,930
Stock issued for matching contributions to the 401(k) Plan $ 1,042