XML 71 R26.htm IDEA: XBRL DOCUMENT v3.20.1
Unaudited Quarterly Supplemental Financial Information
12 Months Ended
Dec. 31, 2019
Quarterly Financial Information Disclosure [Abstract]  
Unaudited Quarterly Supplemental Financial Information
Unaudited Selected Quarterly Financial Data
The consolidated statements of operations data, presented on a quarterly basis for the years ended December 31, 2019 and 2018, are unaudited. These data have been prepared in accordance with U.S. GAAP for interim financial information and, in the opinion of management, reflect all adjustments, which include only normal recurring adjustments, necessary for a fair statement of the results of operations for the periods presented.
We have restated herein our previously issued unaudited selected quarterly financial data for the quarters ended March 31, 2019, June 30, 2019 and 2018, September 30, 2019 and 2018, and December 31, 2018 and revised our unaudited selected quarterly financial data for the quarter ended March 31, 2018. See Note 2, Restatement and Revision of Previously Issued Consolidated Financial Statements, for further information.
In addition, our unaudited selected quarterly financial data for the quarters ended March 31, 2019, June 30, 2019 and September 30, 2019, as previously reported, did not originally reflect the adoption of ASU 2014-09 related to the presentation of ASC 606 Revenue From Contracts With Customers. ASC 606 was adopted in the fourth quarter of 2019 and was applied on the modified retrospective method for periods commencing January 1, 2019. Our condensed consolidated statements of operations data for the interim periods within fiscal year 2019 have been recast accordingly. See Note 1, Accounting Guidance Implemented in Fiscal Year 2019, Revenue Recognition, for additional information related to our adoption of ASU 2014-09.
The following presents our consolidated statements of operations by quarter (in thousands) (unaudited):
 
 
2019
 
2018
 
 
Three Months Ended
 
 
Dec. 31
 
Sept. 30
 
June 30
 
March 31
 
Dec. 31
 
Sept. 30
 
June 30
 
March 31
 
 
 
 
As Restated and Recast
 
As Restated
 
As Revised
Revenue:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Product
 
$
158,427

 
$
163,902

 
$
144,081

 
$
90,926

 
$
103,937

 
$
102,433

 
$
78,497

 
$
115,771

Installation
 
14,429

 
21,102

 
13,076

 
12,219

 
11,066

 
24,691

 
19,643

 
12,795

Service
 
25,628

 
23,665

 
23,026

 
23,467

 
21,778

 
21,056

 
20,299

 
20,134

Electricity
 
15,059

 
15,638

 
20,143

 
20,389

 
20,364

 
20,439

 
19,863

 
19,882

Total revenue
 
213,543

 
224,307

 
200,326

 
147,001

 
157,145

 
168,619

 
138,302

 
168,582

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Product
 
141,782

 
91,697

 
113,228

 
88,772

 
86,154

 
69,053

 
49,603

 
76,465

Installation
 
16,901

 
26,141

 
17,685

 
15,760

 
20,651

 
35,506

 
29,951

 
9,198

Service
 
17,127

 
36,427

 
18,763

 
27,921

 
31,818

 
24,470

 
19,702

 
24,699

Electricity
 
12,785

 
27,317

 
22,300

 
12,984

 
11,601

 
12,180

 
12,062

 
13,785

Total cost of revenue
 
188,595

 
181,582

 
171,976

 
145,437

 
150,224

 
141,209

 
111,318

 
124,147

Gross profit
 
24,948

 
42,725

 
28,350

 
1,564

 
6,921

 
27,410

 
26,984

 
44,435

Operating expenses:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Research and development
 
22,148

 
23,389

 
29,772

 
28,859

 
32,970

 
27,021

 
14,413

 
14,731

Sales and marketing
 
17,357

 
17,649

 
18,194

 
20,373

 
24,951

 
21,396

 
8,167

 
8,293

General and administrative
 
33,315

 
36,599

 
43,662

 
39,074

 
47,471

 
40,999

 
15,359

 
14,988

Total operating expenses
 
72,820

 
77,637

 
91,628

 
88,306

 
105,392

 
89,416

 
37,939

 
38,012

Income (loss) from operations
 
(47,872
)
 
(34,912
)
 
(63,278
)
 
(86,742
)
 
(98,471
)
 
(62,006
)
 
(10,955
)
 
6,423

Interest income
 
862

 
1,214

 
1,700

 
1,885

 
1,996

 
1,467

 
444

 
415

Interest expense
 
(21,635
)
 
(21,323
)
 
(22,722
)
 
(21,800
)
 
(21,757
)
 
(22,125
)
 
(27,147
)
 
(25,992
)
Interest expense to related parties
 
(1,933
)
 
(1,605
)
 
(1,606
)
 
(1,612
)
 
(1,628
)
 
(1,966
)
 
(2,672
)
 
(2,627
)
Other income (expense), net
 
138

 
525

 
(222
)
 
265

 
636

 
(705
)
 
(855
)
 
(75
)
Gain (loss) on revaluation of warrant liabilities and embedded derivatives
 
(540
)
 
(540
)
 
(540
)
 
(540
)
 
192

 
900

 
(19,197
)
 
(4,034
)
Loss before income taxes
 
(70,980
)
 
(56,641
)
 
(86,668
)
 
(108,544
)
 
(119,032
)
 
(84,435
)
 
(60,382
)
 
(25,890
)
Income tax provision (benefit)
 
31

 
136

 
258

 
208

 
1,079

 
(3
)
 
128

 
333

Net loss
 
(71,011
)
 
(56,777
)
 
(86,926
)
 
(108,752
)
 
(120,111
)
 
(84,432
)
 
(60,510
)
 
(26,223
)
Less: net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(5,178
)
 
(5,027
)
 
(5,015
)
 
(3,832
)
 
(4,662
)
 
(3,930
)
 
(4,512
)
 
(4,632
)
Net loss attributable to Class A and Class B common stockholders
 
(65,833
)
 
(51,750
)
 
(81,911
)
 
(104,920
)
 
(115,449
)
 
(80,502
)
 
(55,998
)
 
(21,591
)
Less: deemed dividend to noncontrolling interest
 
(2,454
)
 

 

 

 

 

 

 

Net loss available to Class A and Class B common stockholders
 
$
(68,287
)
 
$
(51,750
)
 
$
(81,911
)
 
$
(104,920
)
 
$
(115,449
)
 
$
(80,502
)
 
$
(55,998
)
 
$
(21,591
)
Net loss per share attributable to Class A and Class B common stockholders, basic and diluted
 
$
(0.58
)
 
$
(0.44
)
 
$
(0.72
)
 
$
(0.94
)
 
$
(1.06
)
 
$
(0.99
)
 
$
(5.31
)
 
$
(2.08
)
Weighted average shares used to compute net loss per share attributable to Class A and Class B common stockholders, basic and diluted
 
118,588

 
116,330

 
113,624

 
111,842

 
109,416

 
81,321

 
10,536

 
10,404


Restatement and Recasting and Revision of Previously Issued Unaudited Financial Data
Following are the restatement and recasting of previously reported condensed consolidated balance sheets for the quarters ended March 31, 2019, June 30, 2019, and September 30, 2019, restatement of previously reported condensed consolidated balance sheets for the quarters ended June 30, 2018 and September 30, 2018, and revision of previously reported condensed consolidated balance sheet for the quarter ended March 31, 2018.
 
 
March 31, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Assets
 
 
 
 
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
 
 
 
 
Cash and cash equivalents
 
$
320,414

 
$

 
$
320,414

 
$

 
$
320,414

Restricted cash
 
18,419

 

 
18,419

 

 
18,419

Accounts receivable
 
84,070

 
3,995

1
88,065

 
(2,418
)
 
85,647

Inventories
 
116,544

 
3,327

2
119,871

 

 
119,871

Deferred cost of revenue
 
66,316

 
(13,405
)
3
52,911

 

 
52,911

Customer financing receivable
 
5,717

 

 
5,717

 

 
5,717

Prepaid expenses and other current assets
 
28,362

 
1,582

4
29,944

 
129

 
30,073

Total current assets
 
639,842

 
(4,501
)
 
635,341

 
(2,289
)
 
633,052

Property, plant and equipment, net
 
475,385

 
236,246

5
711,631

 

 
711,631

Customer financing receivable, non-current
 
65,620

 

 
65,620

 

 
65,620

Restricted cash (noncurrent)
 
31,101

 

 
31,101

 

 
31,101

Deferred cost of revenue, non-current
 
72,516

 
(70,583
)
3
1,933

 

 
1,933

Other long-term assets
 
34,386

 
8,486

6
42,872

 
2,575

 
45,447

Total assets
 
$
1,318,850

 
$
169,648

 
$
1,488,498

 
$
286

 
$
1,488,784

Liabilities, Redeemable Noncontrolling Interest, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts payable
 
$
64,425

 
$

 
$
64,425

 
$

 
$
64,425

Accrued warranty
 
16,736

 
(1,219
)
7
15,517

 
(1,280
)
 
14,237

Accrued expenses and other current liabilities
 
67,966

 
(3,893
)
8
64,073

 

 
64,073

Financing obligations
 

 
8,819

10
8,819

 

 
8,819

Deferred revenue and customer deposits
 
89,557

 
(16,153
)
11
73,404

 
1,665

 
75,069

Current portion of recourse debt
 
15,683

 

 
15,683

 

 
15,683

Current portion of non-recourse debt
 
19,486

 

 
19,486

 

 
19,486

Current portion of non-recourse debt from related parties
 
2,341

 

 
2,341

 

 
2,341

Total current liabilities
 
276,194

 
(12,446
)
 
263,748

 
385

 
264,133

Derivative liabilities
 
11,166

 
4,556

 
15,722

 

 
15,722

Deferred revenue and customer deposits, net of current portion
 
201,863

 
(115,432
)
11
86,431

 
17,320

 
103,751

Financing obligations, non-current
 

 
394,037

10
394,037

 

 
394,037

Long-term portion of recourse debt
 
357,876

 

 
357,876

 

 
357,876

Long-term portion of non-recourse debt
 
284,541

 

 
284,541

 

 
284,541

Long-term portion of recourse debt from related parties
 
27,734

 

 
27,734

 

 
27,734

Long-term portion of non-recourse debt from related parties
 
33,417

 

 
33,417

 

 
33,417

 
 
March 31, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Other long-term liabilities
 
58,032

 
(29,062
)
8
28,970

 

 
28,970

Total liabilities
 
1,250,823

 
241,653

 
1,492,476

 
17,705

 
1,510,181


 
 
 
 
 
 
 
 
 
 
Redeemable noncontrolling interest
 
58,802

 

 
58,802

 

 
58,802

Stockholders’ deficit:
 
 
 
 
 
 
 
 
 
 
Common stock
 
11

 

 
11

 

 
11

Additional paid-in capital
 
2,551,256

 
755

12
2,552,011

 

 
2,552,011

Accumulated other comprehensive income
 
5

 

 
5

 

 
5

Accumulated deficit
 
(2,656,711
)
 
(72,760
)
 
(2,729,471
)
 
(17,419
)
 
(2,746,890
)
Total stockholders’ deficit
 
(105,439
)
 
(72,005
)
 
(177,444
)
 
(17,419
)
 
(194,863
)
Noncontrolling interest
 
114,664

 

 
114,664

 

 
114,664

Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest
 
$
1,318,850

 
$
169,648

 
$
1,488,498

 
$
286

 
$
1,488,784

 
 
 
 
 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation cost of $3.8 million and reclassification of inventories of $0.5 million held for shipments to customers under the Managed Services Program and similar arrangements to construction in progress within property, plant and equipment, net.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from reclassifying deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $13.9 million (short-term) and $70.6 million (long-term), net capitalization of stock-based compensation costs of $2.1 million into current deferred cost of revenue, and the correction of certain other immaterial misstatements identified to relieve installation deferred cost of revenue of $1.7 million.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install costs of goods sold are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $232.6 million. This includes a net capitalization of stock-based compensation cost for these assets of $3.6 million.
