Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Deferred Revenue (Details)

v3.19.3.a.u2
Summary of Significant Accounting Policies - Deferred Revenue (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Mar. 31, 2019
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   $ 729,499 $ 591,625 $ 564,900
Deferred revenue, revenue recognized   69,400 52,900 47,700
Contracted but not yet recognized   $ 6,500,000    
Revenue expected to recognize over next twelve months, percent   6.00%    
Revenue recognized, term, existing deferred revenue   10 years    
Deferred revenue   $ 138,422 27,393 $ 40,712
Residential solar energy systems        
Deferred Revenue Arrangement [Line Items]        
Residential solar energy system, average age   3 years    
Minimum        
Deferred Revenue Arrangement [Line Items]        
Revenue recognized, term   20 years    
Initial lease term   20 years    
Maximum        
Deferred Revenue Arrangement [Line Items]        
Revenue recognized, term   25 years    
Initial lease term   25 years    
Under Customer Agreements        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   $ 603,504 576,727  
Under Customer Agreements | Payments received        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   558,630 538,926  
Under Customer Agreements | Financing component balance        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   44,874 37,801  
Under SREC contracts        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   125,995 14,898  
Deferred revenue $ 95,500      
Under SREC contracts | Minimum        
Deferred Revenue Arrangement [Line Items]        
Initial lease term 10 years      
Under SREC contracts | Maximum        
Deferred Revenue Arrangement [Line Items]        
Initial lease term 15 years      
Under SREC contracts | Payments received        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   122,680 12,977  
Under SREC contracts | Financing component balance        
Deferred Revenue Arrangement [Line Items]        
Deferred revenue   $ 3,315 $ 1,921