XML 28 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Cash Flows From Operating Activities    
Net loss $ (798,608) $ (575,455)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 765,773 339,692
Stock-based compensation 219,759 156,969
Amortization of debt discounts 64,151 41,696
Inventory write-downs 71,255 29,725
Loss on disposal of property and equipment 53,572 11,563
Foreign currency transaction loss (gain) 29,394 (8,081)
Loss on the acquisition of SolarCity 11,571  
Non-cash interest and other operating activities 57,023 16,167
Changes in operating assets and liabilities, net of effect of business combinations    
Accounts receivable 77,043 (1,426)
Inventories and operating lease vehicles (1,121,155) (1,217,931)
Prepaid expenses and other current assets (113,192) 19,494
MyPower customer notes receivable and other assets 26,339 (7,447)
Accounts payable and accrued liabilities 13,234 212,949
Deferred revenue 208,685 165,144
Customer deposits (71,064) 398,555
Resale value guarantee 176,505 253,710
Other long-term liabilities 59,732 65,407
Net cash used in operating activities (269,983) (99,269)
Cash Flows From Investing Activities    
Purchases of property and equipment excluding capital leases, net of sales (1,511,692) (511,579)
Maturities of short-term marketable securities   16,667
Purchase of solar energy systems, leased and to be leased (418,792)  
Increase in restricted cash (102,528) (58,761)
Business combination, net of cash acquired (109,147)  
Net cash used in investing activities (2,142,159) (553,673)
Cash Flows From Financing Activities    
Proceeds from issuance of common stock in public offering 400,175 1,701,734
Proceeds from issuance of convertible and other debt 2,408,586 1,108,000
Repayments of convertible and other debt (1,412,286) (578,683)
Repayments of borrowings under solar bonds issued to related parties (165,000)  
Collateralized lease borrowings 335,675 384,525
Proceeds from exercise of stock options and other stock issuances 158,913 110,478
Principal payments on capital leases (36,857) (18,270)
Common stock and debt issuance costs (13,688) (15,765)
Purchase of convertible note hedges (204,102)  
Proceeds from settlement of convertible note hedges 251,850  
Proceeds from issuance of warrants 52,883  
Payments for settlement of warrants (208,193)  
Proceeds from investment by noncontrolling interests in subsidiaries 583,433  
Distributions paid to noncontrolling interests in subsidiaries (123,873)  
Net cash provided by financing activities 2,027,516 2,692,019
Effect of exchange rate changes on cash and cash equivalents 27,334 10,316
Net (decrease) increase in cash and cash equivalents (357,292) 2,049,393
Cash and cash equivalents, beginning of period 3,393,216 1,196,908
Cash and cash equivalents, end of period 3,035,924 3,246,301
Supplemental noncash investing and financing activities    
Acquisition of property and equipment included in liabilities 1,021,692 324,982
Estimated fair value of facilities under build-to-suit leases $ 173,075 $ 172,770