XML 21 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash Flows from Operating Activities    
Net loss $ (784,627) $ (397,181)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 416,233 376,602
Stock-based compensation 141,639 103,717
Amortization of debt discounts and issuance costs 39,345 31,747
Inventory write-downs 18,546 26,918
Loss on disposals of fixed assets 52,237 41,120
Foreign currency transaction losses 47,661 5,064
Loss related to SolarCity acquisition   11,571
Non-cash interest and other operating activities (3,984) (6,589)
Changes in operating assets and liabilities, net of effect of business combinations:    
Accounts receivable (169,142) 91,541
Inventories (322,081) (124,514)
Operating lease vehicles (97,196) (458,965)
Prepaid expenses and other current assets (50,001) (75,504)
MyPower customer notes receivable and other assets (57,583) 8,006
Accounts payable and accrued liabilities 317,983 2,531
Deferred revenue 45,795 103,941
Customer deposits 67,359 (51,004)
Resale value guarantee   184,579
Other long-term liabilities (60,560) 56,609
Net cash used in operating activities (398,376) (69,811)
Cash Flows from Investing Activities    
Purchases of property and equipment excluding capital leases, net of sales (655,662) (552,624)
Purchases of solar energy systems, leased and to be leased (72,975) (219,948)
Business combinations, net of cash acquired   (109,147)
Net cash used in investing activities (728,637) (881,719)
Cash Flows from Financing Activities    
Proceeds from issuances of common stock in public offerings   400,175
Proceeds from issuances of convertible and other debt 1,775,481 1,838,166
Repayments of convertible and other debt (1,389,388) (690,945)
Repayments of borrowings under Solar Bonds issued to related parties (17,500) (90,000)
Collateralized lease (repayments) borrowings (87,092) 186,355
Proceeds from exercises of stock options and other stock issuances 94,018 57,307
Principal payments on capital leases (18,787) (18,303)
Common stock and debt issuance costs (2,913) (11,094)
Purchases of convertible note hedges   (204,102)
Proceeds from issuances of warrants   52,883
Proceeds from investments by noncontrolling interests in subsidiaries 73,704 142,003
Distributions paid to noncontrolling interests in subsidiaries (52,942) (63,696)
Payments for buy-outs of noncontrolling interests in subsidiaries (2,921)  
Net cash provided by financing activities 371,660 1,598,749
Effect of exchange rate changes on cash and cash equivalents and restricted cash 10,102 11,643
Net (decrease) increase in cash and cash equivalents and restricted cash (745,251) 658,862
Cash and cash equivalents and restricted cash, beginning of period 3,964,959 3,766,900
Cash and cash equivalents and restricted cash, end of period 3,219,708 4,425,762
Supplemental Non-Cash Investing and Financing Activities    
Acquisitions of property and equipment included in liabilities 286,975 654,322
Estimated fair value of facilities under build-to-suit leases $ 56,169 $ 65,244