XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net income (loss) $ 127,615 $ (86,147)
Adjustments to reconcile net income (loss) to cash used in operating activities:    
Depreciation, amortization and accretion 113,876 98,816
Impairments and net losses on disposal of long-lived assets 6,611 1,212
Share-based compensation 10,980 15,782
Equity in earnings, net of tax (215) 270
Remeasurement of monetary assets and liabilities 487 (917)
Deferred income taxes (72,706) 1,508
Gains on sales of marketable securities and restricted marketable securities (15,337) (15,016)
Liabilities assumed by customer for the sale of systems 0 (88,050)
Other, net 16,193 197
Changes in operating assets and liabilities:    
Accounts receivable, trade, unbilled and retainage 303,030 188,300
Prepaid expenses and other current assets 14,412 (36,553)
Inventories and balance of systems parts (80,071) (253,028)
Project assets and PV solar power systems (43,074) (23,572)
Other assets (46,720) (3,231)
Income tax receivable and payable (8,533) (22,504)
Accounts payable (43,524) 5,505
Accrued expenses and other liabilities (642,793) (74,393)
Accrued solar module collection and recycling liability 2,674 1,951
Net cash used in operating activities (357,095) (289,870)
Cash flows from investing activities:    
Purchases of property, plant and equipment (220,952) (327,836)
Purchases of marketable securities and restricted marketable securities (541,266) (380,900)
Proceeds from sales and maturities of marketable securities and restricted marketable securities 857,130 687,951
Other investing activities (13,625) 2,899
Net cash provided by (used in) investing activities 81,287 (17,886)
Cash flows from financing activities:    
Repayment of long-term debt 9,101 10,583
Proceeds from borrowings under long-term debt, net of discounts and issuance costs 0 107,396
Payments of tax withholdings for restricted shares (12,764) (15,731)
Other financing activities (804) (363)
Net cash (used in) provided by financing activities (22,669) 80,719
Effect of exchange rate changes on cash, cash equivalents and restricted cash (222) (2,018)
Net decrease in cash, cash equivalents and restricted cash (298,699) (229,055)
Cash, cash equivalents and restricted cash, beginning of the period 1,446,510 1,562,623
Cash, cash equivalents and restricted cash, end of the period 1,147,811 1,333,568
Supplemental disclosure of noncash investing and financing activities:    
Property, plant and equipment acquisitions funded by liabilities $ 99,290 $ 148,316