6 Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements, reducing accrued warranty by $0.4 million and the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements, which are now recorded as derivative liabilities, reducing accrued warranty by $0.8 million.
8 Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These are now recorded as derivative liabilities and were previously treated as an accrued liability.
12 Additional paid-in capital — Relates to the correction of an unadjusted misstatement in the valuation of our 6% Notes derivative, resulting in a credit to additional paid-in capital and additional expense of $0.8 million recorded within other expense, net.
 
 
June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Assets
 
 
 
 
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
 
 
 
 
Cash and cash equivalents
 
$
308,009

 
$

 
$
308,009

 
$

 
$
308,009

Restricted cash
 
23,706

 

 
23,706

 

 
23,706

Accounts receivable
 
38,296

 
4,172

1
42,468

 
(2,430
)
 
40,038

Inventories
 
104,934

 
1,955

2
106,889

 

 
106,889

Deferred cost of revenue
 
86,434

 
(6,127
)
3
80,307

 

 
80,307

Customer financing receivable
 
5,817

 

 
5,817

 

 
5,817

Prepaid expenses and other current assets
 
25,088

 
1,252

4
26,340

 
143

 
26,483

Total current assets
 
592,284

 
1,252

 
593,536

 
(2,287
)
 
591,249

Property, plant and equipment, net
 
406,610

 
234,649

5
641,259

 

 
641,259

Customer financing receivable, non-current
 
64,146

 

 
64,146

 

 
64,146

Restricted cash (noncurrent)
 
39,351

 

 
39,351

 

 
39,351

Deferred cost of revenue, non-current
 
59,213

 
(55,367
)
3
3,846

 

 
3,846

Other long-term assets
 
60,975

 
9,118

6
70,093

 
2,743

 
72,836

Total assets
 
$
1,222,579

 
$
189,652

 
$
1,412,231

 
$
456

 
$
1,412,687

Liabilities, Redeemable Noncontrolling Interest, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts payable
 
61,427

 

 
61,427

 

 
61,427

Accrued warranty
 
12,393

 
(1,154
)
7
11,239

 
(999
)
 
10,240

Accrued expenses and other current liabilities
 
109,722

 
(4,329
)
8
105,393

 

 
105,393

Financing obligations
 

 
10,027

10
10,027

 

 
10,027

Deferred revenue and customer deposits
 
129,321

 
(13,847
)
11
115,474

 
3,264

 
118,738

Current portion of recourse debt
 
15,681

 

 
15,681

 

 
15,681

Current portion of non-recourse debt
 
7,654

 

 
7,654

 

 
7,654

Current portion of non-recourse debt from related parties
 
2,889

 

 
2,889

 

 
2,889

Total current liabilities
 
339,087

 
(9,303
)
 
329,784

 
2,265

 
332,049

Derivative liabilities
 
13,079

 
5,096

 
18,175

 

 
18,175

Deferred revenue and customer deposits, net of current portion
 
181,221

 
(95,840
)
11
85,381

 
25,369

 
110,750

Financing obligations, non-current
 

 
400,078

10
400,078

 

 
400,078

Long-term portion of recourse debt
 
362,424

 

 
362,424

 

 
362,424

Long-term portion of non-recourse debt
 
219,182

 

 
219,182

 

 
219,182

Long-term portion of recourse debt from related parties
 
27,734

 

 
27,734

 

 
27,734

Long-term portion of non-recourse debt from related parties
 
32,643

 

 
32,643

 

 
32,643

Other long-term liabilities
 
58,417

 
(28,438
)
8
29,979

 

 
29,979

Total liabilities
 
1,233,787

 
271,593

 
1,505,380

 
27,634

 
1,533,014

 
 
 
 
 
 
 
 
 
 
 
Redeemable noncontrolling interest
 
505

 

 
505

 

 
505

Stockholders’ deficit:
 
 
 
 
 
 
 
 
 
 
 
 
June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Common stock
 
11

 

 
11

 

 
11

Additional paid-in capital
 
2,603,279

 
755

12
2,604,034

 

 
2,604,034

Accumulated other comprehensive loss
 
(148
)
 

 
(148
)
 

 
(148
)
Accumulated deficit
 
(2,718,927
)
 
(82,696
)
 
(2,801,623
)
 
(27,178
)
 
(2,828,801
)
Total stockholders’ deficit
 
(115,785
)
 
(81,941
)
 
(197,726
)
 
(27,178
)
 
(224,904
)
Noncontrolling interest
 
104,072

 

 
104,072

 

 
104,072

Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest
 
$
1,222,579

 
$
189,652

 
$
1,412,231

 
$
456

 
$
1,412,687

 
 
 
 
 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation costs of $2.0 million.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from reclassifying deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $7.4 million (short-term) and $55.4 million (long-term), and net capitalization of stock-based compensation costs of $3.7 million into current deferred cost of revenue, and the correction of certain other immaterial misstatements identified to relieve installation deferred cost of revenue of $2.5 million.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $230.9 million. This includes a net capitalization of stock-based compensation costs for these assets of $3.7 million.
6 Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements, reducing accrued warranty by $0.2 million and the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements, which are now recorded as derivative liabilities, reducing accrued warranty by $0.9 million.
8 Accrued expenses and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These are now recorded as derivative liabilities and were previously treated as an accrued liability.
12 Additional paid-in capital — Relates to the correction of an unadjusted misstatement in the valuation of our 6% Notes derivative, resulting in a credit to additional paid-in capital and additional expense of $0.8 million recorded within other expense, net.

 
 
September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Assets
 
 
 
 
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
 
 
 
 
Cash and cash equivalents
 
$
226,499

 
$

 
$
226,499

 
$

 
$
226,499

Restricted cash
 
14,486

 

 
14,486

 

 
14,486

Accounts receivable
 
26,737

 
4,216

1
30,953

 
(4,600
)
 
26,353

Inventories
 
140,372

 
(7,765
)
2
132,607

 

 
132,607

Deferred cost of revenue
 
50,707

 
(9,665
)
3
41,042

 

 
41,042

Customer financing receivable
 
5,919

 

 
5,919

 

 
5,919

Prepaid expenses and other current assets
 
25,639

 
2,830

4
28,469

 
173

 
28,642

Total current assets
 
490,359

 
(10,384
)
 
479,975

 
(4,427
)
 
475,548

Property, plant and equipment, net
 
384,377

 
243,008

5
627,385

 

 
627,385

Customer financing receivable, non-current
 
62,615

 

 
62,615

 

 
62,615

Restricted cash (noncurrent)
 
116,890

 

 
116,890

 

 
116,890

Deferred cost of revenue, non-current
 
57,286

 
(53,562
)
3
3,724

 

 
3,724

Other long-term assets
 
58,400

 
9,319

6
67,719

 
3,232

 
70,951

Total assets
 
$
1,169,927

 
$
188,381

 
$
1,358,308

 
$
(1,195
)
 
$
1,357,113

Liabilities, Redeemable Noncontrolling Interest, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts payable
 
$
81,060

 
$

 
$
81,060

 
$

 
$
81,060

Accrued warranty
 
15,295

 
(1,159
)
7
14,136

 
(1,274
)
 
12,862

Accrued expense and other current liabilities
 
82,150

 
(2,534
)
8
79,616

 

 
79,616

Financing obligations
 

 
10,420

10
10,420

 

 
10,420

Deferred revenue and customer deposits
 
88,060

 
(13,856
)
11
74,204

 
3,347

 
77,551

Current portion of recourse debt
 
15,678

 

 
15,678

 

 
15,678

Current portion of non-recourse debt
 
7,983

 

 
7,983

 

 
7,983

Current portion of non-recourse debt from related parties
 
3,500

 

 
3,500

 

 
3,500

Total current liabilities
 
293,726

 
(7,129
)
 
286,597

 
2,073

 
288,670

Derivative liabilities
 
14,648

 
5,636

 
20,284

 

 
20,284

Deferred revenue and customer deposits, net of current portion
 
179,712

 
(92,390
)
11
87,322

 
34,954

 
122,276

Financing obligations, non-current
 

 
397,272

10
397,272

 

 
397,272

Long-term portion of recourse debt
 
359,959

 

 
359,959

 

 
359,959

Long-term portion of non-recourse debt
 
217,334

 

 
217,334

 

 
217,334

Long-term portion of recourse debt from related parties
 
27,734

 

 
27,734

 

 
27,734

Long-term portion of non-recourse debt from related parties
 
31,781

 

 
31,781

 

 
31,781

Other long-term liabilities
 
56,117

 
(27,264
)
8
28,853

 
(1
)
 
28,852

Total liabilities
 
1,181,011

 
276,125

 
1,457,136

 
37,026

 
1,494,162

 
 
 
 
 
 
 
 
 
 
 
Redeemable noncontrolling interest
 
557

 

 
557

 

 
557

 
 
September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Stockholders’ deficit:
 
 
 
 
 
 
 
 
 
 
Common stock
 
12

 

 
12

 

 
12

Additional paid-in capital
 
2,647,118

 
756

12
2,647,874

 

 
2,647,874

Accumulated other comprehensive loss
 
(147
)
 

 
(147
)
 

 
(147
)
Accumulated deficit
 
(2,753,830
)
 
(88,500
)
 
(2,842,330
)
 
(38,221
)
 
(2,880,551
)
Total stockholders’ deficit
 
(106,847
)
 
(87,744
)
 
(194,591
)
 
(38,221
)
 
(232,812
)
Noncontrolling interest
 
95,206

 

 
95,206

 

 
95,206

Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest
 
$
1,169,927

 
$
188,381

 
$
1,358,308

 
$
(1,195
)
 
$
1,357,113

 
 
 
 
 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation costs of $3.7 million, and reclassification of inventories of $11.5 million on held for shipments to customers under the Managed Services Program and similar arrangements to construction in progress within property, plant and equipment, net.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from reclassifying deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $7.4 million (short-term) and $53.6 million (long-term), and net capitalization of stock-based compensation costs of $0.8 million into current deferred cost of revenue, and the correction of certain other immaterial misstatements identified to relieve installation deferred cost of revenue of $3.1 million.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install costs of goods sold are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $239.3 million. This includes a net capitalization of stock-based compensation costs for these assets of $3.7 million.
6 Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements, reducing accrued warranty by $0.1 million and the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements, which are now recorded as derivative liabilities, reducing accrued warranty by $1.1 million.
8 Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These are now recorded as derivative liabilities and were previously treated as an accrued liability.
12 Additional paid-in capital — Relates to the correction of an unadjusted misstatement in the valuation of our 6% Notes derivative, resulting in a credit to additional paid-in capital and additional expense of $0.8 million recorded within other expense, net.


 
 
March 31, 2018
 
 
As Previously Reported
 
Revision Impacts
 
As Revised
Assets
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
Cash and cash equivalents
 
$
88,227

 
$

 
$
88,227

Restricted cash
 
22,998

 

 
22,998

Short-term investments
 
20,138

 

 
20,138

Accounts receivable
 
58,520

 
3,476

1
61,996

Inventories
 
97,079

 
(3,047
)
2
94,032

Deferred cost of revenue
 
81,229

 
(37,814
)
3
43,415

Customer financing receivable
 
5,303

 

 
5,303

Prepaid expenses and other current assets
 
27,836

 
1,108

4
28,944

Total current assets
 
401,330

 
(36,277
)
 
365,053

Property, plant and equipment, net
 
487,169

 
215,059

5
702,228

Customer financing receivable, non-current
 
71,337

 

 
71,337

Restricted cash (noncurrent)
 
32,367

 

 
32,367

Deferred cost of revenue, non-current
 
155,658

 
(155,605
)
3
53

Other long-term assets
 
36,773

 
6,406

6
43,179

Total assets
 
$
1,184,634

 
$
29,583

 
$
1,214,217

Liabilities, Convertible Redeemable Preferred Stock, Redeemable Noncontrolling Interest, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
Accounts payable
 
$
47,755

 
$

 
$
47,755

Accrued warranty
 
16,723

 
(329
)
7
16,394

Accrued expenses and other current liabilities
 
