XML 21 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
OPERATING ACTIVITIES    
Net income $ 96,891 $ 21,418
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 17,764 20,406
Deferred income taxes (32,793) (3,805)
Provision for doubtful accounts receivable 1,782 3,109
Stock-based compensation 1,490 3,856
Other (7,358) 352
Changes in assets and liabilities:    
Trade accounts receivable (3,728) 11,702
Disbursement prefunding, prepaid expenses, other current assets, and other assets (2,247) (1,719)
Trade accounts payable, accrued expenses, other current liabilities, and other liabilities (264) (12,081)
Customer deposits at IDT Financial Services Limited (Gibraltar-based bank) (6,906) (70,401)
Deferred revenue 1,989 (2,428)
Net cash provided by (used in) operating activities 66,620 (29,591)
INVESTING ACTIVITIES    
Capital expenditures (16,765) (16,041)
Payments for acquisitions, net of cash acquired (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 series B convertible preferred stock in equity method investment (4,000)
Purchases of debt securities and equity investments (43,187) (22,429)
Proceeds from maturities and sales of debt securities and redemption of equity investments 26,230 6,457
Net cash used in investing activities (44,059) (32,463)
FINANCING ACTIVITIES    
Distributions to noncontrolling interests (848) (934)
Payment for acquisition of warrant in variable interest entity (791)
Proceeds from other liabilities 729
Repayment of other liabilities (108) (510)
Proceeds from note payable 10,000
Repayment of note payable (10,000)
Proceeds from exercise of stock options 687 276
Proceeds from borrowings under revolving credit facility 1,429
Repayments of borrowings under revolving credit facility (1,429)
Repurchases of Class B common stock (4,192) (4,482)
Net cash used in financing activities (4,523) (5,650)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash and cash equivalents 7,656 11,727
Net increase (decrease) in cash, cash equivalents, and restricted cash and cash equivalents 25,694 (55,977)
Cash, cash equivalents, and restricted cash and cash equivalents at beginning of year 201,222 257,199
Cash, cash equivalents, and restricted cash and cash equivalents at end of year 226,916 201,222
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION    
Cash payments made for interest 486 388
Cash payments made for income taxes 193 60
SUPPLEMENTAL SCHEDULE OF NON-CASH FINANCING AND INVESTING ACTIVITIES    
Liabilities incurred for acquisition 628 375
Stock issued for matching contributions to the 401(k) Plan $ 1,042