v3.22.2.2
Summary of Significant Accounting Policies - Additional Information (Detail)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended 12 Months Ended
Aug. 16, 2022
USD ($)
Sep. 30, 2022
USD ($)
$ / shares
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2022
USD ($)
Customer
$ / shares
Sep. 30, 2021
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
Customer
Summary Of Significant Accounting Policies [Line Items]            
Deferred revenue   $ 2,800   $ 2,800   $ 2,380
Deferred revenue recognized out of prior period balance       169 $ 230  
Deferred revenue recognized in next 12 months       1,090    
Revenue Due to Changes in Regulation       288    
Financing receivable, Net   76   76    
Total sales return reserve from buyback options   105   105   223
Sales return reserve from short term buyback options   48   $ 48   $ 91
Number of customers representing more than ten percentage of accounts receivable | Customer       0   0
Allowance for credit losses   41   $ 41   $ 41
MyPower customer notes receivable, net of allowance for credit losses   280   280   299
MyPower customer notes receivable, net of allowance for credit losses, current   6   6   11
Other non-current assets   3,236   $ 3,236   $ 2,138
Accounts receivable from OEM customers excess percentage       10.00%   10.00%
Gross cost of operating lease vehicles   5,830   $ 5,830   $ 5,280
Net accumulated depreciation related to leased vehicles   1,000   $ 1,000   773
Product warranty description       a warranty on the installation and components of the energy generation and storage systems we sell for periods typically between 10 to 25 years    
Sales-type leasing revenue   161 $ 59 $ 559 156  
Sales-type leasing cost of revenue   $ 97 $ 35 $ 343 97  
Purchases of digital assets, amount         $ 1,500  
Earnings Per Share, Diluted | $ / shares [1]   $ 0.95 $ 0.48 $ 2.55 $ 0.95  
Unrecognized tax benefits   $ 778   $ 778   531
Unrecognized tax benefits, that would not affect effective tax rate   587   587   473
Minimum tax rate 15.00%          
Profits from income of corporations $ 1,000          
Other Non-current Assets [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Financing receivable, Net   398   $ 398    
Minimum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2019    
Maximum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2021    
Government Rebates Receivables [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Other non-current assets   671   $ 671   627
Federal [Member] | Minimum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2004    
Federal [Member] | Maximum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2014    
IRS [Member] | Minimum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2015    
IRS [Member] | Maximum [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Income tax examination, years       2018    
Shanghai, China [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Corporate income tax rate to certain enterprises       15.00%    
Corporate income tax rate       25.00%    
Beneficial income tax rate       15.00%    
Energy Generation and Storage [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Financing receivable, Net   18   $ 18    
Energy Generation and Storage [Member] | Other Non-current Assets [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Financing receivable, Net   307   307    
Customer payments [Member] | Energy Generation and Storage [Member]            
Summary Of Significant Accounting Policies [Line Items]            
Deferred revenue   665   665   $ 399
Deferred revenue recognized in next 12 months       12    
Revenue recognized       132 $ 90  
Unbilled transaction price allocated to performance obligations, expected of more than one year   $ 212   $ 212    
[1] Prior period results have been adjusted to reflect the three-for-one stock split effected in the form of a stock dividend in August 2022. See Note 1, Overview for details.