57,683

 
(4,029
)
8
53,654

Financing obligations
 

 
6,556

10
6,556

Deferred revenue and customer deposits
 
99,449

 
(27,963
)
11
71,486

Current portion of recourse debt
 
6,017

 

 
6,017

Current portion of non-recourse debt
 
17,583

 

 
17,583

Current portion of non-recourse debt from related parties
 
1,525

 

 
1,525

Total current liabilities
 
246,735

 
(25,765
)
 
220,970

Preferred stock warrant liabilities
 
6,554

 

 
6,554

Derivative liabilities
 
163,854

 
4,217

 
168,071

Deferred revenue and customer deposits, net of current portion
 
306,153

 
(216,652
)
11
89,501

Financing obligations, non-current
 

 
321,682

10
321,682

Long-term portion of recourse debt
 
517,483

 

 
517,483

Long-term portion of non-recourse debt
 
302,345

 

 
302,345

Long-term portion of recourse debt from related parties
 
70,202

 

 
70,202

Long-term portion of non-recourse debt from related parties
 
35,312

 

 
35,312

Other long-term liabilities
 
51,860

 
(30,107
)
8
21,753

Total liabilities
 
1,700,498

 
53,375

 
1,753,873


 
 
 
 
 
 
 
 
March 31, 2018
 
 
As Previously Reported
 
Revision Impacts
 
As Revised
Redeemable noncontrolling interest
 
58,176

 

 
58,176

Convertible redeemable preferred stock
 
1,465,841

 

 
1,465,841

Stockholders’ deficit:
 
 
 
 
 
 
Common stock
 
1

 

 
1

Additional paid-in capital
 
158,605

 

 
158,605

Accumulated other comprehensive income
 
117

 

 
117

Accumulated deficit
 
(2,348,363
)
 
(23,792
)
 
(2,372,155
)
Total stockholders’ deficit
 
(2,189,640
)
 
(23,792
)
 
(2,213,432
)
Noncontrolling interest
 
149,759

 

 
149,759

Total liabilities, redeemable noncontrolling interest, convertible redeemable preferred stock, stockholders' deficit and noncontrolling interest
 
$
1,184,634

 
$
29,583

 
$
1,214,217

 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation costs of $0.3 million, and reclassification of inventories of $3.4 million held for shipments to customers under the Managed Services Program and similar arrangements to construction in progress within property, plant and equipment, net.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from reclassifying deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $38.2 million (short-term) and $155.6 million (long-term), and net capitalization of stock-based compensation costs of $0.3 million into current deferred cost of revenue.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install costs of goods sold are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $214.1 million. This includes a net capitalization of stock-based compensation costs for these assets of $0.9 million.
6 Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements, which are now recorded as derivative liabilities of $0.3 million.
8 Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These are now recorded as derivative liabilities and were previously treated as an accrued liability.


 
 
June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Assets
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
Cash and cash equivalents
 
$
91,596

 
$

 
$
91,596

Restricted cash
 
25,860

 

 
25,860

Short-term investments
 
15,703

 

 
15,703

Accounts receivable
 
36,804

 
3,638

1
40,442

Inventories
 
136,433

 
(7,149
)
2
129,284

Deferred cost of revenue
 
55,476

 
(19,822
)
3
35,654

Customer financing receivable
 
5,398

 

 
5,398

Prepaid expenses and other current assets
 
23,003

 
1,817

4
24,820

Total current assets
 
390,273

 
(21,516
)
 
368,757

Property, plant and equipment, net
 
477,765

 
219,579

5
697,344

Customer financing receivable, non-current
 
69,963

 

 
69,963

Restricted cash (noncurrent)
 
32,416

 

 
32,416

Deferred cost of revenue, non-current
 
148,934

 
(148,874
)
3
60

Other long-term assets
 
38,386

 
6,855

6
45,241

Total assets
 
$
1,157,737

 
$
56,044

 
$
1,213,781

Liabilities, Redeemable Noncontrolling Interest, convertible redeemable preferred stock, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
Accounts payable
 
$
53,798

 
$

 
$
53,798

Accrued warranty
 
14,928

 
(641
)
7
14,287

Accrued expenses and other current liabilities
 
54,832

 
(4,900
)
8
49,932

Financing obligations
 

 
6,792

10
6,792

Deferred revenue and customer deposits
 
94,582

 
(28,528
)
11
66,054

Current portion of recourse debt
 
10,351

 

 
10,351

Current portion of non-recourse debt
 
18,025

 

 
18,025

Current portion of non-recourse debt from related parties
 
1,630

 

 
1,630

Total current liabilities
 
248,146

 
(27,277
)
 
220,869

Preferred stock warrant liabilities
 
2,369

 

 
2,369

Derivative liabilities
 
188,199

 
4,217

 
192,416

Deferred revenue and customer deposits, net of current portion
 
301,550

 
(212,920
)
11
88,630

Financing obligations, non-current
 

 
356,727

10
356,727

Long-term portion of recourse debt
 
524,934

 

 
524,934

Long-term portion of non-recourse debt
 
298,048

 

 
298,048

Long-term portion of recourse debt from related parties
 
72,087

 

 
72,087

Long-term portion of non-recourse debt from related parties
 
35,054

 

 
35,054

Other long-term liabilities
 
52,153

 
(30,589
)
8
21,564

Total liabilities
 
1,722,540

 
90,158

 
1,812,698

 
 
 
 
 
 
 
 
 
June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Redeemable noncontrolling interest
 
54,940

 

 
54,940

Convertible redeemable preferred stock
 
1,465,841

 

 
1,465,841

Stockholders’ deficit:
 
 
 
 
 
 
Common stock
 
1

 

 
1

Additional paid-in capital
 
166,805

 

 
166,805

Accumulated other comprehensive income
 
217

 

 
217

Accumulated deficit
 
(2,394,040
)
 
(34,114
)
 
(2,428,154
)
Total stockholders’ deficit
 
(2,227,017
)
 
(34,114
)
 
(2,261,131
)
Noncontrolling interest
 
141,433

 

 
141,433

Total liabilities, redeemable noncontrolling interest, convertible redeemable preferred stock, stockholders' deficit and noncontrolling interest
 
$
1,157,737

 
$
56,044

 
$
1,213,781

 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation expenses of $0.9 million, and reclassification of inventories of $8.0 million held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net, a decrease for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $20.1 million (short-term) and $148.9 million (long-term), and the cumulative net absorption in current deferred cost of revenue for overhead in related to stock-based compensation expenses of $0.3 million.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the cumulative net change of accounting for Managed Services Agreements and similar arrangements where prepaid property tax and insurance payments are now classified within prepaid expenses.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install costs of goods sold are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $218.6 million. This includes a net capitalization of stock-based compensation costs for these assets of $1.0 million.
6 Other long-term assets — The correction of these misstatements resulted from the cumulative net change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and prepaid property tax and insurance payments are now classified within long term prepaid expenses, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis on our Managed Services Agreements and similar arrangements of $0.4 million and also includes the cumulative net change of accounting for the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements of $0.3 million.
8 Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the cumulative change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the cumulative net change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as an accrued liability.


 
 
September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Assets
 
 
 
 
 
 
Current assets:
 
 
 
 
 
 
Cash and cash equivalents
 
$
395,516

 
$

 
$
395,516

Restricted cash
 
17,931

 

 
17,931

Short-term investments
 
4,494

 

 
4,494

Accounts receivable
 
41,485

 
3,776

1
45,261

Inventories
 
134,725

 
3,053

2
137,778

Deferred cost of revenue
 
66,009

 
(20,826
)
3
45,183

Customer financing receivable
 
5,496

 

 
5,496

Prepaid expenses and other current assets
 
32,876

 
3,623

4
36,499

Total current assets
 
698,532

 
(10,374
)
 
688,158

Property, plant and equipment, net
 
471,074

 
227,049

5
698,123

Customer financing receivable, non-current
 
68,535

 

 
68,535

Restricted cash (noncurrent)
 
30,779

 

 
30,779

Deferred cost of revenue, non-current
 
139,217

 
(139,172
)
3
45

Other long-term assets
 
37,008

 
7,389

6
44,397

Total assets
 
$
1,445,145

 
$
84,892

 
$
1,530,037

Liabilities, Redeemable Noncontrolling Interest, Stockholders’ Deficit and Noncontrolling Interest
 
 
 
 
 
 
Current liabilities:
 
 
 
 
 
 
Accounts payable
 
$
59,818

 
$

 
$
59,818

Accrued warranty
 
17,975

 
(663
)
7
17,312

Accrued expenses and other current liabilities
 
66,873

 
(2,887
)
8
63,986

Financing obligations
 

 
7,780

10
7,780

Deferred revenue and customer deposits
 
105,265

 
(32,527
)
11
72,738

Current portion of recourse debt
 
1,686

 

 
1,686

Current portion of non-recourse debt
 
18,499

 

 
18,499

Current portion of non-recourse debt from related parties
 
1,737

 

 
1,737

Total current liabilities
 
271,853

 
(28,297
)
 
243,556

Derivative liabilities
 
9,441

 
4,217

 
13,658

Deferred revenue and customer deposits, net of current portion
 
290,481

 
(201,277
)
11
89,204

Financing obligations, non-current
 

 
375,254

10
375,254

Long-term portion of recourse debt
 
358,363

 

 
358,363

Long-term portion of non-recourse debt
 
293,593

 

 
293,593

Long-term portion of recourse debt from related parties
 
32,168

 

 
32,168

Long-term portion of non-recourse debt from related parties
 
34,765

 

 
34,765

Other long-term liabilities
 
48,161

 
(29,724
)
8
18,437

Total liabilities
 
1,338,825

 
120,173

 
1,458,998

 
 
September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
 
 
 
 
 
 
Redeemable noncontrolling interest
 
56,446

 

 
56,446

Stockholders’ deficit:
 
 
 
 
 
 
Common stock
 
11

 

 
11

Additional paid-in capital
 
2,387,361

 
755

12
2,388,116

Accumulated other comprehensive income
 
272

 

 
272

Accumulated deficit
 
(2,472,619
)
 
(36,036
)
 
(2,508,655
)
Total stockholders’ deficit
 
(84,975
)
 
(35,281
)
 
(120,256
)
Noncontrolling interest
 
134,849

 

 
134,849

Total liabilities, redeemable noncontrolling interest, stockholders' deficit and noncontrolling interest
 
$
1,445,145

 
$
84,892

 
$
1,530,037

 
 
 
 
 
 
 
1 Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
2 Inventories — The correction of these misstatements resulted from the change of accounting for inventory, including net capitalization of stock-based compensation costs of $7.2 million, and reclassification of inventories of $4.1 million held for shipments to customers under the Managed Services Program and similar arrangements to construction in progress within property, plant and equipment, net.
3 Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from reclassifying deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $23.8 million (short-term) and $139.2 million (long-term), and net capitalization of stock-based compensation costs of $3.0 million into current deferred cost of revenue.
4 Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
5 Property, plant and equipment, net — The correction of these misstatements resulted from the change of accounting for Managed Services transactions and similar arrangements, whereby product and install costs of goods sold are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party of $224.6 million. This includes a net capitalization of stock-based compensation costs for these assets of $2.4 million.
6 Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and where prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
7 Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements, reducing accrued warranty by $0.4 million and the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements, which are now recorded as derivative liabilities of $0.3 million.
8 Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which historical accrued liabilities recorded at inception of the agreements, as well as subsequent reductions of those liabilities, were reversed.
9 Financing obligations, current and non-current — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received are classified as financing obligations.
10Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
11 Derivative liabilities — The correction of these misstatements resulted from the change of accounting for embedded derivatives related to grid pricing escalation guarantees we provided in some of our sales arrangements. These are now recorded as derivative liabilities and were previously treated as an accrued liability.
12 Additional paid-in capital — Relates to the correction of an unadjusted misstatement in the valuation of our 6% Notes derivative, resulting in a credit to additional paid-in capital and additional expense of $0.8 million recorded within other expense, net.
.


