XML 13 R1.htm IDEA: XBRL DOCUMENT v3.23.1
Cover - USD ($)
12 Months Ended
Dec. 31, 2022
Apr. 14, 2023
Jun. 30, 2022
Cover [Abstract]      
Document Type 10-K    
Amendment Flag false    
Document Annual Report true    
Document Transition Report false    
Document Period End Date Dec. 31, 2022    
Document Fiscal Period Focus FY    
Document Fiscal Year Focus 2022    
Current Fiscal Year End Date --12-31    
Entity File Number 0-30351    
Entity Registrant Name SPI Energy Co., Ltd.    
Entity Central Index Key 0001210618    
Entity Tax Identification Number 20-4956638    
Entity Incorporation, State or Country Code E9    
Entity Address, Address Line One 4803 Urbani Ave    
Entity Address, City or Town McClellan Park    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 95652    
City Area Code (888)    
Local Phone Number 575-1940    
Title of 12(b) Security Ordinary Shares, par value $0.0001 per share    
Trading Symbol SPI    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Non-accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company false    
Entity Shell Company false    
Entity Public Float     $ 32,968,710
Entity Common Stock, Shares Outstanding   30,292,960  
Auditor Firm ID 5395    
Auditor Name Marcum Asia CPAs LLP    
Auditor Location New York, New York