Consolidated Balance Sheet Details | 5. Consolidated Balance Sheet Details Accounts receivable trade, net Accounts receivable trade, net consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Accounts receivable trade, gross $ 303,062 $ 129,644 Allowance for doubtful accounts (1,393 ) (1,362 ) Accounts receivable trade, net $ 301,669 $ 128,282 At March 31, 2019 and December 31, 2018 , $45.5 million and $8.5 million , respectively, of our accounts receivable trade, net were secured by letters of credit, bank guarantees, surety bonds, or other forms of financial security issued by creditworthy financial institutions. Accounts receivable, unbilled and retainage Accounts receivable, unbilled and retainage consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Accounts receivable, unbilled $ 347,726 $ 441,666 Retainage 19,414 16,500 Accounts receivable, unbilled and retainage $ 367,140 $ 458,166 Inventories Inventories consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Raw materials $ 244,409 $ 224,329 Work in process 48,530 41,294 Finished goods 308,725 252,372 Inventories $ 601,664 $ 517,995 Inventories – current $ 459,472 $ 387,912 Inventories – noncurrent $ 142,192 $ 130,083 Prepaid expenses and other current assets Prepaid expenses and other current assets consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Prepaid expenses $ 110,085 $ 90,981 Prepaid income taxes 64,726 59,319 Indirect tax receivables 39,765 26,327 Restricted cash 23,694 19,671 Derivative instruments 1,313 2,364 Other current assets 37,580 44,399 Prepaid expenses and other current assets $ 277,163 $ 243,061 Property, plant and equipment, net Property, plant and equipment, net consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Land $ 14,330 $ 14,382 Buildings and improvements 571,345 567,605 Machinery and equipment 2,063,042 1,826,434 Office equipment and furniture 179,013 178,011 Leasehold improvements 49,007 49,055 Construction in progress 299,694 405,581 Property, plant and equipment, gross 3,176,431 3,041,068 Accumulated depreciation (1,317,138 ) (1,284,857 ) Property, plant and equipment, net $ 1,859,293 $ 1,756,211 Depreciation of property, plant and equipment was $42.9 million and $18.6 million for the three months ended March 31, 2019 and 2018 , respectively. PV solar power systems, net Photovoltaic (“PV”) solar power systems, net consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, PV solar power systems, gross $ 343,543 $ 343,061 Accumulated depreciation (37,915 ) (34,421 ) PV solar power systems, net $ 305,628 $ 308,640 Depreciation of PV solar power systems was $3.5 million and $4.3 million for the three months ended March 31, 2019 and 2018 , respectively. Capitalized interest The cost of constructing project assets may include interest costs incurred during the construction period. The components of interest expense and capitalized interest were as follows during the three months ended March 31, 2019 and 2018 (in thousands): Three Months Ended 2019 2018 Interest cost incurred $ (10,948 ) $ (6,465 ) Interest cost capitalized – project assets 827 1,283 Interest expense, net $ (10,121 ) $ (5,182 ) Project assets Project assets consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Project assets – development costs, including project acquisition and land costs $ 323,539 $ 298,070 Project assets – construction costs 248,750 200,359 Project assets $ 572,289 $ 498,429 Project assets – current $ 80,278 $ 37,930 Project assets – noncurrent $ 492,011 $ 460,499 Other assets Other assets consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Operating lease assets (1) $ 168,213 $ — Notes receivable (2) (3) 31,059 8,017 Indirect tax receivables 9,247 22,487 Income taxes receivable 4,444 4,444 Equity method investments 2,960 3,186 Deferred rent — 27,249 Other 26,030 33,495 Other assets $ 241,953 $ 98,878 —————————— (1) See Note 7. “Leases” to our condensed consolidated financial statements for discussion of our lease arrangements. (2) In April 2009, we entered into a credit facility agreement with a solar power project entity of one of our customers for an available amount of €17.5 million to provide financing for a PV solar power system. The credit facility bears interest at 8.0% per annum, payable quarterly, with the full amount due in December 2026. As of March 31, 2019 and December 31, 2018 , the balance outstanding on the credit facility was €7.0 million ( $7.9 million and $8.0 million , respectively). (3) In November 2014 and February 2016, we entered into a term loan agreement and a convertible loan agreement, respectively, with Clean Energy Collective, LLC (“CEC”). Our term loan bears interest at 16% per annum, and our convertible loan bears interest at 10% per annum. In November 2018, we amended the terms of the loan agreements to (i) extend their maturity to June 2020, (ii) waive the conversion features on our convertible loan, and (iii) increase the frequency of interest payments, subject to certain conditions. In January 2019, CEC finalized certain restructuring arrangements, which resulted in a dilution of our ownership interest in CEC and the loss of our representation on the company’s board of managers. As a result of such restructuring, CEC no longer qualified to be accounted for under the equity method. As of March 31, 2019 , the aggregate balance outstanding on the loans was $23.2 million and was presented within “Other assets.” As of December 31, 2018 , the aggregate balance outstanding on the loans was $22.8 million and was presented within “Notes receivable, affiliate.” Goodwill Goodwill for the relevant reporting unit consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): December 31, Acquisitions (Impairments) March 31, Modules $ 407,827 $ — $ 407,827 Accumulated impairment losses (393,365 ) — (393,365 ) Goodwill $ 14,462 $ — $ 14,462 Intangible assets, net The following tables summarize our intangible assets at March 31, 2019 and December 31, 2018 (in thousands): March 31, 2019 Gross Amount Accumulated Amortization Net Amount Developed technology $ 97,714 $ (35,367 ) $ 62,347 Power purchase agreements 6,486 (729 ) 5,757 Patents 7,408 (3,871 ) 3,537 Intangible assets, net $ 111,608 $ (39,967 ) $ 71,641 December 31, 2018 Gross Amount Accumulated Amortization Net Amount Developed technology $ 97,714 $ (33,093 ) $ 64,621 Power purchase agreements 6,486 (648 ) 5,838 Patents 7,408 (3,705 ) 3,703 Intangible assets, net $ 111,608 $ (37,446 ) $ 74,162 Amortization expense for our intangible assets was $2.5 million and $2.4 million for the three months ended March 31, 2019 and 2018 , respectively. Accrued expenses Accrued expenses consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Accrued project costs $ 130,002 $ 147,162 Accrued property, plant and equipment 83,409 89,905 Accrued inventory 58,476 53,075 Product warranty liability (1) 31,013 27,657 Accrued compensation and benefits 29,761 41,937 Other 75,370 81,844 Accrued expenses $ 408,031 $ 441,580 —————————— (1) See Note 10. “Commitments and Contingencies” to our condensed consolidated financial statements for discussion of our “Product warranty liability.” Other current liabilities Other current liabilities consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Operating lease liabilities (1) $ 12,736 $ — Derivative instruments 2,105 7,294 Contingent consideration (2) 414 665 Other 4,282 6,421 Other current liabilities $ 19,537 $ 14,380 —————————— (1) See Note 7. “Leases” to our condensed consolidated financial statements for discussion of our lease arrangements. (2) See Note 10. “Commitments and Contingencies” to our condensed consolidated financial statements for discussion of our “Contingent consideration” arrangements. Other liabilities Other liabilities consisted of the following at March 31, 2019 and December 31, 2018 (in thousands): March 31, December 31, Product warranty liability (1) $ 186,228 $ 193,035 Operating lease liabilities (2) 132,551 — Other taxes payable 84,817 83,058 Transition tax liability 77,016 77,016 Deferred revenue 50,451 48,014 Derivative instruments 14,257 9,205 Contingent consideration (1) 2,250 2,250 Other 51,095 55,261 Other liabilities $ 598,665 $ 467,839 —————————— (1) See Note 10. “Commitments and Contingencies” to our condensed consolidated financial statements for discussion of our “Product warranty liability” and “Contingent consideration” arrangements. (2) See Note 7. “Leases” to our condensed consolidated financial statements for discussion of our lease arrangements. |