The following tables contain the restatement and recasting of previously reported unaudited condensed consolidated statements of operations for the three-month period ended March 31, 2019, the three- and six-month periods ended June 30, 2019 and the three- and nine-month periods ended September 30, 2019, the restatement of previously reported unaudited condensed consolidated statements of operations for the three- and six-month periods ended June 30, 2018 and the three- and nine-month periods ended September 30, 2018 and the revision of the previously reported unaudited condensed consolidated statement of operations for the three-month period ended March 31, 2018. Reconciliation to the previously reported unaudited condensed consolidated statements of comprehensive loss is not provided, as there is no change to those statements for any period, with the exception of the change to net loss, described in the tables below. Reconciliation to the previously reported unaudited condensed consolidated statements of convertible redeemable preferred stock, redeemable noncontrolling interest, stockholders' deficit and noncontrolling is not provided, as there is no change to those statements for any period, with the exception of the correction of an uncorrected misstatement within additional paid-in capital for $0.8 million in the three months ended September 30, 2018.
 
 
Three Months Ended March 31, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
$
141,734

 
$
(48,171
)
a
$
93,563

 
$
(2,637
)
 
$
90,926

Installation
 
22,258

 
(11,195
)
a
11,063

 
1,156

 
12,219

Service
 
23,290

 
(574
)
a
22,716

 
751

 
23,467

Electricity
 
13,425

 
6,964

a
20,389

 

 
20,389

Total revenue
 
200,707

 
(52,976
)
 
147,731

 
(730
)
 
147,001

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
124,000

 
(34,980
)
c, d
89,020

 
(248
)
 
88,772

Installation
 
24,166

 
(8,406
)
c
15,760

 

 
15,760

Service
 
27,557

 
1,331

b, d
28,888

 
(967
)
 
27,921

Electricity
 
9,229

 
3,755

c
12,984

 

 
12,984

Total cost of revenue
 
184,952

 
(38,300
)
 
146,652

 
(1,215
)
 
145,437

Gross profit
 
15,755

 
(14,676
)
 
1,079

 
485

 
1,564

Operating expenses:
 
 
 
 
 
 
 
 
 
 
Research and development
 
28,859

 

 
28,859

 

 
28,859

Sales and marketing
 
20,463

 
2

e
20,465

 
(92
)
 
20,373

General and administrative
 
39,074

 

 
39,074

 

 
39,074

Total operating expenses
 
88,396

 
2

 
88,398

 
(92
)
 
88,306

Income (loss) from operations
 
(72,641
)
 
(14,678
)
 
(87,319
)
 
577

 
(86,742
)
Interest income
 
1,885

 

 
1,885

 

 
1,885

Interest expense
 
(15,962
)
 
(5,838
)
f
(21,800
)
 

 
(21,800
)
Interest expense to related parties
 
(1,612
)
 

 
(1,612
)
 

 
(1,612
)
Other income (expense), net
 
265

 

 
265

 

 
265

Loss on revaluation of warrant liabilities and embedded derivatives
 

 
(540
)
g
(540
)
 

 
(540
)
Loss before income taxes
 
(88,065
)
 
(21,056
)
 
(109,121
)
 
577

 
(108,544
)
Income tax provision
 
208

 

 
208

 

 
208

Net loss
 
(88,273
)
 
(21,056
)
 
(109,329
)
 
