XML 38 R8.htm IDEA: XBRL DOCUMENT v3.20.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Cash Flows from Operating Activities    
Net income (loss) $ 68 $ (668)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation, amortization and impairment 553 468
Stock-based compensation 211 208
Amortization of debt discounts and issuance costs 46 40
Inventory and purchase commitments write-downs 45 81
Loss on disposals of fixed assets 7 18
Foreign currency transaction net loss (gain) 19 (39)
Non-cash interest and other operating activities 58 116
Operating cash flow related to repayment of discounted convertible notes   (188)
Changes in operating assets and liabilities, net of effect of business combinations:    
Accounts receivable (14) (100)
Inventory (981) (809)
Operating lease vehicles (197) 13
Prepaid expenses and other current assets (154) (46)
Other non-current assets 40 28
Accounts payable and accrued liabilities (265) (41)
Deferred revenue 53 318
Customer deposits 88 (25)
Other long-term liabilities (17) (14)
Net cash used in operating activities (440) (640)
Cash Flows from Investing Activities    
Purchases of property and equipment excluding finance leases, net of sales (455) (280)
Purchases of solar energy systems, net of sales (26) (25)
Receipt of government grants 1  
Business combinations, net of cash acquired   (1)
Net cash used in investing activities (480) (306)
Cash Flows from Financing Activities    
Proceeds from issuances of common stock in public offerings, net of issuance costs 2,309  
Proceeds from issuances of convertible and other debt 2,802 1,494
Repayments of convertible and other debt (2,318) (1,970)
Collateralized lease repayments (97) (134)
Proceeds from exercises of stock options and other stock issuances 160 78
Principal payments on finance leases (100) (67)
Debt issuance costs   (8)
Proceeds from investments by noncontrolling interests in subsidiaries 19 47
Distributions paid to noncontrolling interests in subsidiaries (67) (85)
Payments for buy-outs of noncontrolling interests in subsidiaries   (8)
Net cash provided by (used in) financing activities 2,708 (653)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (24) 5
Net increase (decrease) in cash and cash equivalents and restricted cash 1,764 (1,594)
Cash and cash equivalents and restricted cash, beginning of period 6,783 4,277
Cash and cash equivalents and restricted cash, end of period 8,547 2,683
Supplemental Non-Cash Investing and Financing Activities    
Acquisitions of property and equipment included in liabilities 415 120
Leased assets obtained in exchange for finance lease liabilities 32 218
Leased assets obtained in exchange for operating lease liabilities $ 60 $ 22