XML 27 R9.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net income (loss) $ 136,139 $ (280,484) $ 155,293
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Net realized and unrealized (gains) losses (29,861) 48,042 29,792
Change in fair value of contingent consideration 40,100 0 0
Stock-based compensation 74,758 63,863 45,811
Depreciation and amortization 272,641 261,926 237,129
Loss on sale of subsidiary 0 46,362 0
Amortization of premiums on investment securities 1,324 0 0
Gain on sale of equity investment (3,617) 0 0
Loss on disposal of property, equipment and capitalized software 4,378 0 0
Debt restructuring and debt issuance cost amortization 15,521 26,196 9,942
Provision (benefit) for deferred taxes 12,878 (29,342) 19,667
Provision for credit losses 45,114 78,443 65,664
Impairment charges 0 53,378 0
Non-cash adjustments related to tax receivable agreement 0 (491) (932)
Changes in operating assets and liabilities, net of effects of acquisitions:      
Accounts receivable and securitized accounts receivable (959,128) 592,947 (67,645)
Prepaid expenses and other current and other long-term assets 29,830 6,514 31,337
Accounts payable 252,967 (183,708) 139,187
Accrued expenses and restricted cash payable 299,866 151,236 31,627
Income taxes 4,141 15,083 (12,266)
Other current and other long-term liabilities (46,653) 7,054 (21,435)
Net cash provided by operating activities 150,398 857,019 663,171
Cash flows from investing activities      
Purchases of property, equipment and capitalized software (86,041) (80,471) (102,860)
Cash paid on sale of subsidiary 0 (22,470) 0
Proceeds from sale or distribution of equity investment 3,117 837 0
Purchases of equity securities (318) (6,459) (5,567)
Maturities of equity securities 0 181 230
Purchases of available-for-sale debt securities (994,035) 0 0
Maturities of available-for-sale debt securities 34,955 0 0
Acquisitions, net of cash and restricted cash acquired (558,784) (220,704) (882,417)
Net cash used for investing activities (1,601,106) (329,086) (990,614)
Cash flows from financing activities      
Repurchase of share-based awards to satisfy tax withholdings (23,457) (9,519) (10,352)
Proceeds from stock option exercises 44,197 9,273 4,941
Net change in deposits 1,620,284 (396,065) 176,603
Net activity on other debt (18,500) (66,915) (43,148)
Borrowings on revolving credit facility 1,647,000 300,000 1,267,704
Repayments on revolving credit facility (1,527,200) (300,000) (1,265,251)
Borrowings on term loans 112,819 0 688,990
Repayments on term loans (63,659) (64,611) (64,329)
Repayments on term loans (400,000) 0 0
Proceeds from issuance of Convertible Notes 0 299,150 0
Proceeds from issuance of common stock 0 90,000 0
Issuance costs (8,935) (17,048) (3,442)
Net change in securitized debt 20,720 (23,521) (1,943)
Net cash provided by (used for) financing activities 1,403,269 (179,256) 749,773
Effect of exchange rates on cash, cash equivalents and restricted cash (25,376) (405) 4,020
Net change in cash, cash equivalents and restricted cash (72,815) 348,272 426,350
Cash, cash equivalents and restricted cash at beginning of year [1] 1,329,653 981,381 555,031
Cash, cash equivalents and restricted cash at end of year [1] 1,256,838 1,329,653 981,381
Supplemental cash flow information      
Interest paid 132,160 163,292 175,993
Income taxes paid (refunded) 50,621 (8,444) 50,964
Supplemental disclosure of non-cash investing and financing activities      
Capital expenditures incurred but not paid 5,143 3,179 4,771
Non-cash contribution from non-controlling interest 12,457 0 0
Deferred cash consideration as part of asset acquisition 47,408 0 0
Contingent consideration as part of asset acquisition 27,200 0 0
Promissory note received in exchange for sale of equity investment 500 0 0
Reconciliation of cash, cash equivalents and restricted cash      
Cash and cash equivalents at beginning of year 852,033 810,932 541,498
Restricted cash at beginning of year 477,620 170,449 13,533
Cash, cash equivalents and restricted cash at beginning of year [1] 1,329,653 981,381 555,031
Cash and cash equivalents at end of year 588,923 852,033 810,932
Restricted cash at end of year 667,915 477,620 170,449
Cash, cash equivalents and restricted cash at end of year [1] $ 1,256,838 $ 1,329,653 $ 981,381
[1] The following table provides a reconciliation of cash, cash equivalents and restricted cash reported within our consolidated balance sheets to amounts within our consolidated statements of cash flows for the years ended December 31, 2021, 2020 and 2019:
 December 31,
 202120202019
Cash and cash equivalents at beginning of year$852,033 $810,932 $541,498 
Restricted cash at beginning of year477,620 170,449 13,533 
Cash, cash equivalents and restricted cash at beginning of year$1,329,653 $981,381 $555,031 
Cash and cash equivalents at end of year$588,923 $852,033 $810,932 
Restricted cash at end of year667,915 477,620 170,449 
Cash, cash equivalents and restricted cash at end of year$1,256,838 $1,329,653 $981,381