CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($) $ in Thousands |
12 Months Ended |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
| Income Statement [Abstract] |
|
|
|
| Net sales |
$ 161,993
|
$ 138,628
|
$ 97,883
|
| Cost of revenue |
151,373
|
121,773
|
90,693
|
| Gross profit |
10,620
|
16,855
|
7,190
|
| Operating expenses: |
|
|
|
| General and administrative |
41,780
|
13,485
|
15,158
|
| Sales, marketing and customer service |
7,581
|
2,185
|
2,398
|
| Provision for credit losses |
2,735
|
1,094
|
4,115
|
| Impairment charges on property and equipment |
0
|
0
|
2,235
|
| Impairment charges on project assets |
0
|
0
|
2,455
|
| Total operating expenses |
52,096
|
16,764
|
26,361
|
| Operating (loss) income |
(41,476)
|
91
|
(19,171)
|
| Other income (expense): |
|
|
|
| Interest expense, net |
(5,137)
|
(3,790)
|
(3,768)
|
| Change in fair value of derivative liability |
67
|
496
|
285
|
| Reversal of tax penalty |
0
|
0
|
6,890
|
| Net foreign exchange gain (loss) |
2,694
|
(5,411)
|
1,261
|
| Others |
472
|
2,807
|
(553)
|
| Total other (expense) income, net |
(1,904)
|
(5,898)
|
4,115
|
| Net loss before income taxes |
(43,380)
|
(5,807)
|
(15,056)
|
| Income tax expense |
1,454
|
458
|
92
|
| Net loss |
(44,834)
|
(6,265)
|
(15,148)
|
| Less: Net income attributable to noncontrolling interests |
(657)
|
(250)
|
(110)
|
| Net loss attributable to shareholders of SPI Energy Co., Ltd. |
$ (45,491)
|
$ (6,515)
|
$ (15,258)
|
| Net loss per ordinary share: |
|
|
|
| Basic and Diluted |
$ (1.9)
|
$ (0.4)
|
$ (1.2)
|
| Weighted average shares outstanding |
|
|
|
| Basic and Diluted |
24,192,815
|
15,907,144
|
12,733,062
|