XML 22 R11.htm IDEA: XBRL DOCUMENT
v3.23.3

Note 4 - Debt | 9 Months Ended
--- | ---
Sep. 30, 2023
Notes to Financial Statements |
Debt Disclosure [Text Block] | 4. Debt Debt consists of the following:
|  | September 30, 2023 |  |  | December 31, 2022 |
Third Eye Capital term notes |  | $ | 7,149 |  |  | $ | 7,141 |
Third Eye Capital revolving credit facility |  |  | 26,756 |  |  |  | 60,602 |
Third Eye Capital revolving notes Series B |  |  | 51,319 |  |  |  | - |
Third Eye Capital revenue participation term notes |  |  | 11,985 |  |  |  | 11,963 |
Third Eye Capital acquisition term notes |  |  | 26,607 |  |  |  | 26,578 |
Third Eye Capital Fuels Revolving Line |  |  | 34,442 |  |  |  | 27,410 |
Third Eye Capital Carbon Revolving Line |  |  | 23,554 |  |  |  | 22,710 |
Construction Loan |  |  | 33,139 |  |  |  | 19,820 |
Cilion shareholder seller notes payable |  |  | 6,975 |  |  |  | 6,821 |
Subordinated notes |  |  | 16,737 |  |  |  | 15,931 |
EB-5 promissory notes |  |  | 42,019 |  |  |  | 41,404 |
Term loans on capital expenditures |  |  | 5,852 |  |  |  | 5,860 |
Total debt |  |  | 286,534 |  |  |  | 246,240 |
Less current portion of debt |  |  | 66,485 |  |  |  | 49,219 |
Total long term debt |  | $ | 220,049 |  |  | $ | 197,021 |
Third Eye Capital Note Purchase Agreement On July 6, 2012, Aemetis, Inc. and Aemetis Advanced Fuels Keyes, Inc. (“AAFK”), entered into an Amended and Restated Note Purchase Agreement (the “Note Purchase Agreement”) with Third Eye Capital Corporation (“Third Eye Capital”). Pursuant to the Note Purchase Agreement, Third Eye Capital extended credit in the form of (i) senior secured term loans in an aggregate principal amount of approximately $7.2 million to replace existing notes held by Third Eye Capital (the “Term Notes”); (ii) senior secured revolving loans in an aggregate principal amount of $18.0 million (the “Revolving Credit Facility”); (iii) senior secured term loans in the principal amount of $10.0 million to convert the prior revenue participation agreement to a note (the “Revenue Participation Term Notes”); and (iv) senior secured term loans in an aggregate principal amount of $15.0 million (the “Acquisition Term Notes”) used to fund the cash portion of the acquisition of Cilion, Inc. (the Term Notes, Revolving Credit Facility, Revenue Participation Term Notes and Acquisition Term Notes are referred to herein collectively as the “Original Third Eye Capital Notes”). On March 8, 2022, Third Eye Capital agreed to the Limited Waiver and Amendment No. 22 to the Note Purchase Agreement (“Amendment No. 22”) to: (i) provide a waiver for the Blocked Account Agreement Violation in which the Borrowers failed to deliver Blocked Account Control Agreements by December 31, 2021, (ii) provide for a waiver for the Subordinated Debt Violation, in which the Company made a repayment to a Subordinated Debt lender, and (iii) provide for a waiver of the consolidated unfunded capital expenditures covenant for the quarters through December 31, 2021. As consideration for such waivers, the borrowers also agreed to pay Third Eye Capital an amendment and waiver fee of $0.1 million in cash. On May 11, 2022, Third Eye Capital agreed to the Limited Waiver and Amendment No. 23 to the Note Purchase Agreement (“Amendment No. 23”) to: (i) provide a waiver for the Blocked Account Agreement Violation in which the Borrowers failed to deliver Blocked Account Control Agreements by March 31, 2022, (ii) provide for a waiver of the ratio of note indebtedness covenant for the quarter ended March 31, 2023 and (iii) provide for a waiver of the unfunded capital expenditures covenant for the quarter ended March 31, 2022 in which the Company exceeded the $100,000 capital expenditures limit. As consideration for such amendment and waivers, the borrowers also agreed to pay Third Eye Capital an amendment and waiver fee of $0.1 million. On August 8th, 2022, Third Eye Capital agreed to Limited Waiver and Amendment No. 24 to the Note Purchase Agreement ("Amendment No. 24") to: (i) provide that the maturity date of the Third Eye Capital Notes may be further extended at our election to April 1, 2024 in exchange for an extension fee equal to 1% of the Note Indebtedness in respect to each Note, provided that such fee may be added to the outstanding principal balance of each Note on the effective date of each such extension, and (ii) provide for a waiver for certain covenant defaults. As consideration for such amendment and waivers, the borrowers also agreed to pay Third Eye Capital an amendment and waiver fee of $0.3 million in cash (the "Amendment No. 24 Fee"). On March 6, 2023, Third Eye Capital agreed to the Limited Waiver and Amendment No. 25 to the Note Purchase Agreement (“Amendment No. 25”) to: provide a waiver for the Keyes Plant Minimum Quarterly Production violation for the quarter ended March 31, 2023, in which the Borrowers will not meet the minimum production of 10 million gallons requirement. As consideration for such waivers, the borrowers also agreed to pay Third Eye Capital an amendment and waiver fee of $0.1 million. On May 4, 2023, Third Eye Capital agreed to the Limited Waiver and Amendment No. 26 to the Note Purchase Agreement (“Amendment No. 26”) to: provide a waiver for (i) the Keyes Plant Minimum Quarterly Production violation for the quarter ended June 30, 2023, in which the Borrowers will not meet the minimum production of 10 million gallons requirement and (ii) the lender agrees to waive the cash payment of certain fees which are required by the Third Eye Capital Notes and allowed these fees to be added to the outstanding balance of the Revolving Notes. As consideration for such waivers, the borrowers also agreed to pay Third Eye Capital an amendment and waiver fee of $0.1 million. We evaluated the terms of Amendment No. 26 and the maturity date extension in accordance with ASC 470-50 Debt – Modification and Extinguishment and ASC 470-60 Troubled Debt Restructuring and applied modification accounting treatment. On May 16, 2023, Third Eye Capital agreed to the Limited Waiver and Amendment No. 27 to the Note Purchase Agreement (“Amendment No. 27”) to: (i) provide that the maturity date of the Third Eye Capital Notes may be further extended at our election to April 1, 2025 in exchange for an extension fee equal to 1% of the Note Indebtedness in respect to each Note, provided that such fee may be added to the outstanding principal balance of each Note on the effective date of each such extension, (ii) create a new series of Revolving Notes ("Revolving Notes Series B"), and (iii) provide for the issuance of new Revolving Notes Series B to provide for emergency funding. As consideration for such waivers, the borrowers also agreed to pay Third Eye Capital an amendment fee of $0.5 million, by adding the balance to the Revolving Notes Series B and issued a warrant exercisable for 80,000 shares of the Company's common stock were issued with an exercise price of $2.00 per each share issuable under the warrant. We evaluated the terms of Amendment No. 27 in accordance with ASC 470-50 Debt – Modification and Extinguishment and ASC 470-60 Troubled Debt Restructuring and applied modification accounting treatment. According to ASC 470-10-45 Debt–Other Presentation Matters, if it is probable that the Company will not be able to cure the default at measurement dates within the next 12 months, the related debt needs to be classified as current. To assess this guidance, the Company performed ratio and cash flow analysis using its cash flow forecast and debt levels for plant to debt ratio covenant and obtained waivers for the minimum ethanol production covenant for Q1’23 and Q2'23 in Amendments No. 25 and No. 26. The Company forecasted sufficient cash flows over the next 12 months to reduce debt levels of Third Eye Capital and meet the operations of the Company. Based on this analysis, the Company believes that it is reasonably possible that through a combination of cash flows from operations, sales from EB-5 investments, and proceeds from the sale of common stock, it will be able to meet the ratio of the note indebtedness covenant over the next 12 months. As such, the notes are classified as long-term debt. On March 6, 2020, we entered into a one-year reserve liquidity facility governed by a promissory note, payable to Third Eye Capital, in the principal amount of $18 million. On March 14, 2021, Third Eye Capital agreed to increase the amount available under the reserve liquidity facility to $70.0 million. Interest on borrowed amounts accrues at a rate of 30% per annum, paid monthly in arrears and may be capitalized and due upon maturity, or 40% if an event of default has occurred and continues. The outstanding principal balance of the indebtedness evidenced by the promissory note, plus any accrued but unpaid interest and any other sums due thereunder, shall be due and payable in full at the earlier to occur of (a) receipt by the Company or its affiliates of proceeds from any sale, merger, equity or debt financing, refinancing or other similar transaction from any third party and (b) April 1, 2023. Any amounts may be re-borrowed up to repaid amounts up until the maturity date of April 1, 2023. The promissory note is secured by liens and security interests upon the property and assets of the Company. In return, the Company will pay a non-refundable standby fee at 2% per annum of the difference between the aggregate principal amount outstanding and the commitment, payable monthly in cash. In addition, if any initial advances are drawn under the facility, the Company will pay a non-refundable one-time fee in the amount of $0.5 million provided that such fee may be added to the principal amount of the promissory note on the date of such initial advance. On August 9, 2021, Third Eye Capital agreed to decrease the amount available under the reserve liquidity notes governed by a promissory note to $40.0 million. On March 6, 2023, Third Eye Capital agreed to increase the reserve liquidity facility to $50 million and extend this for one year to April 1, 2024. Terms of Third Eye Capital Notes
A. | Term Notes. As of September 30, 2023, the Company had $7.2 million in principal and interest outstanding under the Term Notes and $52 thousand unamortized debt issuance costs. The Term Notes accrue interest at 14% per annum. The Term Notes mature on April 1, 2024*.
B. | Revolving Credit Facility. The Revolving Credit Facility accrues interest at the prime rate plus 13.75% (22.00% as of September 30, 2023) payable monthly in arrears. The Revolving Credit Facility matures on April 1, 2024*. As of September 30, 2023, AAFK had $27.9 million in principal and interest and waiver fees outstanding and $1.1 million unamortized debt issuance costs under the Revolving Credit Facility.
C. | Revolving Notes Series B. The Revolving Notes Series B accrues interest at the prime rate plus 13.75% (22.00% as of September 30, 2023) payable monthly in arrears. The Revolving Notes Series B matures on April 1, 2024*. As of September 30, 2023, AAFK had $51.8 million in principal and interest and waiver fees outstanding and $0.4 million unamortized debt issuance costs under the Revolving Notes Series B.
D. | Revenue Participation Term Notes. The Revenue Participation Term Note bears interest at 5% per annum and matures on April 1, 2024*. As of September 30, 2023, AAFK had $12.1 million in principal and interest outstanding under the Revenue Participation Term Notes and $106 thousand unamortized debt issuance costs.
E. | Acquisition Term Notes. The Acquisition Term Notes accrue interest at the prime rate plus 10.75% (19.00% per annum as of September 30, 2023) and mature on April 1, 2024*. As of September 30, 2023, Aemetis Facility Keyes, Inc. had $26.9 million in principal and interest and redemption fees outstanding under the Acquisition Term Notes and $222 thousand unamortized debt issuance costs. The outstanding principal balance includes a total of $7.5 million in redemption fee on which interest is not charged.
F. | Reserve Liquidity Notes. The Reserve Liquidity Notes, with available borrowing capacity in the amount of $50.0 million, accrues interest at the rate of 30% per annum and are due and payable upon the earlier of: (i) the closing of new debt or equity financings, (ii) receipt from any sale, merger, debt or equity financing, or (iii) April 1, 2024. We have no borrowings outstanding under the Reserve Liquidity Notes as of September 30, 2023.
The note maturity dates marked with an "*" can be extended by the Company to April 2025. As a condition to any such extension, the Company would be required to pay a fee of 1% of the carrying value of the debt outstanding under the applicable notes of which 50% can be paid in cash or common stock (if paid through common stock it would be equivalent to 110% of the relevant half of such extension fee) and 50% can be added to the outstanding debt. As a result of this ability to extend the maturity at the Company’s will, the Third Eye Capital Notes are classified as non-current debt. The Third Eye Capital Notes contain various covenants, including but not limited to, debt to plant value ratio, minimum production requirements, and restrictions on capital expenditures. The terms of the Third Eye Capital Notes allow the lender to accelerate the maturity in the occurrence of any event that could reasonably be expected to have a material adverse effect on the Company, such as any change in the business, operations, or financial condition. The Company has evaluated the likelihood of such an acceleration event and determined such an event to not be probable in the next twelve months. The terms of the notes allow interest to be capitalized. The Third Eye Capital Notes are secured by first priority liens on all real and personal property of, and assignment of proceeds from all government grants and guarantees from the Company’s North American subsidiaries. The Third Eye Capital Notes all contain cross-collateral and cross-default provisions. McAfee Capital, LLC (“McAfee Capital”), owned by Eric McAfee, the Company’s Chairman and CEO, provided a guaranty of payment and performance secured by all of its Company shares. In addition, Eric McAfee provided a blanket lien on substantially all of his personal assets, and McAfee Capital provided a guarantee in the amount of $8.0 million. Third Eye Capital Revolving Credit Facility for Fuels and Carbon Lines. On March 2, 2022, GAFI and Aemetis Carbon Capture, Inc. (“ACCI”) entered into an Amended and Restated Credit Agreement (“Credit Agreement”) with Third Eye Capital , as administrative agent and collateral agent, and the lender party thereto (the “New Credit Facility”). The New Credit Facility provides for two credit facilities with aggregate availability of up to $100 million, consisting of a revolving credit facility with GAFI for up to $50 million (the “Fuels Revolving Line”) and a revolving credit facility with ACCI for up to $50 million (the “Carbon Revolving Line” and together with the Fuels Revolving Line, the “Revolving Lines”). The revolving loans made under the Fuels Revolving Line have a maturity date of March 1, 2025 and will accrue a rate of interest per annum equal to the greater of (i) the prime rate plus 6.00% and (ii) ten percent (10.0%), and the revolving loans made under the Carbon Revolving Line will have a maturity date of March 1, 2026 and accrue a rate of interest per annum equal to the greater of (i) the prime rate plus 4.00% and (ii) eight percent (8.0%). The revolving loans made under the Fuels Revolving Line are available for working capital purposes and the revolving loans made under the Carbon Revolving Line are available for projects that reduce, capture, use or sequester carbon with the objective of reducing carbon dioxide emissions. In connection with the New Credit Facility, the Company agreed to issue to the lender under the New Credit Facility: (i) warrants entitling the lender to purchase 50,000 shares of common stock of the Company at an exercise price equal to $10.20 per share, exercisable for a five-year period from March 2, 2022; and (ii) warrants entitling holders thereof to purchase 250,000 shares of common stock of the Company, at an exercise price equal to $20.00 per share, exercisable for a ten-year period from March 2, 2022. In addition, under the Fuels Revolving Line, we issued 100,000 shares of common stock to existing note holders under the GAFI note purchase agreement. The shares were accounted at fair value and are being amortized over the life of the Fuels Revolving Line. Upon closing of the New Credit Facility, the Company drew on the revolving lines to repay $16.0 million on the higher interest rate AAFK Revolving Credit Facility, $6.1 million in property taxes, and to fund the capital projects and working capital projects. On August 1, 2023, Third Eye Capital agreed to the Amendment and Waiver No. 2 to Credit Agreement ("Amendment No. 2") to: (i) approve a special advance of $2.3 million, which will constitute an overadvance, in order to pay and satisfy outstanding fees and obligations under the Credit Agreement; provided, that, such overadvance and prior outstanding overadvances under the Credit Agreement are repaid by the earlier of August 31, 2023 and an occurrence of certain mandatory repayment event; (ii) waive certain interest payment and fee violations under the Credit Agreement; and (iii) waive certain working capital violations and amend the related financial covenants in the Credit Agreement. As a consideration for such consents and waivers, the borrowers agreed to pay Third Eye Capital an amendment and waiver fee of $0.1 million. On October 16, 2023, Third Eye Capital acknowledged receipt of $8.6 million repayment for the Revolving Credit facility under the July 2012 Note Purchase Agreement and $11.6 million repayment on the GAFI Credit Agreement. As part of this acknowledgement, the available credit on the GAFI loan was raised to $37.5 million and the warrant issuable accordingly raised by 25,000 shares. As of September 30, 2023, GAFI had principal and interest outstanding of $11.0 million classified as current debt and $25.0 million classified as long-term debt and $1.6 million unamortized debt issuance costs. As of September 30, 2023, ACCI had principal and interest outstanding of $0.5 million classified as current debt and $24.9 million classified as long-term debt and $1.9 million in unamortized debt issuance costs. The current portion of the Revolving Lines are part of $8.1 million specific advance between Third Eye Capital and the Company and certain accrued interests on the Fuel and Carbon revolving facilities that have been repaid on October 16, 2023. The special advance had been utilized by the Company to pay the interest on notes and certain fees on notes and some expenses of the Company. As part of this arrangement, the Company issued a warrant exercisable for 80,000 shares of the Company's common stock with an exercise price of $2.00, to Third Eye Capital. As of September 30, 2023 there was no credit available under the Fuels and Carbon revolving facilities. Based on the repayments acknowledged by Third Eye Capital on October 16, 2023, the available credit on the Fuels Revolving facility with GAFI was $12.5 million. Cilion shareholder seller notes payable. In connection with the Company’s merger with Cilion, Inc. (“Cilion”), on July 6, 2012, the Company issued $5.0 million in notes payable to Cilion shareholders as merger compensation subordinated to the senior secured Third Eye Capital Notes. The liability bears interest at 3% per annum and is due and payable after the Third Eye Capital Notes have been paid in full. As of September 30, 2023, Aemetis Facility Keyes, Inc. had $7.0 million in principal and interest outstanding under the Cilion shareholder seller notes payable. Subordinated Notes. On January 6 and January 9, 2012, AAFK entered into Note and Warrant Purchase Agreements with two accredited investors pursuant to which it issued $0.9 million and $2.5 million in original notes to the investors (“Subordinated Notes”). The Subordinated Notes mature every six months. Upon maturity, the Subordinated Notes are renewable at the Company's election for six month periods with a fee of 10% added to the balance outstanding plus issuance of warrants exercisable at $0.01 with a two-year term. Interest accrues at 10% per annum and is due at maturity. Neither AAFK nor Aemetis may make any principal payments under the Subordinated Notes until all loans made by Third Eye Capital to AAFK are paid in full. On July 1, 2023, the maturity on two Subordinated Notes’ was extended until the earlier of (i) December 31, 2023; (ii) after the occurrence of an Event of Default, including failure to pay interest or principal when due and breaches of note covenants. A $90 thousand and $250 thousand cash extension fee was paid by adding the fee to the balance of the new Subordinated Notes and 113 thousand common stock warrants were granted with a term of two years and an exercise price of $0.01 per share. The Company evaluated the January 1, 2023 and July 1, 2023 amendments and the refinancing terms of the notes and applied modification accounting treatment in accordance with ASC 470-50 Debt – Modification and Extinguishment. At September 30, 2023 and December 31, 2022, the Company had, in aggregate, the amount of $16.7 million and $15.9 million in principal and interest outstanding, respectively, under the Subordinated Notes. EB-5 promissory notes. EB-5 is a U.S. government program authorized by the Immigration and Nationality Act designed to foster employment-based visa preference for immigrant investors to encourage the flow of capital into the U.S. economy and to promote employment of U.S. workers. The Company entered into a Note Purchase Agreement dated March 4, 2011 (as further amended on January 19, 2012 and July 24, 2012) with Advanced BioEnergy, LP, a California limited partnership authorized as a “Regional Center” to receive EB-5 investments, for the issuance of up to 72 subordinated convertible promissory notes (the “EB-5 Notes”) bearing interest at 2-3%. Each note was issued in the principal amount of $0.5 million and due and payable four years from the date of each note, for a total aggregate principal amount of up to $36.0 million (the “EB-5 Phase I funding”). The original maturity date on the promissory notes can be extended automatically for a one- or two-year period initially and is eligible for further one-year automatic extensions as long as there is no notice of non-extension from investors and the investors’ immigration process is in progress. On February 27, 2019, Advanced BioEnergy, LP, and the Company entered into an Amendment to the EB-5 Notes which restated the original maturity date on the promissory notes with automatic six-month extensions as long as the investors’ immigration processes are in progress. Except for six early investor EB-5 Notes, the Company was granted 12 months from the date of the completion of immigration process to redeem these EB-5 Notes. Given the COVID-19 pandemic and processing delays for immigration process, Advanced BioEnergy, LP extended the maturity dates for debt repayment based on their projected processing timings as long as the investors do not give notice of withdrawal or an I-829 gets approved. Accordingly, the notes have been recognized as long-term debt while investor notes who obtained green card approval have been classified as current debt. The EB-5 Notes are convertible after three years at a conversion price of $30 per share. The Company has sold an aggregate principal amount of $36.0 million of EB-5 Notes under the EB-5 Phase I funding since 2012 to the date of this filing. As of September 30, 2023, $35.5 million has been released from the escrow amount to the Company, with $0.5 million remaining to be funded to escrow. As of September 30, 2023 and December 31, 2022, $37.7 million and $37.2 million was outstanding, respectively, on the EB-5 Notes sold under the EB-5 Phase I funding. On October 16, 2016, the Company launched its EB-5 Phase II funding (the “EB-5 Phase II Funding”), with plans to issue $50.0 million in additional EB-5 Notes on substantially similar terms and conditions as those issued under the Company’s EB-5 Phase I funding, to refinance indebtedness and capital expenditures of Aemetis, Inc. and Goodland Advanced Fuels Inc., (“GAFI”). On November 21, 2019, the minimum investment was raised from $0.5 million per investor to $0.9 million per investor. The Company entered into a Note Purchase Agreement dated with Advanced BioEnergy II, LP, a California limited partnership authorized as a Regional Center to receive EB-5 Phase II funding investments, for the issuance of up to 100 EB-5 Notes bearing interest at 3%. On May 1, 2020 Supplement No. 3 amended the offering documents and lowered the total eligible new EB-5 Phase II funding investors to 60. Eight EB-5 investors have funded at the $0.5 million per investor amount, with 52 new EB-5 Phase II funding investors remaining eligible at the new $0.9 million per investors amount under the current offering. Job creation studies show it may be possible to add additional investors and increase the total offering amount in the future. Each EB-5 note will be issued in the principal amount and due and payable five years from the date of each EB-5 note, for a total aggregate principal amount of up to $50.8 million. The Company has sold an aggregate principal amount of $4.0 million of EB-5 Notes under the EB-5 Phase II funding since 2016 to the date of this filing. As of September 30, 2023, $4.0 million has been released from escrow to the Company and $46.5 million remains to be funded to escrow. As of September 30, 2023, and December 31, 2022, $4.3 million and $4.2 million were outstanding on the EB-5 Notes under the EB-5 Phase II funding, respectively.-n Working capital loans. On July 26, 2022, the Company entered into a short-term loan with Secunderabad Oils Limited in an amount not to exceed $1.88 million. On August 1, 2022, the Company entered into a short-term loan with Leo Edibles & Fats Limited in an amount not to exceed $1.27 million. The loans bears interest at 18% and are payable monthly. The loans are repayable on demand by the lender or within one year from the date of issuance. As of September 30, 2023 and December 31, 2022, the Company had no balance under these agreements. Secured loans. In the first quarter of 2023, the Company entered into several short-term loans with IndusInd Bank and HDFC Bank. The loans are secured by fixed deposits made by the Company. The loans bear interest at rates that range from 6% to 8%. The loans mature between November 15, 2023 and May 3, 2024. As of September 30, 2023 and December 31, 2022, the Company had no balance, respectively, under these agreements. Construction Loan Agreement. On October 4, 2022, the Company entered into a Construction Loan Agreement (“Loan Agreement”) with Greater Nevada Credit Union (“GNCU”). Pursuant to the Loan Agreement, the lender has made available an aggregate principal amount not to exceed $25 million. The loan is secured by all personal property collateral and real property collateral of the Aemetis Biogas 1 LLC. The loan bears interest at a rate of 5.95% per annum and has an USDA annual renewal fee of 0.25%, with interest only payments to be paid in monthly installments, and a maturity date of December 4, 2023, at which time the entire unpaid principal amount, together with accrued and unpaid interest, is expected to be repaid from the proceeds of a term loan this is 80% USDA guaranteed and issued by GNCU pursuant to a USDA Conditional Commitment. The Loan Agreement contains certain financial covenants to be measured as of the last day of each fiscal year beginning fiscal year end 2023, and annually for the term of the loan. The Loan Agreement also contains other affirmative and negative covenants, representations and warranties and events of default customary for loan agreements of this nature. As of September 30, 2023 and December 31, 2022, the Company had $23.9 million and $20.2 million, respectively, outstanding and unamortized discount issuances costs of none and $0.3 million, respectively, under the Loan Agreement. On July 28, 2023, the Company entered into a second Construction and Term Loan Agreement (“Loan Agreement 2") with Magnolia Bank, Incorporated. Pursuant to the Loan Agreement 2, the lender has made available an aggregate principal amount not to exceed $25 million. The loan is secured by all personal property collateral and real property collateral of Aemetis Biogas 2 LLC. The loan bears interest at a rate of 8.75% per annum, to be adjusted every five years thereafter to equal the five-year Treasury Constant Maturity Rate, as published by the Board of Governors of the Federal Reserve System as of the adjustment date, plus 5.00%. Other material terms of the Loan include: (i) payments of interest only to be paid in monthly installments beginning August 15, 2023, (ii) payments of equal combined monthly installments of principal and interest beginning on August 15, 2025, and (iii) a maturity date of July 28, 2043, at which time the entire unpaid principal amount, together with accrued and unpaid interest thereon, shall become due and payable. The AB2 Term Loan contains certain financial covenants to be measured as of the last day of each fiscal year beginning fiscal year end 2024, and annually for the term of the loan. The AB2 Loan Agreement also contains other affirmative and negative covenants, representations and warranties and events of default customary for loan agreements of this nature. As of September 30, 2023 and December 31, 2022, the Company had $10.0 million and none, respectively, outstanding and unamortized discount issuances costs of $0.8 million and none, respectively, under the Loan Agreement 2. Financing Agreement for capital expenditures. The Company entered into an agreement with Mitsubishi Chemical America, Inc. (“Mitsubishi”) to purchase ZEBREXTM membrane dehydration equipment to conserve energy and improve operating efficiencies at the Keyes Plant. The Company also entered into a financing agreement with Mitsubishi for $5.7 million for this equipment. Payments pursuant to the financing transaction will commence after the installation date and interest will be charged based on the certain performance metrics after operation of the equipment. We recorded the asset in property, plant and equipment, net and recorded the related liability of $1.7 million in short term borrowings and $4.1 million in other long-term debt, respectively as of September 30, 2023. Scheduled debt repayments for the Company’s loan obligations by year are as follows:
Twelve Months ended September 30, |  | Debt Repayments |
2024 |  | $ | 66,485 |
2025 |  |  | 182,609 |
2026 |  |  | 29,448 |
2027 |  |  | 4,266 |
2028 |  |  | 1,531 |
Thereafter |  |  | 8,403 |
Total debt |  |  | 292,742 |
Debt issuance costs |  |  | (6,208 | )
Total debt, net of debt issuance costs |  | $ | 286,534 |

X
- Definition The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(c)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 470 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//470/tableOfContent Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1C Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1E Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1I + Details
Name: | us-gaap_DebtDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DisclosureTextBlockAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration