v3.24.3
Consolidated Statements of Cash Flows - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Cash Flows from Operating Activities    
Net income $ 4,821 $ 7,031
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation, amortization and impairment 3,872 3,435
Stock-based compensation 1,420 1,328
Inventory and purchase commitments write-downs 247 361
Foreign currency transaction net unrealized loss (gain) 197 (317)
Deferred income taxes 418 (316)
Non-cash interest and other operating activities 83 94
Changes in operating assets and liabilities:    
Accounts receivable 144 377
Inventory (1,107) (1,953)
Operating lease vehicles (82) (1,858)
Prepaid expenses and other assets (2,639) (1,992)
Accounts payable, accrued and other liabilities 2,504 1,922
Deferred revenue 231 774
Net cash provided by operating activities 10,109 8,886
Cash Flows from Investing Activities    
Purchases of property and equipment excluding finance leases, net of sales (8,556) (6,592)
Purchases of solar energy systems, net of sales (6) 0
Purchases of investments (20,797) (13,221)
Proceeds from maturities of investments 17,975 8,959
Proceeds from sales of investments 200 138
Business combinations, net of cash acquired 0 (64)
Net cash used in investing activities (11,184) (10,780)
Cash Flows from Financing Activities    
Proceeds from issuances of debt 4,360 2,526
Repayments of debt (1,783) (887)
Proceeds from exercises of stock options and other stock issuances 788 548
Principal payments on finance leases (291) (340)
Debt issuance costs (6) (23)
Distributions paid to noncontrolling interests in subsidiaries (76) (105)
Payments for buy-outs of noncontrolling interests in subsidiaries (124) (17)
Net cash provided by (used in) financing activities 2,868 1,702
Effect of exchange rate changes on cash and cash equivalents and restricted cash (8) (142)
Net increase (decrease) in cash and cash equivalents and restricted cash 1,785 (334)
Cash and cash equivalents and restricted cash, beginning of period 17,189 16,924
Cash and cash equivalents and restricted cash, end of period 18,974 16,590
Supplemental Non-Cash Investing and Financing Activities    
Acquisitions of property and equipment included in liabilities 2,727 1,717
Leased assets obtained in exchange for finance lease liabilities 32 1
Leased assets obtained in exchange for operating lease liabilities $ 1,232 $ 1,548