Quarterly report pursuant to Section 13 or 15(d)

DEBT (Details Narrative)

v3.22.2.2
DEBT (Details Narrative)
1 Months Ended 2 Months Ended 3 Months Ended 6 Months Ended
Feb. 23, 2022
USD ($)
shares
Feb. 02, 2022
Dec. 20, 2021
USD ($)
bbl
Sep. 15, 2021
USD ($)
Mar. 26, 2021
USD ($)
shares
May 04, 2020
USD ($)
Jun. 30, 2020
USD ($)
Sep. 15, 2021
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
Month
$ / shares
shares
May 11, 2022
USD ($)
Jan. 07, 2022
USD ($)
Dec. 31, 2021
USD ($)
Jul. 29, 2021
USD ($)
Apr. 30, 2020
USD ($)
Mar. 31, 2020
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                   $ 13,500,000                
Debt instrument face value                     $ 22,800,000              
Other notes payable current                   3,283,718     $ 3,478,931          
Shares subject to mandatory redemption settlement terms fair value of shares                   $ 8,500,000     21,600,000          
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.                
Line of Credit Facility, Expiration Date           Nov. 04, 2026                        
Line of Credit Facility, Maximum Borrowing Capacity                   $ 337,600,000                
Stock Issued During Period, Value, New Issues                 $ 3,100,000                  
Debt Instrument, Decrease, Forgiveness                   600,000                
Payment Of Borrowings                   20,300,000                
Contractual Obligation                   $ 1,500,000 $ 6,200,000              
Common Stock [Member]                                    
Stock Issued During Period, Value, New Issues       $ 10,000,000         $ 4,960                  
Common Stock Subject to Mandatory Redemption [Member]                                    
Percentage of available cash after payment of principal interest and operating expenses eligible for distribution                   25                
Aggregate cumulative amount payable maximum                   $ 675,200,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    
Commodity [Member] | Ultra Sulphur Diesel [Member] | Call Option [Member] | Amended Derivative Forward Contract [Member]                                    
Derivative liabilities at fair value                             $ 24,800,000      
Payment of derivative liability             $ 4,500,000                      
Senior Credit Facility [Member]                                    
Line of Credit Facility, Expiration Date Nov. 04, 2026                                  
Line of Credit Facility, Maximum Borrowing Capacity                   337,600,000                
Series C Preferred Financing [Member]                                    
Other reserves $ 35,000,000                                  
Working Capital Facility [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,000,000                                  
Senior secured term loan facility [Member]                                    
Debt Instrument, Debt Default, Amount                   $ 115,000,000                
Line of Credit Facility, Increase, Accrued Interest           $ 13,900,000                        
Long-Term Line of Credit           351,500,000                        
Senior secured term loan facility [Member] | Common Stock [Member]                                    
Debt Instrument, Convertible, Number of equity instruments | bbl     5,017,008                              
Senior secured term loan facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                    
Line of credit facility, current borrowing capacity           $ 300,000,000                        
Line of Credit Facility, Interest Rate During Period           12.50%                        
Line of Credit Facility, Maximum Borrowing Capacity           $ 337,600,000               $ 317,600,000        
Additional Contingency reserve               $ 35,000,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                 $ 20,000,000            
Maximum | Convertible Notes Payable To Related Party [Member]                                    
Debt instrument conversion price per share | $ / shares                   $ 1.48                
Maximum | Senior secured term loan facility [Member]                                    
Line of Credit Facility, Expiration Date   Feb. 23, 2022                                
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 | Bridge Loan Facility [Member]                                    
Line of Credit Facility, Expiration Date   Feb. 23, 2022                                
Line of Credit Facility, Maximum Borrowing Capacity     $ 20,000,000                 $ 8,000,000            
Minimum | Convertible Notes Payable To Related Party [Member]                                    
Debt instrument conversion price per share | $ / shares                   $ 0.3                
Minimum | Senior secured term loan facility [Member]                                    
Line of Credit Facility, Expiration Date   Jan. 31, 2022                                
Minimum | Bridge Loan Facility [Member]                                    
Line of Credit Facility, Expiration Date   Jan. 31, 2022                                
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                   $ 4,500,000                
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%                
Convertible Notes Payable To Third Parties [Member] | Minimum                                    
Long term debt fixed stated interest rate percentage                   8.00%                
Several Policies [Member] | Maximum                                    
Long term debt fixed stated interest rate percentage                   5.15%                
Several Policies [Member] | Minimum                                    
Long term debt fixed stated interest rate percentage                   4.90%                
Class B Units [Member]                                    
Shares subject to mandatory redemption settlement terms fair value of shares                   $ 8,520,914     21,628,689          
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                   $ 180,000     $ 160,000          
Debt instrument conversion price per share | $ / shares                   $ 0.154                
Chief Executive Officer and President | Convertible Notes Payable To Third Parties [Member]                                    
Long term debt fixed stated interest rate percentage 5.00%                                  
Debt instrument, Maturity date range, End Feb. 23, 2024                                  
Debt Instrument, Convertible, Number of equity instruments | shares 7,616,305                                  
BKRF HCB LLC [Member] | Class B Units [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                   337,600,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