Annual report pursuant to Section 13 and 15(d)

DEBT (Details Narrative)

v3.22.1
DEBT (Details Narrative)
1 Months Ended 2 Months Ended 12 Months Ended
Feb. 23, 2022
USD ($)
shares
$ / shares
Feb. 02, 2022
Dec. 20, 2021
USD ($)
shares
Sep. 15, 2021
USD ($)
Jun. 01, 2021
shares
Mar. 26, 2021
USD ($)
shares
May 04, 2020
USD ($)
Jun. 30, 2020
USD ($)
Sep. 15, 2021
USD ($)
Dec. 31, 2021
USD ($)
Month
$ / shares
shares
Dec. 31, 2020
USD ($)
shares
Jan. 07, 2022
USD ($)
Jul. 29, 2021
USD ($)
Oct. 12, 2020
USD ($)
Apr. 30, 2020
USD ($)
Mar. 31, 2020
USD ($)
Installment
Dec. 31, 2019
USD ($)
Dec. 31, 2018
Oct. 16, 2018
USD ($)
Convertible note payable                   $ 0                  
Debt conversion, description                   The Company had several notes that were convertible into shares of the Company or the Company’s subsidiaries at different prices: ranging from $0.30 per share into the Company’s stock and up to $1.48 per share into Susoils’s common stock.                  
Payments on debt issuance costs                     $ (4,423,211)                
Other notes payable current                   $ 3,478,931 4,198,113                
Options exercise, description                   Under the Convertible Note, Mr. Palmer has the right, exercisable at any time until the Convertible Note is fully paid, to convert all or any portion of the outstanding principal balance and accrued and unpaid interest into shares of the Company’s Common Stock at an exercise price of $0.154 per share.                  
Stock issued during period, shares, conversion of convertible securities | shares         53,723                            
Stock Issued During Period, Value, New Issues                   $ 3,100,000                  
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                   $ 6.25                  
Debt Instrument, Decrease, Forgiveness                   $ 600,000                  
GCEH Warrants [Member]                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares $ 2.25                                    
Common Stock [Member]                                      
Stock issued during period, shares, conversion of convertible securities | shares                   1,586,786                  
Stock Issued During Period, Value, New Issues       $ 10,000,000           $ 4,960                  
Subsequent Event [Member] | GCEH Warrants [Member]                                      
Warrants and Rights Outstanding, Term 5 years                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares 5,017,008                                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares $ 2.25                                    
Commodity [Member] | Ultra Sulphur Diesel [Member]                                      
Derivative liabilities at fair value                                 $ 24,800,000    
Commodity [Member] | Ultra Sulphur Diesel [Member] | Call Option [Member]                                      
Derivative liabilities at fair value                               $ 23,100,000      
Derivative contract liability current                               5,500,000      
Derivative contract liability non current                               $ 17,600,000      
Derivative contract liability non current number of annual instalments | Installment                               6      
Commodity [Member] | Ultra Sulphur Diesel [Member] | Call Option [Member] | Amended Derivative Forward Contract [Member]                                      
Derivative liabilities at fair value                             $ 24,800,000        
Derivative contract liability non current                     20,300,000                
Payment of derivative liability               $ 4,500,000                      
Mezzanine Credit Facility [Member]                                      
Line of Credit Facility, Maximum Borrowing Capacity             $ 65,000,000                        
Senior Credit Facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date Nov. 04, 2026                                    
Series C Preferred Financing [Member] | Subsequent Event [Member]                                      
Other reserves $ 35,000,000                                    
Working Capital Facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date Sep. 30, 2022                                    
Line of Credit Facility, Interest Rate During Period 3.50%                                    
Line of Credit Facility, Maximum Borrowing Capacity $ 125                                    
Senior secured term loan facility [Member]                                      
Debt Instrument, Debt Default, Amount                   115,000,000                  
Senior secured term loan facility [Member] | Common Stock [Member]                                      
Debt Instrument, Convertible, Number of equity instruments | shares     5,017,008                                
Senior secured term loan facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                      
Line of credit facility, current borrowing capacity             $ 300.0                        
Line of Credit Facility, Expiration Date             Nov. 30, 2026                        
Line of Credit Facility, Interest Rate During Period             12.50%                        
Line of Credit Facility, Maximum Borrowing Capacity             $ 337.6           $ 317,600,000            
Additional Contingency reserve                 $ 35,000,000                    
Tranche B Senior Credit Facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                      
Line of Credit Facility, Maximum Borrowing Capacity                           $ 13,200,000          
Bridge Loan Facility [Member]                                      
Line of Credit Facility, Expiration Date     Jan. 31, 2022                                
Line of Credit Facility, Interest Rate During Period     12.50%                                
Line of Credit Facility, Maximum Borrowing Capacity     $ 337,600,000                                
Line of Credit Facility, Maximum Amount Outstanding                   12,000,000.0                  
Bridge Loan Facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Maximum Borrowing Capacity                       $ 20,000,000.0              
Bridge Loan Facility [Member] | Subsequent Event [Member] | GCEH Warrants [Member]                                      
Debt instrument, increase, accrued interest $ 20,000,000.0                                    
Maximum | Senior secured term loan facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                      
Line of Credit Facility, Interest Rate During Period             2.50%                        
Line of Credit Facility, Maximum Borrowing Capacity           $ 35,000,000             $ 4,400,000            
Maximum | Senior secured term loan facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date   Feb. 23, 2022                                  
Maximum | Tranche B Senior Credit Facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                      
Line of Credit Facility, Maximum Borrowing Capacity                           $ 313,200,000          
Maximum | Bridge Loan Facility [Member]                                      
Line of Credit Facility, Maximum Borrowing Capacity     $ 20,000,000.0                                
Maximum | Bridge Loan Facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date   Feb. 23, 2022                                  
Line of Credit Facility, Maximum Borrowing Capacity                       $ 8,000,000.0              
Minimum | Senior secured term loan facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date   Jan. 31, 2022                                  
Minimum | Bridge Loan Facility [Member] | Subsequent Event [Member]                                      
Line of Credit Facility, Expiration Date   Jan. 31, 2022                                  
Secured Debt [Member] | Mezzanine Credit Facility [Member]                                      
Debt instrument, maturity date             Nov. 30, 2027                        
Notes Payable Due On Demand [Member] | Prior To Two Thousand And Nineteen [Member]                                      
Other notes payable current                   $ 1,300,000                  
Short term debt fixed interest rate percentage                   18.00%                  
Notes Payable For The Financing Of Insurance Premiums [Member] | Bakersfield Refinery [Member]                                      
Percentage of annual premiums paid                   35.00%                  
Long term debt fixed stated interest rate percentage                   3.80%                  
Debt instrument number of monthly installments                   seventeen                  
Insurance policy premium payable current                   $ 500,000                  
Notes Payable For The Financing Of Insurance Premiums [Member] | Bakersfield Refinery [Member] | New Insurance Policies [Member]                                      
Short term debt fixed interest rate percentage                   3.85%                  
Percentage of annual premiums paid                   8.50%                  
Notes Payable For The Financing Of Insurance Premiums [Member] | Maximum | Bakersfield Refinery [Member]                                      
Insurance policy period of coverage | Month                   60                  
Notes Payable For The Financing Of Insurance Premiums [Member] | Minimum | Bakersfield Refinery [Member]                                      
Insurance policy period of coverage | Month                   12                  
Convertible Notes Payable To Third Parties [Member]                                      
Issuance of common shares at an agreed price | $ / shares                   $ 5.75                  
Stock issued during period, shares, conversion of convertible securities | shares           1,586,786                          
Convertible Notes Payable To Third Parties [Member] | Maximum                                      
Long term debt fixed stated interest rate percentage                   10.00%                  
Debt instrument conversion price per share | $ / shares                   $ 1.48                  
Convertible Notes Payable To Third Parties [Member] | Minimum                                      
Long term debt fixed stated interest rate percentage                   8.00%                  
Debt instrument conversion price per share | $ / shares                   $ 0.30                  
Common Class B [Member]                                      
Payments on debt issuance costs                   $ 13,500,000                  
Common Class B [Member] | Common Stock Subject to Mandatory Redemption [Member]                                      
Shares subject to mandatory redemption settlement terms fair value of shares                   21,628,689 5,123,000           $ 0    
Chief Executive Officer and President | Convertible Notes Payable To Related Party [Member]                                      
Accrued salary and bonus                                     $ 1,000,000
Notes payable to related party current                     1,000,000                
Debt instrument, increase, accrued interest                   50,000                  
Interest payable due to related party current                   $ 160,000 $ 110,000                
Debt instrument conversion price per share | $ / shares                   $ 0.154                  
Chief Executive Officer and President | Convertible Notes Payable To Third Parties [Member] | Subsequent Event [Member]                                      
Long term debt fixed stated interest rate percentage 5.00%                                    
Debt instrument, Extended term 2 years                                    
Debt instrument, Maturity date range, End Feb. 23, 2024                                    
Debt Instrument, Convertible, Number of equity instruments | shares 7,616,305                                    
BKRF HCB LLC [Member] | Common Class B [Member] | Senior Lender [Member]                                      
Debt conversion, converted instrument, shares issued | shares                   337,600,000                  
Shares subject to mandatory redemption settlement terms fair value of shares                   $ 21,600,000                  
BKRF HCB LLC [Member] | Common Class B [Member] | Senior Lender [Member] | Common Stock Subject to Mandatory Redemption [Member]                                      
Shares subject to mandatory redemption settlement terms number of shares issued or issuable | shares                   186,100,000 151,500,000                
Percentage of available cash after payment of principal interest and operating expenses eligible for distribution                   0.25                  
Aggregate cumulative amount payable maximum                   $ 675,200,000                  
Chief Executive Officer [Member] | Convertible Notes Payable To Related Party [Member]                                      
Related party transaction rate of interest                   5.00%                  
Long term debt date of maturity                                   Oct. 15, 2020