Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details)

v3.19.2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Revenue, Major Customer [Line Items]        
Total Revenue $ 204,595 $ 170,538 $ 399,099 $ 314,901
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 92,439 91,605 192,289 158,595
Customer agreements        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 85,277 66,658 163,805 128,307
Incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 7,162 24,947 28,484 30,288
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total Revenue 112,156 78,933 206,810 156,306
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total Revenue 66,569 40,734 125,005 74,732
Products        
Revenue, Major Customer [Line Items]        
Total Revenue $ 45,587 $ 38,199 $ 81,805 $ 81,574