| Dec 31, 2015 | Dec 31, 2016 | Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net loss | -249 | -303 | -287 | -260 | -391 | -627 | -981 | -850 | -2,683 | -4,355 |
|---|
| Depreciation, Depletion and Amortization, Nonproduction | 71 | 104 | 136 | 156 | 187 | 243 | 388 | 451 | 532 | 621 |
|---|
| Goodwill impairment | - | - | - | - | - | - | - | - | 1,200 | 3,122 |
|---|
| Deferred income taxes | - | - | - | - | - | - | 10 | 2 | -13 | -27 |
|---|
| Stock-based compensation expense | 16 | 19 | 22 | 28 | 26 | 171 | 211 | 111 | 112 | 113 |
|---|
| Interest On Lease Financing | 12 | 12 | 12 | 19 | 24 | 23 | 21 | 20 | 20 | 9 |
|---|
| Reduction in pass-through financing obligations | 17 | 19 | 18 | 25 | 39 | 39 | 42 | 41 | 40 | 21 |
|---|
| Unrealized (gain) loss on derivatives | - | - | - | - | - | - | - | 185 | -28 | 120 |
|---|
| Other noncash items | - | - | - | - | - | - | -61 | -54 | -261 | -210 |
|---|
| Accounts receivable | 16 | -1 | 18 | 6 | 15 | -5 | 62 | 87 | -16 | 15 |
|---|
| Inventories | 47 | -4 | 27 | -15 | 181 | -48 | 224 | 277 | -324 | -58 |
|---|
| Prepaid expenses and other current assets | 1 | 5 | 3 | 76 | 82 | 117 | 378 | 379 | 477 | 772 |
|---|
| Accounts payable | 51 | -40 | 48 | 9 | 67 | -46 | 67 | 40 | -109 | 177 |
|---|
| Accrued expenses and other liabilities | 19 | 12 | 3 | 15 | 42 | -10 | 33 | 64 | -56 | 81 |
|---|
| Deferred revenue | - | - | - | - | 138 | 42 | 78 | 227 | 107 | 153 |
|---|
| Net cash used in operating activities | - | - | - | -62 | -204 | -318 | -817 | -849 | -821 | -766 |
|---|
| Payments for the costs of solar energy systems | 595 | 728 | 804 | 806 | 815 | 967 | 1,678 | 1,993 | 2,587 | 2,699 |
|---|
| Purchase of equity investment | - | - | - | - | - | 65 | - | 75 | 5 | - |
|---|
| Purchases of property and equipment, net | 13 | 13 | 8 | 5 | 25 | 3 | 9 | 18 | 21 | 2 |
|---|
| Net cash used in investing activities | - | - | - | -811 | -843 | -498 | -1,686 | -2,086 | -2,613 | -2,701 |
|---|
| Proceeds From State Tax Credits Net Of Recapture | - | 9 | 14 | 11 | 2 | 6 | - | - | 4 | 5 |
|---|
| Proceeds from trade receivable financing | - | - | - | - | - | - | - | - | - | 124 |
|---|
| Proceeds from line of credit | - | - | - | - | - | - | 738 | 1,165 | 1,166 | 354 |
|---|
| Repayment of line of credit | - | - | - | - | - | - | 758 | 871 | 1,132 | 510 |
|---|
| Proceeds from Convertible Debt | - | - | - | - | - | - | 372 | - | - | 445 |
|---|
| Repurchase of convertible senior notes | - | - | - | - | - | - | - | - | 2 | 347 |
|---|
| Non Recourse Debt | - | - | 749 | 981 | 1,182 | 751 | 2,187 | 3,429 | 3,746 | 4,010 |
|---|
| Proceeds from Issuance of Debt | 544 | 336 | - | - | - | - | - | - | - | - |
|---|
| Non Recourse Debt | - | - | 363 | 518 | 671 | 399 | 856 | 1,799 | 1,576 | 1,795 |
|---|
| Repayment of non-recourse debt | 358 | 23 | - | - | - | - | - | - | - | - |
|---|
| Payment of debt fees | 15 | 14 | 14 | 25 | 29 | 14 | 54 | 63 | 47 | 94 |
|---|
| Proceeds From Lease Pass Through Financing Obligations | 129 | - | 6 | 217 | 9 | 9 | 10 | 4 | 9 | 5 |
|---|
| Repayment of pass-through financing obligation | - | - | - | - | 8 | - | 18 | - | - | 240 |
|---|
| Payment of finance lease obligations | - | - | - | - | - | 11 | 12 | 14 | 23 | 27 |
|---|
| Proceeds from Noncontrolling Interests | 276 | 574 | 595 | 345 | 712 | 818 | 1,239 | 1,415 | 1,572 | 1,812 |
|---|
| Distributions paid to noncontrolling interests and redeemable noncontrolling interests | 29 | 40 | 55 | 78 | 77 | 111 | 196 | 218 | 225 | 309 |
|---|
| Acquisition of noncontrolling interest | - | - | 35 | - | 5 | 3 | 42 | 43 | 46 | 26 |
|---|
| Proceeds from Stock Options Exercised | 4 | - | - | - | - | - | 36 | 33 | 23 | 19 |
|---|
| Proceeds from transfer of investment tax credits | - | - | - | - | - | - | - | - | - | 706 |
|---|
| Payments to redeemable noncontrolling interests and noncontrolling interests of investment tax credits | - | - | - | - | - | - | - | - | - | 706 |
|---|
| Net cash provided by financing activities | - | - | - | 936 | 1,107 | 1,161 | 2,646 | 3,037 | 3,469 | 3,427 |
|---|
| Net change in cash and restricted cash | - | - | - | 63 | 59 | 345 | 142 | 103 | 35 | -40 |
|---|
| Cash paid for interest | - | - | - | 76 | 99 | 120 | 225 | 300 | 433 | 591 |
|---|
| Income Taxes Paid | - | - | - | - | - | - | - | - | - | - |
|---|
| Purchases of solar energy systems and property and equipment included in accounts payable and accrued expenses | - | - | 20 | 27 | 52 | 66 | 50 | 61 | 62 | 41 |
|---|
| Right-of-Use Asset Obtained in Exchange for Finance Lease Liability | - | - | - | - | - | - | 11 | 21 | 88 | 37 |
|---|
| Purchase Of Solar Energy Systems Included In Non-Resource Debt | - | - | - | - | - | - | 37 | - | - | - |
|---|