XML 113 R6.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Cash flows from operating activities:    
Net loss $ (81,642) $ (108,752)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 13,034 14,225
Write-off of property, plant and equipment, net 1 1
Revaluation of derivative contracts 241 87
Stock-based compensation 23,019 67,822
Loss (gain) on long-term REC purchase contract (4) 59
Loss on extinguishment of debt 14,098 0
Amortization of debt issuance cost 4,755 5,152
Changes in operating assets and liabilities:    
Accounts receivable 2,136 4,131
Inventories 2,083 11,087
Deferred cost of revenue (19,494) (11,084)
Customer financing receivable and other 1,240 1,339
Prepaid expenses and other current assets 3,060 6,628
Other long-term assets (2,924) (416)
Accounts payable 4,822 (2,464)
Accrued warranty 681 (2,697)
Accrued expenses and other current liabilities 509 (373)
Deferred revenue and customer deposits 5,253 1,244
Other long-term liabilities 1,184 4,166
Net cash used in operating activities (27,948) (9,845)
Cash flows from investing activities:    
Purchase of property, plant and equipment (12,360) (11,946)
Payments for acquisition of intangible assets 0 (848)
Proceeds from maturity of marketable securities 0 104,500
Net cash provided by (used in) investing activities (12,360) 91,706
Cash flows from financing activities:    
Proceeds from issuance of debt to related parties 30,000 0
Repayment of debt (9,128) (5,016)
Repayment of debt to related parties (2,105) (778)
Proceeds from financing obligations 0 10,961
Repayment of financing obligations (2,503) (1,883)
Distributions to noncontrolling and redeemable noncontrolling interests (4,270) (3,189)
Proceeds from issuance of common stock 4,845 7,493
Net cash provided by financing activities 16,839 7,588
Net increase (decrease) in cash, cash equivalents, and restricted cash (23,469) 89,449
Beginning of period 377,388 280,485
End of period 353,919 369,934
Supplemental disclosure of cash flow information:    
Cash paid during the period for interest 17,790 20,383
Cash paid during the period for taxes 29 222
Non-cash investing and financing activities:    
Liabilities recorded for property, plant and equipment 466 2,067
Accrued distributions to Equity Investors 1 282
Accrued interest for notes 467 439
Accrued debt issuance costs 2,970 0
Adjustment of embedded derivative related to debt extinguishment $ 24,071 $ 0