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 9 Months Ended
Sep. 30, 2022
USD ($)
$ / shares
shares
Aug. 05, 2022
USD ($)
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 ($)
Sep. 30, 2022
USD ($)
Month
$ / shares
shares
Sep. 30, 2021
USD ($)
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                     $ 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                       $ 16,500,000                  
Debt instrument face value                           $ 22,800,000              
Other notes payable current 3,588,235                     3,588,235       $ 3,478,931          
Shares subject to mandatory redemption settlement terms fair value of shares 14,900,000                     $ 14,900,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                          
Stock Issued During Period, Value, New Issues                     $ 3,100,000                    
Debt Instrument, Decrease, Forgiveness                       $ 600,000                  
Payment Of Borrowings 20,300,000                     20,300,000                  
Contractual Obligation 1,500,000                     1,500,000   $ 6,200,000              
Proceeds from long term line of credit                       30,000,000 $ 133,308,370                
Bakersfield Renewable Fuels LLC [Member]                                          
Working capital facility maximum amount that may be entered into without the senior lenders consent $ 125,000,000                     $ 125,000,000                  
Date from which the working capital facility may be availed Oct. 01, 2022                                        
Number of days by which the working capital facility may be extended 90 days                                        
Number of days within which the construction of the refinery shall be completed 90 days                                        
Maximum extension given to complete the rettoling of the facility from the orignal date in which the job must have been substantially completed 6 months                                        
Thirtieth September Two Thousand And Twenty Two [Member] | Bakersfield Renewable Fuels LLC [Member]                                          
Percentage of interest payment deferred 100.00%                     100.00%                  
Thirty First December Two Thousand And Twenty Two [Member] | Bakersfield Renewable Fuels LLC [Member]                                          
Percentage of interest payment deferred 100.00%                     100.00%                  
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 $ 735,200,000                     $ 735,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                                    
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                     115,000,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                                 $ 317,600,000        
Additional Contingency reserve                   $ 35,000,000                      
Senior secured term loan facility [Member] | Amendment Number Nine To The Senior Secured Credit Agreement [Member]                                          
Line of credit increase accrued interest                       3.5                  
Tranche B Senior Credit Facility [Member]                                          
Line of Credit Facility, Maximum Borrowing Capacity               $ 397,600,000                          
Cumulative amount borrowed 367,600,000                     367,600,000                  
Proceeds from long term line of credit                       30,000,000                  
Line of Credit facility, initiation date   Mar. 31, 2023                                      
Tranche B Senior Credit Facility [Member] | Bakersfield Renewable Fuels LLC [Member]                                          
Line of Credit facility, initiation date   Mar. 31, 2023                                      
Tranche B Senior Credit Facility [Member] | Amendment Number Nine To The Senior Secured Credit Agreement [Member]                                          
Line of Credit Facility, Maximum Borrowing Capacity 367,600,000 $ 397,600,000                   367,600,000                  
Line of credit increase accrued interest                       11,800,000                  
Line of credit $ 393,300,000                     393,300,000                  
Line of credit facility increase decrease in the credit capacity   $ 60,000,000                   $ 60,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                     $ 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                     $ 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                     $ 1,300,000                  
Short term debt fixed interest rate percentage 18.00%                     18.00%                  
Notes Payable For The Financing Of Insurance Premiums [Member]                                          
Debt instrument number of monthly installments                       seventeen                  
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%                     3.80%                  
Insurance policy premium payable current $ 4,500,000                     $ 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                     $ 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%                     10.00%                  
Convertible Notes Payable To Third Parties [Member] | Minimum                                          
Long term debt fixed stated interest rate percentage 8.00%                     8.00%                  
Several Policies [Member] | Maximum                                          
Long term debt fixed stated interest rate percentage 5.15%                     5.15%                  
Several Policies [Member] | Minimum                                          
Long term debt fixed stated interest rate percentage 4.90%                     4.90%                  
Class B Units [Member]                                          
Shares subject to mandatory redemption settlement terms fair value of shares $ 14,859,000                     $ 14,859,000       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                     $ 180,000       $ 160,000          
Debt instrument conversion price per share | $ / shares $ 0.154                     $ 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 367,600,000                     367,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