577

 
(108,752
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(3,832
)
 

 
(3,832
)
 

 
(3,832
)
Net loss attributable to Class A and Class B common stockholders
 
$
(84,441
)
 
$
(21,056
)
 
$
(105,497
)
 
$
577

 
$
(104,920
)

a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in the accounting for our grid escalation guarantees that resulted in a decrease in service cost of revenue of $0.1 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $37.5 million and installation cost of revenue of $9.2 million, offset by an increase in electricity cost of revenue of $3.7 million, together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $0.8 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net increase to product cost of revenue of $2.5 million and an increase in service cost of revenue of $1.4 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value increased resulting in a loss of $0.5 million.

 
 
Three Months Ended June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
$
179,899

 
$
(22,757
)
a
$
157,142

 
$
(13,061
)
 
$
144,081

Installation
 
17,285

 
(5,900
)
a
11,385

 
1,691

 
13,076

Service
 
23,659

 
(586
)
a
23,073

 
(47
)
 
23,026

Electricity
 
12,939

 
7,204

a
20,143

 

 
20,143

Total revenue
 
233,782

 
(22,039
)
 
211,743

 
(11,417
)
 
200,326

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
131,952

 
(19,005
)
c, d
112,947

 
281

 
113,228

Installation
 
22,116

 
(4,431
)
c
17,685

 

 
17,685

Service
 
19,599

 
920

b, d
20,519

 
(1,756
)
 
18,763

Electricity
 
18,442

 
3,858

c
22,300

 

 
22,300

Total cost of revenue
 
192,109

 
(18,658
)
 
173,451

 
(1,475
)
 
171,976

Gross profit
 
41,673

 
(3,381
)
 
38,292

 
(9,942
)
 
28,350

Operating expenses:
 
 
 
 
 
 
 
 
 
 
Research and development
 
29,772

 

 
29,772

 

 
29,772

Sales and marketing
 
18,359

 
17

e
18,376

 
(182
)
 
18,194

General and administrative
 
43,662

 

 
43,662

 

 
43,662

Total operating expenses
 
91,793

 
17

 
91,810

 
(182
)
 
91,628

Loss from operations
 
(50,120
)
 
(3,398
)
 
(53,518
)
 
(9,760
)
 
(63,278
)
Interest income
 
1,700

 

 
1,700

 

 
1,700

Interest expense
 
(16,725
)
 
(5,997
)
f
(22,722
)
 

 
(22,722
)
Interest expense to related parties
 
(1,606
)
 

 
(1,606
)
 

 
(1,606
)
Other income (expense), net
 
(222
)
 

 
(222
)
 

 
(222
)
Loss on revaluation of warrant liabilities and embedded derivatives
 

 
(540
)
g
(540
)
 

 
(540
)
Loss before income taxes
 
(66,973
)
 
(9,935
)
 
(76,908
)
 
(9,760
)
 
(86,668
)
Income tax provision
 
258

 

 
258

 

 
258

Net loss
 
(67,231
)
 
(9,935
)
 
(77,166
)
 
(9,760
)
 
(86,926
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(5,015
)
 

 
(5,015
)
 

 
(5,015
)
Net loss attributable to Class A and Class B common stockholders
 
$
(62,216
)
 
$
(9,935
)
 
$
(72,151
)
 
$
(9,760
)
 
$
(81,911
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in accounting for our grid escalation guarantees that resulted in a decrease in service cost of revenue of $0.1 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $18.1 million and installation cost of revenue of $5.2 million, offset by an increase in electricity cost of revenue of $3.8 million, together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $0.8 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $0.9 million and an increase in service cost of revenue of $1.0 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value increased resulting in a loss of $0.5 million.

 
 
Three Months Ended September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
$
182,616

 
$
(1,292
)
a
$
181,324

 
$
(17,422
)
 
$
163,902

Installation
 
19,010

 
(460
)
a
18,550

 
2,552

 
21,102

Service
 
23,597

 
(779
)
a
22,818

 
847

 
23,665

Electricity
 
8,248

 
7,390

a
15,638

 

 
15,638

Total revenue
 
233,471

 
4,859

 
238,330

 
(14,023
)
 
224,307

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
94,056

 
(2,085
)
c, d
91,971

 
(274
)
 
91,697

Installation
 
26,162

 
(21
)
c
26,141

 

 
26,141

Service
 
36,539

 
2,073

b, d
38,612

 
(2,185
)
 
36,427

Electricity
 
23,249

 
4,068

c
27,317

 

 
27,317

Total cost of revenue
 
180,006

 
4,035

 
184,041

 
(2,459
)
 
181,582

Gross profit
 
53,465

 
824

 
54,289

 
(11,564
)
 
42,725

Operating expenses:
 
 
 
 
 
 
 
 
 
 
Research and development
 
23,389

 

 
23,389

 

 
23,389

Sales and marketing
 
18,125

 
43

e
18,168

 
(519
)
 
17,649

General and administrative
 
36,599

 

 
36,599

 

 
36,599

Total operating expenses
 
78,113

 
43

 
78,156

 
(519
)
 
77,637

Income (loss) from operations
 
(24,648
)
 
781

 
(23,867
)
 
(11,045
)
 
(34,912
)
Interest income
 
1,214

 

 
1,214

 

 
1,214

Interest expense
 
(15,280
)
 
(6,043
)
f
(21,323
)
 

 
(21,323
)
Interest expense to related parties
 
(1,605
)
 

 
(1,605
)
 

 
(1,605
)
Other income, net
 
525

 

 
525

 

 
525

Loss on revaluation of warrant liabilities and embedded derivatives
 

 
(540
)
g
(540
)
 

 
(540
)
Loss before income taxes
 
(39,794
)
 
(5,802
)
 
(45,596
)
 
(11,045
)
 
(56,641
)
Income tax provision
 
136

 

 
136

 

 
136

Net loss
 
(39,930
)
 
(5,802
)
 
(45,732
)
 
(11,045
)
 
(56,777
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(5,027
)
 

 
(5,027
)
 

 
(5,027
)
Net loss attributable to Class A and Class B common stockholders
 
$
(34,903
)
 
$
(5,802
)
 
$
(40,705
)
 
$
(11,045
)
 
$
(51,750
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in accounting for our grid escalation guarantees that resulted in a decrease in service cost of revenue of $0.1 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $1.1 million, a decrease of installation cost of revenue of $0.6 million, offset by an increase in electricity cost of revenue of $4.0 million together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $0.6 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $1.0 million and an increase in service cost of revenue of $2.2 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value increased resulting in a loss of $0.5 million.


 
 
Six Months Ended June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
$
321,633

 
$
(70,928
)
a
$
250,705

 
$
(15,698
)
 
$
235,007

Installation
 
39,543

 
(17,095
)
a
22,448

 
2,847

 
25,295

Service
 
46,949

 
(1,160
)
a
45,789

 
704

 
46,493

Electricity
 
26,364

 
14,168

a
40,532

 

 
40,532

Total revenue
 
434,489

 
(75,015
)
 
359,474

 
(12,147
)
 
347,327

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
255,952

 
(53,985
)
c, d
201,967

 
33

 
202,000

Installation
 
46,282

 
(12,837
)
c
33,445

 

 
33,445

Service
 
47,156

 
2,251

b, d
49,407

 
(2,723
)
 
46,684

Electricity
 
27,671

 
7,613

c
35,284

 

 
35,284

Total cost of revenue
 
377,061

 
(56,958
)
 
320,103

 
(2,690
)
 
317,413

Gross profit
 
57,428

 
(18,057
)
 
39,371

 
(9,457
)
 
29,914

Operating expenses:
 
 
 
 
 
 
 
 
 
 
Research and development
 
58,631

 

 
58,631

 

 
58,631

Sales and marketing
 
38,822

 
19

e
38,841

 
(274
)
 
38,567

General and administrative
 
82,736

 

 
82,736

 

 
82,736

Total operating expenses
 
180,189

 
19

 
180,208

 
(274
)
 
179,934

Loss from operations
 
(122,761
)
 
(18,076
)
 
(140,837
)
 
(9,183
)
 
(150,020
)
Interest income
 
3,585

 

 
3,585

 

 
3,585

Interest expense
 
(32,687
)
 
(11,835
)
f
(44,522
)
 

 
(44,522
)
Interest expense to related parties
 
(3,218
)
 

 
(3,218
)
 

 
(3,218
)
Other income, net
 
43

 

 
43

 

 
43

Loss on revaluation of warrant liabilities and embedded derivatives
 

 
(1,080
)
g
(1,080
)
 

 
(1,080
)
Loss before income taxes
 
(155,038
)
 
(30,991
)
 
(186,029
)
 
(9,183
)
 
(195,212
)
Income tax provision
 
466

 

 
466

 

 
466

Net loss
 
(155,504
)
 
(30,991
)
 
(186,495
)
 
(9,183
)
 
(195,678
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(8,847
)
 

 
(8,847
)
 

 
(8,847
)
Net loss attributable to Class A and Class B common stockholders
 
$
(146,657
)
 
$
(30,991
)
 
$
(177,648
)
 
$
(9,183
)
 
$
(186,831
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in accounting for our grid escalation guarantees that resulted in a decrease in service cost of revenue of $0.2 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $55.6 million and installation cost of revenue of $14.4 million, offset by an increase in electricity cost of revenue of $7.5 million, together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $1.6 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net increase to product cost of revenue of $1.6 million, and an increase in service cost of revenue of $2.4 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value increased resulting in a loss of $1.1 million.

 
 
Nine Months Ended September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
$
504,249

 
$
(72,220
)
a
$
432,029

 
$
(33,120
)
 
$
398,909

Installation
 
58,553

 
(17,555
)
a
40,998

 
5,399

 
46,397

Service
 
70,546

 
(1,939
)
a
68,607

 
1,551

 
70,158

Electricity
 
34,612

 
21,558

a
56,170

 

 
56,170

Total revenue
 
667,960

 
(70,156
)
 
597,804

 
(26,170
)
 
571,634

Cost of revenue:
 
 
 
 
 
 
 
 
 
 
Product
 
350,008

 
(56,070
)
c, d
293,938

 
(241
)
 
293,697

Installation
 
72,444

 
(12,858
)
c
59,586

 

 
59,586

Service
 
83,695

 
4,324

b, d
88,019

 
(4,908
)
 
83,111

Electricity
 
50,920

 
11,681

c
62,601

 

 
62,601

Total cost of revenue
 
557,067

 
(52,923
)
 
504,144

 
(5,149
)
 
498,995

Gross profit
 
110,893

 
(17,233
)
 
93,660

 
(21,021
)
 
72,639

Operating expenses:
 
 
 
 
 
 
 
 
 
 
Research and development
 
82,020

 

 
82,020

 

 
82,020

Sales and marketing
 
56,947

 
62

e
57,009

 
(793
)
 
56,216

General and administrative
 
119,335

 

 
119,335

 

 
119,335

Total operating expenses
 
258,302

 
62

 
258,364

 
(793
)
 
257,571

Loss from operations
 
(147,409
)
 
(17,295
)
 
(164,704
)
 
(20,228
)
 
(184,932
)
Interest income
 
4,799

 

 
4,799

 

 
4,799

Interest expense
 
(47,967
)
 
(17,878
)
f
(65,845
)
 

 
(65,845
)
Interest expense to related parties
 
(4,823
)
 

 
(4,823
)
 

 
(4,823
)
Other income, net
 
568

 

 
568

 

 
568

Loss on revaluation of warrant liabilities and embedded derivatives
 

 
(1,620
)
g
(1,620
)
 

 
(1,620
)
Loss before income taxes
 
(194,832
)
 
(36,793
)
 
(231,625
)
 
(20,228
)
 
(251,853
)
Income tax provision
 
602

 

 
602

 

 
602

Net loss
 
(195,434
)
 
(36,793
)
 
(232,227
)
 
(20,228
)
 
(252,455
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(13,874
)
 

 
(13,874
)
 

 
(13,874
)
Net loss attributable to Class A and Class B common stockholders
 
$
(181,560
)
 
$
(36,793
)
 
$
(218,353
)
 
$
(20,228
)
 
$
(238,581
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in accounting for our grid escalation guarantees that resulted in a decrease in service cost of revenue of $0.3 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $56.7 million and installation cost of revenue of $15.0 million, offset by an increase in electricity cost of revenue of $11.6 million, together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $2.1 million
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net increase to product cost of revenue of $0.6 million and an increase in service cost of revenue of $4.6 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value increased resulting in a loss of $1.6 million.


 
 
Three Months Ended March 31, 2018
 
 
As Previously Reported
 
Revision Impacts
 
As Revised
Revenue:
 
 
 
 
 
 
Product
 
$
121,307

 
$
(5,536
)
a
$
115,771

Installation
 
14,118

 
(1,323
)
a
12,795

Service
 
19,907

 
227

a
20,134

Electricity
 
14,029

 
5,853

a
19,882

Total revenue
 
169,361

 
(779
)
 
168,582

Cost of revenue:
 
 
 
 
 
 
Product
 
80,355

 
(3,890
)
c, d
76,465

Installation
 
10,438

 
(1,240
)
c
9,198

Service
 
24,253

 
446

d
24,699

Electricity
 
10,649

 
3,136

c
13,785

Total cost of revenue
 
125,695

 
(1,548
)
 
124,147

Gross profit
 
43,666

 
769

 
44,435

Operating expenses:
 
 
 
 
 
 
Research and development
 
14,731

 

 
14,731

Sales and marketing
 
8,262

 
31

e
8,293

General and administrative
 
14,988

 

 
14,988

Total operating expenses
 
37,981

 
31

 
38,012

Income from operations
 
5,685

 
738

 
6,423

Interest income
 
415

 

 
415

Interest expense
 
(21,379
)
 
(4,613
)
f
(25,992
)
Interest expense to related parties
 
(2,627
)
 

 
(2,627
)
Other expense, net
 
(75
)
 

 
(75
)
Loss on revaluation of warrant liabilities and embedded derivatives
 
(4,034
)
 

 
(4,034
)
Loss before income taxes
 
(22,015
)
 
(3,875
)
 
(25,890
)
Income tax provision
 
333

 

 
333

Net loss
 
(22,348
)
 
(3,875
)
 
(26,223
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(4,632
)
 

 
(4,632
)
Net loss attributable to Class A and Class B common stockholders
 
$
(17,716
)
 
$
(3,875
)
 
$
(21,591
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Not used.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $3.6 million and installation cost of revenue of $1.2 million, offset by an increase in electricity cost of revenue of $3.1 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $0.3 million and an increase in service cost of revenue of $0.4 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.

 
 
Three Months Ended June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Revenue:
 
 
 
 
 
 
Product
 
$
108,654

 
$
(30,157
)
a
$
78,497

Installation
 
26,245

 
(6,602
)
a
19,643

Service
 
19,975

 
324

a
20,299

Electricity
 
14,007

 
5,856

a
19,863

Total revenue
 
168,881

 
(30,579
)
 
138,302

Cost of revenue:
 
 
 
 
 
 
Product
 
70,802

 
(21,199
)
c, d
49,603

Installation
 
37,099

 
(7,148
)
c
29,951

Service
 
19,260

 
442

d
19,702

Electricity
 
8,949

 
3,113

c
12,062

Total cost of revenue
 
136,110

 
(24,792
)
 
111,318

Gross profit
 
32,771

 
(5,787
)
 
26,984

Operating expenses:
 
 
 
 
 
 
Research and development
 
14,413

 

 
14,413

Sales and marketing
 
8,254

 
(87
)
e
8,167

General and administrative
 
15,359

 

 
15,359

Total operating expenses
 
38,026

 
(87
)
 
37,939

Loss from operations
 
(5,255
)
 
(5,700
)
 
(10,955
)
Interest income
 
444

 

 
444

Interest expense
 
(22,525
)
 
(4,622
)
f
(27,147
)
Interest expense to related parties
 
(2,672
)
 

 
(2,672
)
Other expense, net
 
(855
)
 

 
(855
)
Loss on revaluation of warrant liabilities and embedded derivatives
 
(19,197
)
 

 
(19,197
)
Loss before income taxes
 
(50,060
)
 
(10,322
)
 
(60,382
)
Income tax provision
 
128

 

 
128

Net loss
 
(50,188
)
 
(10,322
)
 
(60,510
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(4,512
)
 

 
(4,512
)
Net loss attributable to Class A and Class B common stockholders
 
$
(45,676
)
 
$
(10,322
)
 
$
(55,998
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which impacted our service revenue allocation.
b Not used.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation costs of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $20.3 million and installation cost of revenue of $7.1 million, offset by an increase in electricity cost of revenue of $3.1 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $0.9 million and an increase in service cost of revenue of $0.4 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
 
 
Three Months Ended September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Revenue:
 
 
 
 
 
 
Product
 
$
125,690

 
$
(23,257
)
a
$
102,433

Installation
 
29,690

 
(4,999
)
a
24,691

Service
 
20,751

 
305

a
21,056

Electricity
 
14,059

 
6,380

a
20,439

Total revenue
 
190,190

 
(21,571
)
 
168,619

Cost of revenue:
 
 
 
 
 
 
Product
 
95,357

 
(26,304
)
c, d
69,053

Installation
 
40,118

 
(4,612
)
c
35,506

Service
 
22,651

 
1,819

d
24,470

Electricity
 
8,679

 
3,501

c
12,180

Total cost of revenue
 
166,805

 
(25,596
)
 
141,209

Gross profit
 
23,385

 
4,025

 
27,410

Operating expenses:
 
 
 
 
 
 
Research and development
 
27,021

 

 
27,021

Sales and marketing
 
21,476

 
(80
)
e
21,396

General and administrative
 
40,999

 

 
40,999

Total operating expenses
 
89,496

 
(80
)
 
89,416

Loss from operations
 
(66,111
)
 
4,105

 
(62,006
)
Interest income
 
1,467

 

 
1,467

Interest expense
 
(16,853
)
 
(5,272
)
f
(22,125
)
Interest expense to related parties
 
(1,966
)
 

 
(1,966
)
Other expense, net
 
(705
)
 

 
(705
)
Loss on revaluation of warrant liabilities and embedded derivatives
 
1,655

 
(755
)
g
900

Loss before income taxes
 
(82,513
)
 
(1,922
)
 
(84,435
)
Income tax provision
 
(3
)
 

 
(3
)
Net loss
 
(82,510
)
 
(1,922
)
 
(84,432
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(3,930
)
 

 
(3,930
)
Net loss attributable to Class A and Class B common stockholders
 
$
(78,580
)
 
$
(1,922
)
 
$
(80,502
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Not used.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $14.0 million and installation cost of revenue of $4.6 million, offset by an increase in electricity cost of revenue of $3.5 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $12.3 million and an increase in service cost revenue of $1.8 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the correction of a misstatement in the valuation of our 6% Notes derivative, resulting in $0.8 million of additional loss in the period.
 
 
Three Months Ended December 31, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Revenue:
 
 
 
 
 
 
Product
 
$
156,671

 
$
(52,734
)
a
$
103,937

Installation
 
21,363

 
(10,297
)
a
11,066

Service
 
21,752

 
26

a
21,778

Electricity
 
13,820

 
6,544

a
20,364

Total revenue
 
213,606

 
(56,461
)
 
157,145

Cost of revenue:
 
 
 
 
 
 
Product
 
128,076

 
(41,922
)
c, d
86,154

Installation
 
31,819

 
(11,168
)
c
20,651

Service
 
28,475

 
3,343

b, d
31,818

Electricity
 
7,988

 
3,613

c
11,601

Total cost of revenue
 
196,358

 
(46,134
)
 
150,224

Gross profit
 
17,248

 
(10,327
)
 
6,921

Operating expenses:
 
 
 
 
 
 
Research and development
 
32,970

 

 
32,970

Sales and marketing
 
24,983

 
(32
)
e
24,951

General and administrative
 
47,471

 

e
47,471

Total operating expenses
 
105,424

 
(32
)
 
105,392

Loss from operations
 
(88,176
)
 
(10,295
)
 
(98,471
)
Interest income
 
1,996

 

 
1,996

Interest expense
 
(16,178
)
 
(5,579
)
f
(21,757
)
Interest expense to related parties
 
(1,628
)
 

 
(1,628
)
Other expense, net
 
636

 

 
636

Gain (loss) on revaluation of warrant liabilities and embedded derivatives
 
(14
)
 
206

g
192

Loss before income taxes
 
(103,364
)
 
(15,668
)
 
(119,032
)
Income tax provision
 
1,079

 

 
1,079

Net loss
 
(104,443
)
 
(15,668
)
 
(120,111
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(4,662
)
 

 
(4,662
)
Net loss attributable to Class A and Class B common stockholders
 
$
(99,781
)
 
$
(15,668
)
 
$
(115,449
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Service cost of revenue impacted by grid pricing escalation guarantees — The correction of these misstatements resulted in a change in accounting for our grid escalation guarantees that resulted in a decrease of service cost of revenue of $0.5 million.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $37.1 million and installation cost of revenue of $12.1 million, offset by an increase in electricity cost of revenue $3.6 million, together with the correction of certain other immaterial misstatements identified to record installation cost of revenue of $0.9 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $4.8 million and an increase in service cost of $3.8 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives —The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements which is now recorded as a derivative liability that needs to be fair valued each period end. The fair value of the liability decreased resulting in a gain of $0.2 million.

 
 
Six Months Ended June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Revenue:
 
 
 
 
 
 
Product
 
$
229,961

 
$
(35,693
)
a
$
194,268

Installation
 
40,363

 
(7,925
)
a
32,438

Service
 
39,882

 
551

a
40,433

Electricity
 
28,036

 
11,709

a
39,745

Total revenue
 
338,242

 
(31,358
)
 
306,884

Cost of revenue:
 
 
 
 
 
 
Product
 
151,157

 
(25,089
)
c, d
126,068

Installation
 
47,537

 
(8,388
)
c
39,149

Service
 
43,513

 
888

d
44,401

Electricity
 
19,598

 
6,249

c
25,847

Total cost of revenue
 
261,805

 
(26,340
)
 
235,465

Gross profit
 
76,437

 
(5,018
)
 
71,419

Operating expenses:
 
 
 
 
 
 
Research and development
 
29,144

 

 
29,144

Sales and marketing
 
16,516

 
(56
)
e
16,460

General and administrative
 
30,347

 

 
30,347

Total operating expenses
 
76,007

 
(56
)
 
75,951

Loss from operations
 
430

 
(4,962
)
 
(4,532
)
Interest income
 
859

 

 
859

Interest expense
 
(43,904
)
 
(9,235
)
f
(53,139
)
Interest expense to related parties
 
(5,299
)
 

 
(5,299
)
Other expense, net
 
(930
)
 

 
(930
)
Loss on revaluation of warrant liabilities and embedded derivatives
 
(23,231
)
 

 
(23,231
)
Loss before income taxes
 
(72,075
)
 
(14,197
)
 
(86,272
)
Income tax provision
 
461

 

 
461

Net loss
 
(72,536
)
 
(14,197
)
 
(86,733
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(9,144
)
 

 
(9,144
)
Net loss attributable to Class A and Class B common stockholders
 
$
(63,392
)
 
$
(14,197
)
 
$
(77,589
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which impacted our service revenue allocation.
b .Not used.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in decreases in product cost of revenue of $23.9 million and installation cost of revenue of $8.4 million, offset by an increase in electricity cost of revenue of $6.2 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $1.2 million and an increase in service cost of revenue of $0.9 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.

 
 
Nine Months Ended September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Revenue:
 
 
 
 
 
 
Product
 
$
355,651

 
$
(58,950
)
a
$
296,701

Installation
 
70,053

 
(12,924
)
a
57,129

Service
 
60,633

 
856

a
61,489

Electricity
 
42,095

 
18,089

a
60,184

Total revenue
 
528,432

 
(52,929
)
 
475,503

Cost of revenue:
 
 
 
 
 
 
Product
 
246,514

 
(51,393
)
c, d
195,121

Installation
 
87,655

 
(13,000
)
c
74,655

Service
 
66,164

 
2,707

d
68,871

Electricity
 
28,277

 
9,750

c
38,027

Total cost of revenue
 
428,610

 
(51,936
)
 
376,674

Gross profit
 
99,822

 
(993
)
 
98,829

Operating expenses:
 
 
 
 
 
 
Research and development
 
56,165

 

 
56,165

Sales and marketing
 
37,992

 
(136
)
e
37,856

General and administrative
 
71,346

 

e
71,346

Total operating expenses
 
165,503

 
(136
)
 
165,367

Loss from operations
 
(65,681
)
 
(857
)
 
(66,538
)
Interest income
 
2,326

 

 
2,326

Interest expense
 
(60,757
)
 
(14,507
)
f
(75,264
)
Interest expense to related parties
 
(7,265
)
 

 
(7,265
)
Other expense, net
 
(1,635
)
 

 
(1,635
)
Loss on revaluation of warrant liabilities and embedded derivatives
 
(21,576
)
 
(755
)
g
(22,331
)
Loss before income taxes
 
(154,588
)
 
(16,119
)
 
(170,707
)
Income tax provision
 
458

 

 
458

Net loss
 
(155,046
)
 
(16,119
)
 
(171,165
)
Net loss attributable to noncontrolling interests and redeemable noncontrolling interests
 
(13,074
)
 

 
(13,074
)
Net loss attributable to Class A and Class B common stockholders
 
$
(141,972
)
 
$
(16,119
)
 
$
(158,091
)
a Revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation revenue to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue over the term of our Managed Services Agreements and similar sale-leaseback arrangements, which also impacted our service revenue allocation.
b Not used.
c Cost of revenue impacted by Managed Services restatements — The correction of these misstatements resulted from the change from upfront recognition of product and installation cost of revenue to recognition of the depreciation expense on the capitalized Energy Servers over their useful life of 21 years for our Managed Services Agreements and similar sale-leaseback transactions, resulting in a decrease in product cost of revenue of $37.9 million and installation cost of revenue of $13.0 million, offset by an increase in electricity cost of revenue of $9.7 million.
d Cost of revenue impacted by stock-based compensation allocation — The correction of these misstatements resulted from the capitalization of stock-based compensation costs, with a net benefit to product cost of revenue of $13.5 million and an increase in service cost of revenue of $2.7 million due to the expensing of stock-based compensation related to field replacement units.
e Sales and marketing and general and administrative expenses — The correction of these misstatements primarily resulted from the change of accounting for sales commission expense on an as earned basis, to accounting for the expense over the term of our Managed Services Agreements and similar sale-leaseback arrangements.
f Interest expense — The correction of these misstatements resulted from the change of accounting for sales that should have been accounted for as financing transactions, in which the upfront consideration received from the financing party is accounted for as a financing obligation and interest expense is recognized over the term of the Managed Services Agreement using the effective interest method.
g Gain (loss) on revaluation of warrant liabilities and embedded derivatives — The correction of these misstatements resulted from the correction of a misstatement in the valuation of our 6% Notes derivative, resulting in $0.8 million of additional expense in the period.
The following tables contain the restatement and recasting of previously reported unaudited condensed consolidated statements of cash flows for the three-month period ended March 31, 2019, the six-month periods ended June 30, 2019 and the nine-month period ended September 30, 2019, the restatement of previously reported unaudited condensed consolidated statements of cash flows for the six-month period ended June 30, 2018 and the nine-month period ended September 30, 2018 and the revision of the previously reported unaudited condensed consolidated statement of cash flows for the three-month period ended March 31, 2018.

 
 
Three Months Ended March 31, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Cash flows from operating activities:
 
 
 
 
 
 
 
 
 
 
Net loss
 
$
(88,273
)
 
$
(21,056
)
 
$
(109,329
)
 
$
577

 
$
(108,752
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
 
 
 
 
Depreciation and amortization
 
11,271

 
2,954

A
14,225

 

 
14,225

Write-off of property, plant and equipment, net
 
1

 

 
1

 

 
1

Revaluation of derivative contracts
 
(453
)
 
540

B
87

 

 
87

Stock-based compensation
 
63,882

 
3,940

C
67,822

 

 
67,822

Loss on long-term REC purchase contract
 
59

 

 
59

 

 
59

Amortization of debt issuance cost
 
5,152

 

 
5,152

 

 
5,152

Changes in operating assets and liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts receivable
 
816

 
(98
)
D
718

 
3,413

 
4,131

Inventories
 
15,932

 
(4,845
)
E
11,087

 

 
11,087

Deferred cost of revenue
 
26,014

 
(37,098
)
F
(11,084
)
 

 
(11,084
)
Customer financing receivable and other
 
1,339

 

 
1,339

 

 
1,339

Prepaid expenses and other current assets
 
5,194

 
1,423

G
6,617

 
11

 
6,628

Other long-term assets
 
83

 
(396
)
H
(313
)
 
(103
)
 
(416
)
Accounts payable
 
(2,464
)
 

 
(2,464
)
 

 
(2,464
)
Accrued warranty
 
(2,500
)
 
50

I
(2,450
)
 
(247
)
 
(2,697
)
Accrued expenses and other current liabilities
 
823

 
(1,196
)
J
(373
)
 

 
(373
)
Deferred revenue and customer deposits
 
(44,533
)
 
49,428

K
4,895

 
(3,651
)
 
1,244

Other long-term liabilities
 
3,487

 
679

L
4,166

 

 
4,166

Net cash used in operating activities
 
(4,170
)
 
(5,675
)
 
(9,845
)
 

 
(9,845
)
Cash flows from investing activities:
 


 


 

 

 

Purchase of property, plant and equipment
 
(8,543
)
 
(3,403
)
M
(11,946
)
 

 
(11,946
)
Payments for acquisition of intangible assets
 
(848
)
 

 
(848
)
 

 
(848
)
Proceeds from maturity of marketable securities
 
104,500

 

 
104,500

 

 
104,500

Net cash provided by investing activities
 
95,109

 
(3,403
)
 
91,706

 

 
91,706

Cash flows from financing activities:
 
 
 
 
 
 
 
 
 
 
Repayment of debt
 
(5,016
)
 

 
(5,016
)
 

 
(5,016
)
Repayment of debt to related parties
 
(778
)
 

 
(778
)
 

 
(778
)
Proceeds from financing obligations
 

 
10,961

N
10,961

 

 
10,961

Repayment of financing obligations
 

 
(1,883
)
N
(1,883
)
 

 
(1,883
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(3,189
)
 

 
(3,189
)
 

 
(3,189
)
Proceeds from issuance of common stock
 
7,493

 

 
7,493

 

 
7,493

 
 
Three Months Ended March 31, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Net cash provided by (used in) financing activities
 
(1,490
)
 
9,078

 
7,588

 

 
7,588

Net increase in cash, cash equivalents, and restricted cash
 
89,449

 

 
89,449

 

 
89,449

Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
 
 
 
 
Beginning of period
 
280,485

 

 
280,485

 

 
280,485

End of period
 
$
369,934

 
$

 
$
369,934

 
$

 
$
369,934

 
 
 
 
 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
 
 
 
 
Cash paid during the period for interest
 
$
14,545

 
$
5,838

N
$
20,383

 
$

 
$
20,383

Cash paid during the period for taxes
 
222

 

 
222

 

 
222

A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Revaluation of derivative contracts — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote. We now consider the commitments a derivative liability, with the initial value of recorded as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
C Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation cost into inventory of $4.4 million. The correction of this misstatement also resulted in the capitalization of $0.5 million of stock-based compensation costs related to assets under the Managed Services Programs now recorded as construction in progress within property, plant and equipment, net.
D Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
E Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
F Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $37.2 million, and the net capitalization of stock-based compensation expenses of $0.1 million.
G Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where prepaid property tax and insurance payments are now classified within prepaid expenses.
H Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
I Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis on our Managed Services Agreements and similar arrangements. The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote and therefore, no accrual was made. We now have a $0.1 million accrual, with the initial value of treated as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
J Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
K Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to the recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
L Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due beyond the next twelve months are classified as a lease loan liability.
M Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
N Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received and due are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.
 
 
Six Months Ended June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Cash flows from operating activities:
 
 
 
 
 
 
 
 
 
 
Net loss
 
$
(155,504
)
 
$
(30,991
)
 
$
(186,495
)
 
$
(9,183
)
 
$
(195,678
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
 
 
 
 
Depreciation and amortization
 
31,023

 
6,011

A
37,034

 

 
37,034

Write-off of property, plant and equipment, net
 
2,704

 

 
2,704

 

 
2,704

Write-off of PPA II and PPA IIIb decommissioned assets
 
25,613

 

 
25,613

 

 
25,613

Debt make-whole expense
 
5,934

 

 
5,934

 

 
5,934

Revaluation of derivative contracts
 
555

 
1,081

B
1,636

 

 
1,636

Stock-based compensation
 
115,100

 
4,086

C
119,186

 

 
119,186

Loss on long-term REC purchase contract
 
60

 

 
60

 

 
60

Amortization of debt issuance cost
 
11,255

 

 
11,255

 

 
11,255

Changes in operating assets and liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts receivable
 
46,591

 
(274
)
D
46,317

 
3,424

 
49,741

Inventories
 
27,542

 
(5,345
)
E
22,197

 

 
22,197

Deferred cost of revenue
 
19,198

 
(57,991
)
F
(38,793
)
 

 
(38,793
)
Customer financing receivable and other
 
2,713

 

 
2,713

 

 
2,713

Prepaid expenses and other current assets
 
8,477

 
1,752

G
10,229

 
(2
)
 
10,227

Other long-term assets
 
1,028

 
(1,029
)
H
(1
)
 
(271
)
 
(272
)
Accounts payable
 
(5,461
)
 

 
(5,461
)
 

 
(5,461
)
Accrued warranty
 
(6,843
)
 
114

I
(6,729
)
 
33

 
(6,696
)
Accrued expenses and other current liabilities
 
7,213

 
(1,632
)
J
5,581

 

 
5,581

Deferred revenue and customer deposits
 
(25,411
)
 
71,325

K
45,914

 
5,999

 
51,913

Other long-term liabilities
 
3,419

 
1,303

L
4,722

 

 
4,722

Net cash provided by operating activities
 
115,206

 
(11,590
)
 
103,616

 

 
103,616

Cash flows from investing activities:
 
 
 
 
 
 
 
 
 
 
Purchase of property, plant and equipment
 
(18,882
)
 
(4,737
)
M
(23,619
)
 

 
(23,619
)
Payments for acquisition of intangible assets
 
(970
)
 

 
(970
)
 

 
(970
)
Proceeds from maturity of marketable securities
 
104,500

 

 
104,500

 

 
104,500

Net cash provided by investing activities
 
84,648

 
(4,737
)
 
79,911

 

 
79,911

Cash flows from financing activities:
 
 
 
 
 
 
 
 
 
 
Repayment of debt
 
(83,997
)
 

 
(83,997
)
 

 
(83,997
)
Repayment of debt to related parties
 
(1,220
)
 

 
(1,220
)
 

 
(1,220
)
Debt make-whole payment
 
(5,934
)
 

 
(5,934
)
 

 
(5,934
)
Proceeds from financing obligations
 

 
20,333

N
20,333

 

 
20,333

Repayment of financing obligations
 

 
(4,006
)
N
(4,006
)
 

 
(4,006
)
Payments to noncontrolling and redeemable noncontrolling interests
 
(18,690
)
 

 
(18,690
)
 

 
(18,690
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(7,753
)
 

 
(7,753
)
 

 
(7,753
)
Proceeds from issuance of common stock
 
8,321

 

 
8,321

 

 
8,321

Net cash used in financing activities
 
(109,273
)
 
16,327

 
(92,946
)
 

 
(92,946
)
Net increase in cash, cash equivalents, and restricted cash
 
90,581

 

 
90,581

 

 
90,581

 
 
Six Months Ended June 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
 
 
 
 
Beginning of period
 
280,485

 

 
280,485

 

 
280,485

End of period
 
$
371,066

 
$

 
$
371,066

 
$

 
$
371,066

 
 
 
 
 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
 
 
 
 
Cash paid during the period for interest
 
$
23,867

 
$
11,835

N
$
35,702

 
$

 
$
35,702

Cash paid during the period for taxes
 
497

 

 
497

 

 
497

A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Revaluation of derivative contracts — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote. We now consider the commitments a derivative liability, with the initial value recorded as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
C Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation costs into inventory of $4.7 million. The correction of this misstatement resulted in the capitalization of $0.6 million of stock-based compensation costs related to assets under the Managed Services Programs now recorded as construction in progress within property, plant and equipment, net.
D Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
E Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
F Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $56.5 million, and the net capitalization of stock-based compensation costs of $1.5 million.
G Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
H Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, including the timing difference of capacity billings to end customers and the payments received from the financing entity, is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
I Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements. The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we've provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote. We now maintain a $0.3 million accrual, with the initial value of treated as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
J Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
K Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to the recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
L Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due beyond the next twelve months are classified as a lease loan liability.
M Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
N Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the bank proceeds received are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.
 
 
Nine Months Ended September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Cash flows from operating activities:
 
 
 
 
 
 
 
 
 
 
Net loss
 
$
(195,434
)
 
$
(36,793
)
 
$
(232,227
)
 
$
(20,228
)
 
$
(252,455
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
 
 
 
 
Depreciation and amortization
 
55,816

 
9,132

A
64,948

 

 
64,948

Write-off of property, plant and equipment, net
 
2,987

 

 
2,987

 

 
2,987

Write-off of PPA II and PPA IIIb decommissioned assets
 
25,613

 

 
25,613

 

 
25,613

Debt make-whole expense
 
5,934

 

 
5,934

 

 
5,934

PPA I decommissioning, net
 

 

 

 

 

Revaluation of derivative contracts
 
1,335

 
1,620

B
2,955

 

 
2,955

Stock-based compensation
 
154,955

 
5,278

C
160,233

 

 
160,233

Loss on long-term REC purchase contract
 
61

 

 
61

 

 
61

Amortization of debt issuance cost
 
16,295

 

 
16,295

 

 
16,295

Changes in operating assets and liabilities:
 
 
 
 
 
 
 
 
 
 
Accounts receivable
 
58,150

 
(318
)
D
57,832

 
5,594

 
63,426

Inventories
 
(7,896
)
 
6,121

E
(1,775
)
 

 
(1,775
)
Deferred cost of revenue
 
56,854

 
(59,198
)
F
(2,344
)
 

 
(2,344
)
Customer financing receivable and other
 
4,142

 

 
4,142

 

 
4,142

Prepaid expenses and other current assets
 
7,928

 
176

G
8,104

 
(33
)
 
8,071

Other long-term assets
 
3,281

 
(1,229
)
H
2,052

 
(758
)
 
1,294

Accounts payable
 
14,171

 

 
14,171

 

 
14,171

Accrued warranty
 
(3,941
)
 
109

I
(3,832
)
 
(242
)
 
(4,074
)
Accrued expenses and other current liabilities
 
5,029

 
162

J
5,191

 

 
5,191

Deferred managed services revenue
 

 

 

 

 

Deferred revenue and customer deposits
 
(68,180
)
 
74,765

K
6,585

 
15,667

 
22,252

Other long-term liabilities
 
2,083

 
2,477

L
4,560

 

 
4,560

Net cash provided by operating activities
 
139,183

 
2,302

 
141,485

 

 
141,485

Cash flows from investing activities:
 
 
 
 
 
 
 
 
 
 
Purchase of property, plant and equipment
 
(23,474
)
 
(16,216
)
M
(39,690
)
 

 
(39,690
)
Payments for acquisition of intangible assets
 
(1,478
)
 

 
(1,478
)
 

 
(1,478
)
Proceeds from maturity of marketable securities
 
104,500

 

 
104,500

 

 
104,500

Net cash provided by investing activities
 
79,548

 
(16,216
)
 
63,332

 

 
63,332

Cash flows from financing activities:
 
 
 
 
 
 
 
 
 
 
Repayment of debt
 
(93,263
)
 

 
(93,263
)
 

 
(93,263
)
Repayment of debt to related parties
 
(1,691
)
 

 
(1,691
)
 

 
(1,691
)
Debt make-whole payment
 
(5,934
)
 

 
(5,934
)
 

 
(5,934
)
Proceeds from financing obligations
 

 
20,333

N
20,333

 

 
20,333

Repayment of financing obligations
 

 
(6,419
)
N
(6,419
)
 

 
(6,419
)
Payments to noncontrolling and redeemable noncontrolling interests
 
(43,713
)
 

 
(43,713
)
 

 
(43,713
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(9,363
)
 

 
(9,363
)
 

 
(9,363
)
Proceeds from issuance of common stock
 
12,623

 

 
12,623

 

 
12,623

 
 
Nine Months Ended September 30, 2019
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
 
ASC 606 Adoption Impacts
 
As Restated & Recast
Net cash used in financing activities
 
(141,341
)
 
13,914

 
(127,427
)
 

 
(127,427
)
Net increase in cash, cash equivalents, and restricted cash
 
77,390

 

 
77,390

 

 
77,390

Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
 
 
 
 
Beginning of period
 
280,485

 

 
280,485

 

 
280,485

End of period
 
$
357,875

 
$

 
$
357,875

 
$

 
$
357,875

 
 
 
 
 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
 
 
 
 
Cash paid during the period for interest
 
$
35,894

 
$
17,878

N
$
53,772

 
$

 
$
53,772

Cash paid during the period for taxes
 
715

 

 
715

 

 
715

A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Revaluation of derivative contracts — The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote. We now consider the commitments a derivative liability, with the initial value of recorded as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
C Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation costs into inventory of $5.9 million. The correction of this misstatement also resulted in the capitalization of $0.6 million of stock-based compensation costs related to assets under the Managed Services Programs now recorded as construction in progress within property, plant and equipment, net.
D Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
E Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
F Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $60.6 million and the net capitalization of stock-based compensation expenses of $1.4 million.
G Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
H Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
I Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements. The correction of these misstatements resulted from the change of accounting for the grid pricing escalation guarantees we provided in some of our sales arrangements. These commitments were previously treated as a contingent liability that was considered remote. We now maintain a $0.4 million accrual, with the initial value treated as a reduction in product revenue and then any changes in the value adjusted through other expense, net each period thereafter.
J Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
K Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
L Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due beyond the next twelve months are classified as a lease loan liability.
M Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
N Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby instead of recognizing the upfront proceeds received from the bank as revenue, the bank proceeds received are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.

 
 
Three Months Ended March 31, 2018
 
 
As Previously Reported
 
Revision Impacts
 
As Revised
Cash flows from operating activities:
 
 
 
 
 
 
Net loss
 
$
(22,348
)
 
$
(3,875
)
 
$
(26,223
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
Depreciation and amortization
 
10,847

 
2,457

A
13,304

Revaluation of derivative contracts
 
7,157

 

 
7,157

Stock-based compensation
 
7,956

 
191

B
8,147

Loss on long-term REC purchase contract
 
12

 

 
12

Revaluation of preferred stock warrants
 
(3,271
)
 

 
(3,271
)
Common stock warrant valuation
 
(100
)
 

 
(100
)
Amortization of debt issuance cost
 
7,168

 

 
7,168

Changes in operating assets and liabilities:
 
 
 
 
 
 
Accounts receivable
 
(28,203
)
 
(32
)
C
(28,235
)
Inventories
 
(6,818
)
 
3,291

D
(3,527
)
Deferred cost of revenue
 
16,282

 
(3,541
)
E
12,741

Customer financing receivable and other
 
1,306

 

 
1,306

Prepaid expenses and other current assets
 
(446
)
 
929

F
483

Other long-term assets
 
1,266

 
(418
)
G
848

Accounts payable
 
(827
)
 

 
(827
)
Accrued warranty
 
(87
)
 
10

H
(77
)
Accrued expenses and other current liabilities
 
(10,083
)
 
(515
)
I
(10,598
)
Deferred revenue and customer deposits
 
(22,347
)
 
6,620

J
(15,727
)
Other long-term liabilities
 
8,049

 
981

K
9,030

Net cash used in operating activities
 
(34,487
)
 
6,098

 
(28,389
)
Cash flows from investing activities:
 
 
 
 
 
 
Purchase of property, plant and equipment
 
(223
)
 
(4,635
)
L
(4,858
)
Purchase of marketable securities
 
(8,991
)
 

 
(8,991
)
Proceeds from maturity of marketable securities
 
15,750

 

 
15,750

Net cash provided by investing activities
 
6,536

 
(4,635
)
 
1,901

Cash flows from financing activities:
 
 
 
 
 
 
Repayment of debt
 
(4,489
)
 

 
(4,489
)
Repayment of debt to related parties
 
(290
)
 

 
(290
)
Repayment of financing obligations
 

 
(1,463
)
M
(1,463
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(3,832
)
 

 
(3,832
)
Proceeds from issuance of common stock
 
120

 

 
120

Payments of initial public offering issuance costs
 
(578
)
 

 
(578
)
Net cash used in financing activities
 
(9,069
)
 
(1,463
)
 
(10,532
)
Net decrease in cash, cash equivalents, and restricted cash
 
(37,020
)
 

 
(37,020
)
Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
Beginning of period
 
180,612

 

 
180,612

 
 
Three Months Ended March 31, 2018
 
 
As Previously Reported
 
Revision Impacts
 
As Revised
End of period
 
$
143,592

 
$

 
$
143,592

 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
Cash paid during the period for interest
 
11,216

 
4,613

M
15,829

Cash paid during the period for taxes
 
401

 

 
401

A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation costs into inventory of $0.6 million. The correction of this misstatement also resulted in the capitalization of costs of $0.8 million related to assets under the Managed Services Program now recorded as construction in progress within property, plant and equipment, net.
C Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
D Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
E Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $3.2 million and the net capitalization of stock-based compensation expenses of $0.3 million.
F Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
G Other long-term assets —The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, including the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
H Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis on our Managed Services Agreements and similar arrangements.
I Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
J Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to the recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
K Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due beyond the next twelve months are classified as a lease loan liability.
L Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
M Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received and due are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.
.
 
 
Six Months Ended June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Cash flows from operating activities:
 
 
 
 
 
 
Net loss
 
$
(72,536
)
 
$
(14,197
)
 
$
(86,733
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
Depreciation and amortization
 
21,554

 
4,912

A
26,466

Write-off of property, plant and equipment, net
 
661

 

 
661

Revaluation of derivative contracts
 
28,611

 

 
28,611

Stock-based compensation
 
15,773

 
(292
)
B
15,481

Loss on long-term REC purchase contract
 
100

 

 
100

Revaluation of stock warrants
 
(7,456
)
 

 
(7,456
)
Revaluation of preferred stock warrants
 
(166
)
 

 
(166
)
Amortization of debt issuance cost
 
14,420

 

 
14,420

Changes in operating assets and liabilities:
 
 
 
 
 
 
Accounts receivable
 
(6,486
)
 
(195
)
C
(6,681
)
Inventories
 
(46,172
)
 
7,915

D
(38,257
)
Deferred cost of revenue
 
48,760

 
(28,362
)
E
20,398

Customer financing receivable and other
 
2,439

 

 
2,439

Prepaid expenses and other current assets
 
4,544

 
220

F
4,764

Other long-term assets
 
15

 
(866
)
G
(851
)
Accounts payable
 
5,217

 

 
5,217

Accrued warranty
 
(1,883
)
 
(300
)
H
(2,183
)
Accrued expenses and other current liabilities
 
(12,815
)
 
(1,386
)
I
(14,201
)
Deferred revenue and customer deposits
 
(31,817
)
 
9,787

J
(22,030
)
Other long-term liabilities
 
18,652

 
497

K
19,149

Net cash used in operating activities
 
(18,585
)
 
(22,267
)
 
(40,852
)
Cash flows from investing activities:
 
 
 
 
 
 
Purchase of property, plant and equipment
 
(1,595
)
 
(11,550
)
L
(13,145
)
Purchase of marketable securities
 
(15,732
)
 

 
(15,732
)
Proceeds from maturity of marketable securities
 
27,000

 

 
27,000

Net cash provided by (used in) investing activities
 
9,673

 
(11,550
)
 
(1,877
)
Cash flows from financing activities:
 
 
 
 
 
 
Repayment of debt
 
(9,201
)
 

 
(9,201
)
Repayment of debt to related parties
 
(627
)
 

 
(627
)
Proceeds from financing obligations
 

 
36,799

M
36,799

Repayment of financing obligations
 

 
(2,982
)
M
(2,982
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(11,582
)
 

 
(11,582
)
Proceeds from issuance of common stock
 
742

 

 
742

Payments of initial public offering issuance costs
 
(1,160
)
 

 
(1,160
)
Net cash provided by (used in) financing activities
 
(21,828
)
 
33,817

 
11,989

Net decrease in cash, cash equivalents, and restricted cash
 
(30,740
)
 

 
(30,740
)
Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
 
 
Six Months Ended June 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Beginning of period
 
180,612

 

 
180,612

End of period
 
$
149,872

 
$

 
$
149,872

 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
Cash paid during the period for interest
 
$
16,540

 
$
9,233

M
$
25,773

Cash paid during the period for taxes
 
625

 
 
625

A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation costs into inventory of $1.0 million. The correction of this misstatement also resulted in the capitalization of $0.7 million of stock-based compensation costs related to assets under the Managed Services Programs now recorded as construction in progress within property, plant and equipment, net.
C Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
D Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
E Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $28.1 million and the net capitalization of stock-based compensation costs of $0.3 million.
F Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses, rather than offset against deferred revenue.
G Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, including the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
H Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements.
I Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
J Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to the recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
K Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements where instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due beyond the next twelve months are classified as a lease loan liability.
L Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
M Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received and due are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.
 
 
Nine Months Ended September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Cash flows from operating activities:
 
 
 
 
 
 
Net loss
 
$
(155,046
)
 
$
(16,119
)
 
$
(171,165
)
Adjustments to reconcile net loss to net cash used in operating activities:
 
 
 
 
 
 
Depreciation and amortization
 
32,141

 
7,616

A
39,757

Write-off of property, plant and equipment, net
 
901

 

 
901

Revaluation of derivative contracts
 
26,761

 
755

B
27,516

Stock-based compensation
 
87,451

 
(10,777
)
C
76,674

Loss on long-term REC purchase contract
 
150

 

 
150

Revaluation of stock warrants
 
(9,109
)
 

 
(9,109
)
Amortization of debt issuance cost
 
20,279

 

 
20,279

Changes in operating assets and liabilities:
 
 
 
 
 
 
Accounts receivable
 
(11,168
)
 
(332
)
D
(11,500
)
Inventories
 
(44,465
)
 
4,037

E
(40,428
)
Deferred cost of revenue
 
47,945

 
(34,343
)
F
13,602

Customer financing receivable and other
 
3,736

 

 
3,736

Prepaid expenses and other current assets
 
(6,514
)
 
(1,585
)
G
(8,099
)
Other long-term assets
 
1,052

 
(1,398
)
H
(346
)
Accounts payable
 
11,236

 

 
11,236

Accrued warranty
 
1,164

 
(324
)
I
840

Accrued expenses and other current liabilities
 
1,885

 
626

J
2,511

Deferred revenue and customer deposits
 
(32,203
)
 
17,431

K
(14,772
)
Other long-term liabilities
 
10,156

 
1,362

L
11,518

Net cash used in operating activities
 
(13,648
)
 
(33,051
)
 
(46,699
)
Cash flows from investing activities:
 
 
 
 
 
 
Purchase of property, plant and equipment
 
(4,333
)
 
(20,283
)
M
(24,616
)
Payments for acquisition of intangible assets
 
(2,762
)
 

 
(2,762
)
Purchase of marketable securities
 
(15,732
)
 

 
(15,732
)
Proceeds from maturity of marketable securities
 
38,250

 

 
38,250

Net cash provided by (used in) investing activities
 
15,423

 
(20,283
)
 
(4,860
)
Cash flows from financing activities:
 
 
 
 
 
 
Repayment of debt
 
(14,036
)
 

 
(14,036
)
Repayment of debt to related parties
 
(990
)
 

 
(990
)
Proceeds from financing obligations
 

 
57,897

N
57,897

Repayment of financing obligations
 

 
(4,563
)
N
(4,563
)
Distributions to noncontrolling and redeemable noncontrolling interests
 
(14,192
)
 

 
(14,192
)
Proceeds from issuance of common stock
 
1,456

 

 
1,456

Proceeds from public offerings, net of underwriting discounts and commissions
 
292,529

 

 
292,529

Payments of initial public offering issuance costs
 
(2,928
)
 

 
(2,928
)
Net cash provided by financing activities
 
261,839

 
53,334

 
315,173

Net increase in cash, cash equivalents, and restricted cash
 
263,614

 

 
263,614

 
 
Nine Months Ended September 30, 2018
 
 
As Previously Reported
 
Restatement Impacts
 
As Restated
Cash, cash equivalents, and restricted cash:
 
 
 
 
 
 
Beginning of period
 
180,612

 

 
180,612

End of period
 
$
444,226

 
$

 
$
444,226

 
 
 
 
 
 
 
Supplemental disclosure of cash flow information:
 
 
 
 
 
 
Cash paid during the period for interest
 
$
30,601

 
$
14,505

N
$
45,106

Cash paid during the period for taxes
 
1,052

 

 
1,052


A Depreciation and amortization — The correction of these misstatements resulted from the change of accounting for Energy Servers under the Managed Services Program and similar arrangements that would have been product and install cost of revenue, but are now recorded as property, plant and equipment, net and depreciated over their useful lives of 21 years.
B Revaluation of derivative contracts — The correction of this misstatement resulted from the cumulative net change in the valuation of our embedded derivatives in our 6% Notes. The change in the valuation was recorded in loss on revaluation of embedded derivatives.
C Stock-based compensation — The correction of these misstatements resulted from the change of accounting for stock-based compensation, including net capitalization of stock-based compensation cost into inventory of $10.1 million. The correction of this misstatement also resulted in the capitalization of $0.7 million of stock-based compensation costs related to assets under the Managed Services Programs now recorded as construction in progress within property, plant and equipment, net.
D Accounts receivable — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements, for which the amount recorded to accounts receivable represents amounts invoiced for capacity billings to end customers which have not yet been collected by the financing entity as of the period end.
E Inventories — The correction of these misstatements resulted from the change of accounting for inventories held for shipments planned to customers under the Managed Services Program and similar arrangements now accounted for as construction in progress within property, plant and equipment, net.
F Deferred cost of revenue, current and non-current — The correction of these misstatements resulted from the cumulative net change of accounting moving deferred cost of revenue to property, plant and equipment, net for the leased Energy Servers under the Managed Services Agreements and similar sale-leaseback arrangements of $31.4 million and the net capitalization of stock-based compensation expenses of $3.0 million.
G Prepaid expenses and other current assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby prepaid property tax and insurance payments are now classified within prepaid expenses.
H Other long-term assets — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and payments received from the financing entity is recorded within long term receivables and commission payments are now classified within long term prepaid commissions.
I Accrued warranty — The correction of these misstatements resulted from the change of accounting for accrued warranty which is now recorded on an as-incurred basis for our Managed Services Agreements and similar arrangements.
J Accrued expense and other current liabilities and other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the bank financing as revenue, the bank financing loan proceeds received and due are classified as a lease loan liability.
K Deferred revenue and customer deposits, current and non-current — The correction of these misstatements resulted from the change of accounting for the recognition of product and installation revenue from upfront or ratable recognition to recognition of the capacity payments received from the end customer as power is generated by the Energy Servers as electricity revenue.
L Other long-term liabilities — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby the timing difference of capacity billings to end customers and the payments received from the financing entity is recorded within long term receivables and whereby prepaid property tax and insurance payments are now classified within other long-term assets, rather than offset against long-term deferred revenue.
M Purchase of property, plant and equipment — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements, whereby costs previously recognized as product and installation cost of revenue are now recorded as property, plant and equipment, net in the cases where the risks of ownership have not completely transferred to the financing party.
N Proceeds and repayments from financing obligations — The correction of these misstatements resulted from the change of accounting for Managed Services Agreements and similar arrangements whereby instead of recognizing the upfront proceeds received from the bank as revenue, the proceeds received and due are classified as proceeds from financing obligations and the capacity payments received from the end customer are classified as repayment of financing obligations and interest paid.