Quarterly report pursuant to Section 13 or 15(d)

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

v3.10.0.1
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Revenue, Major Customer [Line Items]        
Revenue $ 204,960 $ 144,546 $ 519,861 $ 380,277
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 114,572 61,717 273,167 168,918
Customer agreements        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 70,864 55,134 199,171 152,679
Incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 43,708 6,583 73,996 16,239
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Revenue 90,388 82,829 246,694 211,359
Solar energy systems        
Revenue, Major Customer [Line Items]        
Revenue 47,771 30,734 122,503 79,431
Products        
Revenue, Major Customer [Line Items]        
Revenue $ 42,617 $ 52,095 $ 124,191 $ 131,928