XML 20 R9.htm IDEA: XBRL DOCUMENT v3.8.0.1
4. Debt
9 Months Ended
Sep. 30, 2017
Debt Disclosure [Abstract]  
4. Debt

Debt consists of the following:

 

    September 30, 2017     December 31, 2016
Third Eye Capital term notes $                             6,832    $                             6,577
Third Eye Capital revolving credit facility                             32,778                              24,927
Third Eye Capital revenue participation term notes                              11,473                              11,042
Third Eye Capital acquisition term notes                              19,782                              19,085
Cilion shareholder seller notes payable                               5,786                                5,674
Subordinated notes                               8,445                                7,565
EB-5 long term promissory notes                             35,822                              35,027
Unsecured working capital loans                               4,292                                1,817
GAFI Term and Revolving loans                             23,373                                      -   
Total debt                           148,583                            111,714
Less current portion of debt                             14,559                              11,409
Total long term debt $                         134,024    $                         100,305

 

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 with Third Eye Capital (the “Note Purchase Agreement”). 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 (“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 (“Revenue Participation Term Notes”); and (iv) senior secured term loans in an aggregate principal amount of $15.0 million (“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). After this financing transaction, Third Eye Capital obtained sufficient equity ownership in the Company to be considered a related party. The Original Third Eye Capital Notes have a maturity date of April 1, 2018.

 

On January 31, 2017, a Promissory Note (the “January 2017 Note”, together with the Original Third Eye Capital Notes, the “Third Eye Capital Notes”) for $2.1 million was advanced by Third Eye Capital to Aemetis, Inc., as a short-term credit facility for working capital and other general corporate purposes with an interest rate of 14% per annum maturing on the earlier of (a) receipt of proceeds from any financing, refinancing, or other similar transaction, (b) extension of credit by payee, as lender or as agent on behalf of certain lenders, to the Company or its affiliates, or (c) May 30, 2017. In addition, as part of the January 2017 Note agreement, Aemetis used $0.5 million of the total proceeds to buy back 275 thousand common shares that were held by Third Eye Capital. In consideration of the January 2017 Note, $133 thousand of the total proceeds were paid to Third Eye Capital as financing charges. As of June 30, 2017, the outstanding balance on the January 2017 Note was $2.1 million. On July 10, 2017, the January 2017 Note was paid in full.

 

On March 1, 2017, Third Eye Capital agreed to Amendment No. 13 to the Note Purchase Agreement to: (i) extend the maturity date of the Third Eye Capital Notes to April 1, 2018 in exchange for a 5% extension fee consisting of adding $3.1 million to the outstanding principal balance of the Note Purchase Agreement and allowing for the further extension of the maturity date of the Third Eye Capital Notes to April 1, 2019, at the Company’s election, for an additional extension fee of 5% of the then outstanding Third Eye Capital Notes outstanding balance, (ii) waive the free cash flow financial covenant under the Note Purchase Agreement for the three months ended December 31, 2016, (iii) provide that such covenant will be deleted prospectively from the Note Purchase Agreement, (iv) waive the default under the Note Purchase Agreement relating to indebtedness outstanding to Laird Cagan and (v) waive the covenant under the Note Purchase Agreement to permit the Company to pay off the defaulted Laird Cagan subordinated note by issuing stock. The borrowers agreed to use their best efforts to close the transaction to purchase assets in Goodland, Kansas from Third Eye Capital as described in a non-binding offer to purchase letter between an affiliate of the Company and Third Eye Capital, which closed on July 10, 2017. As consideration for such amendment and waiver, the borrowers agreed to pay Third Eye Capital an amendment and waiver fee of $750 thousand to be added to the outstanding principal balance of the Revolving Credit Facility. As a result of the extension of the maturity date in Amendment No. 13, the Third Eye Capital Notes are classified as non-current debt. We evaluated the Amendment of the Notes and applied modification accounting treatment in accordance with ASC 470-50 Debt – Modification and Extinguishment.

 

On April 28, 2017, a Promissory Note (the “April 2017 Note”, and together with the Original Third Eye Capital Notes, the “Third Eye Capital Notes”) for $1.5 million was advanced by Third Eye Capital to Aemetis, Inc., as a short-term credit facility for working capital and other general corporate purposes with an interest rate of 14% per annum maturing on the earliest of (a) closing of the Financing, (b) receipt of proceeds from any financing, refinancing or other similar transaction, (c) extension of credit by the Lender, or Agent on behalf of certain lenders or the Noteholders, to the Debtors or their affiliates, and (d) June 15, 2017. In addition, $1.0 million of this note represents fees payable by Goodland Advanced Fuels, Inc. upon the closing of the Goodland transaction. On July 10, 2017, the April 2017 Note was paid in full and the fees payable by Goodland Advanced Fuels, Inc., were paid.

 

Terms of Third Eye Capital Notes

 

A.  Term Notes. As of September 30, 2017, the Company had $6.8 million in principal and interest outstanding under the Term Notes, net of unamortized fair value discounts of $0.2 million. The Term Notes mature on April 1, 2018. Interest on the Term Notes accrues at 14% per annum.

 

B.  Revolving Credit Facility. The Revolving Credit Facility accrues interest at the prime rate plus 13.75% (18.00% as of September 30, 2017), payable monthly in arrears. The Revolving Credit Facility matures on April 1, 2018. As of September 30, 2017, AAFK had $32.8 million in principal and interest outstanding, net of unamortized debt issuance costs of $0.8 million on the Revolving Credit Facility. No amounts remained for future draw on the Revolving Credit Facility.

 

C.  Revenue Participation Term Notes. The Revenue Participation Term Note bears interest at 5% per annum and matures on April 1, 2018. As of September 30, 2017, AAFK had $11.5 million in principal and interest outstanding, net of unamortized discounts of $0.3 million, on the Revenue Participation Term Note.

 

D.  Acquisition Term Notes. The Acquisition Term Notes accrue interest at the prime rate plus 10.75% (15.00% per annum as of September 30, 2017) and mature on April 1, 2018. As of September 30, 2017, Aemetis Facility Keyes, Inc. had $19.8 million in principal and interest outstanding, net of unamortized discounts of $0.5 million, on the Acquisition Term Notes.

 

E.  January 2017 Note. The January 2017 Note accrued interest at 14% and matured on May 30, 2017, at which time it started accruing interest at 20% until the outstanding balance of the January 2017 Note of $2.1 million was paid on July 10, 2017.

 

F.  April 2017 Note. The April 2017 Note accrued interest at 14% and matured on June 15, 2017, at which time it started accruing interest at 20% until the outstanding balance of the April 2017 Note of $1.5 million was paid on July 10, 2017.

 

The Company can extend the maturity date of the Term Notes, Revolving Credit Facility Notes, Revenue Participation Notes, and Acquisition Term Notes to April 2019. As a condition to any such extension, the Company would be required to pay a fee of 5% of the carrying value of the debt. By 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 Third Eye Capital Notes are secured by first priority liens on all real and personal property of, and assignment of proceeds from government grants and guarantees from Aemetis, Inc. The Third Eye Capital Notes 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 for $8.0 million.

 

Cilion shareholder seller notes payable. In connection with the Company’s merger with Cilion, Inc., on July 6, 2012, the Company issued $5.0 million in notes payable to Cilion shareholders as merger consideration, 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, 2017, Aemetis Facility Keyes, Inc. had $5.8 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 notes are generally extended with a fee of 10% added to the balance outstanding plus issuance of warrants exercisable at $0.01 with a two-year term. Interest 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.

 

Interest 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 January 1, 2017, the Subordinated Notes were amended to extend the maturity date until the earlier of (i) June 30, 2017; (ii) completion of an equity financing by AAFK or Aemetis in an amount of not less than $25.0 million; or (iii) after the occurrence of an Event of Default, including failure to pay interest or principal when due and breaches of note covenants. A 10% cash extension fee was paid by adding the fee to the balance of the new note and warrants to purchase 113 thousand shares of common stock were granted with a term of two years and an exercise price of $0.01 per share. We evaluated the January 1, 2017 amendment and the refinancing terms of the notes and applied modification accounting treatment in accordance with ASC 470-50 Debt – Modification and Extinguishment.

 

On July 1, 2017, the Subordinated Notes were amended to extend the maturity date until the earlier of (i) December 31, 2017; (ii) completion of an equity financing by AAFK or Aemetis in an amount of not less than $25.0 million; or (iii) after the occurrence of an Event of Default, including failure to pay interest or principal when due and breaches of note covenants. A 10% cash extension fee was paid by adding the fee to the balance of the new note and warrants to purchase 113 thousand shares of common stock were granted with a term of two years and an exercise price of $0.01 per share. We evaluated the July 1, 2017 amendment and the refinancing terms of the notes and applied modification accounting treatment in accordance with ASC 470-50 Debt – Modification and Extinguishment.

 

On January 14, 2013, Laird Cagan, a related party, loaned $0.1 million through a promissory note maturing on December 31, 2016 with a five percent annualized interest rate and the right to exercise 5 thousand warrants exercisable at $0.01 per share.

 

At September 30, 2017, the Company owed, in aggregate, the amount of $8.4 million in principal and interest net of $0.3 million in debt issuance costs under the Subordinated Notes.

 

EB-5 long-term 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 3%, with each note 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 EB-5 Notes are convertible after three years at a conversion price of $30 per share.

 

Advanced BioEnergy, LP arranges investments with foreign investors, who each make loans to the Keyes plant in increments of $0.5 million. As of September 30, 2017, 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, of which $34.5 million have been released from the escrow account to the Company, with $1.0 million remaining in escrow and $0.5 million to be funded to escrow. As of September 30, 2017, $34.5 million in principal and $1.3 million in accrued interest remained outstanding.

 

On October 16, 2016, the Company launched its 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..

 

Unsecured working capital loans. In November 2008, the Company entered into an operating agreement with Secunderabad Oils Limited (“Secunderabad Oils”). Under this agreement, Secunderabad Oils agreed to provide the Company with working capital, on an as needed basis, to fund the purchase of feedstock and other raw materials for its Kakinada biodiesel facility. Working capital advances bear interest at the actual bank-borrowing rate of Secunderabad Oils of fifteen percent (15%). In return, the Company agreed to pay Secunderabad Oils an amount equal to 30% of the plant’s monthly net operating profit and recognized these as operational support charges in the financials. In the event that the Company’s biodiesel facility operates at a loss, Secunderabad Oils owes the Company 30% of the losses. Either party can terminate the agreement at any time without penalty. On January 1, 2016, Secunderabad Oils suspended the agreement to use any funds provided under the agreement to buy feedstock until commodity prices returned to economically viable levels. On June 1, 2016, the agreement was reinitiated on the terms described above. On July 15, 2017, the agreement with Secunderabad Oils was amended to provide the working capital funds for British Petroleum business operations (“BP Operations”) in the form of inter-corporate deposit for an amount of approximately $2.3 million for a period of 95 days at 14.75% per annum interest rate. The Secunderabad Oils has a second priority lien on the assets of the Kakinada biodiesel facility after this agreement. During the nine months ended September 30, 2017 and 2016, the Company made principal and interest payments to Secunderabad Oils of approximately $2.3 million and $4.5 million, respectively. As of September 30, 2017, the Company had $0.7 million outstanding under the Secunderabad Oils agreement.

 

On April 16, 2017, the Company entered into a similar operating agreement with Gemini Edibles and Fats India Private Limited (“Gemini”). Under this agreement, Gemini agreed to provide the Company with working capital, on an as needed basis, to fund the purchase of feedstock and other raw materials for its Kakinada biodiesel facility. Working capital advances bear interest at the actual bank-borrowing rate of Gemini of twelve percent (12%). In return, the Company agreed to pay Gemini an amount equal to 30% of the plant’s monthly net operating profit and recognized these as operational support charges in the financials. In the event that the Company’s biodiesel facility operates at a loss, Gemini owes the Company 30% of the losses as operational support charges. Either party can terminate the agreement at any time without penalty. Additionally, Gemini received a first priority lien on the assets of the Kakinada biodiesel facility. Since the inception of this agreement, the Company made principal and interest payments to Gemini of approximately $6.2 million. As of September 30, 2017, the Company had $3.6 million outstanding on this raw material purchase agreement.

 

In October 2016, the Company made an agreement with a supplier of palm stearin to its Kakinada plant to pay 12% interest on an unpaid balance under the raw material purchase agreement of $1.9 million. As of September 30, 2017 and December 31, 2016, the Company had nil and $1.5 million outstanding on this raw material purchase agreement, respectively.

 

Variable Interest Entity (GAFI) Term loan and Revolving loan

 

On July 10, 2017, GAFI entered into a Note Purchase Agreement (“VIE Note Purchase Agreement”) with Third Eye Capital Corporation. See further discussion regarding GAFI in Note 6. Pursuant to the VIE Note Purchase Agreement, the Noteholders agreed, subject to the terms and conditions of the VIE Note Purchase Agreement and relying on each of the representations and warranties set forth therein, to make (i) a single term loan to GAFI in an aggregate amount of fifteen million dollars (“Term Loan”) and (ii) revolving advances not to exceed ten million dollars in the aggregate (“Revolving Loan”). The interest rate per annum applicable to the Term Loan is equal to ten percent (10%). The interest rate per annum applicable to the Revolving Loans is the greater of (a) the Prime Rate plus seven and three quarters percent (7.75%) and (b) twelve percent (12%). The maturity date of the Loans (“Maturity Date”) is July 10, 2019, provided that the Maturity Date may be extended at the option of GAFI for up to two additional one-year periods upon prior written notice and upon satisfaction of certain conditions and the payment of a renewal fee for such extension. An initial advance under the Revolving Loan was made for $2.2 million as a prepayment of interest on the Term Loan for the first eighteen months of interest payments. In addition, a fee of $1.0 million was paid in consideration to Noteholders.

 

GAFI, the Company and its subsidiary Aemetis Advanced Products Keyes, Inc. (“AAPK”) also entered into separate Intercompany Revolving Promissory Notes, dated July 10, 2017 (“Intercompany Revolving Notes”), pursuant to which GAFI may, from time to time, lend a portion of the proceeds of the Revolving Loan borrowed under the VIE Note Purchase Agreement.

 

In consideration for the direct and indirect benefits from the transactions contemplated by the VIE Note Purchase Agreement and the Intercompany Revolving Notes, Aemetis, Inc. and AAPK “Guarantors” agreed to enter into a Limited Guaranty. Pursuant to the Limited Guaranty, the Guarantors guarantee the prompt payment and performance of all unpaid principal and interest on the Loans and all other obligations and liabilities of GAFI to any Noteholders in connection with the VIE Note Purchase Agreement. The obligations of the Guarantors pursuant to the Limited Guaranty are secured by a first priority lien over all assets of the Guarantors subject to lien existing in connection with the Existing Note Purchase Agreement of Guarantors. Each Guarantor agreed to make the following regulatory and financial covenants: i) maintenance of existence and compliance, ii) payment of obligations; iii) reporting requirements on financials of Guarantors annually, quarterly; iv) delivery of cellulosic ethanol project progress reports within 15 days of the month end, v) ensuring the ratio of: (a) the sum of (i) the most recent Mortgaged Property Market Value, and (ii) the most recent AAPK’s cellulosic ethanol project value to (b) the Note Indebtedness, to be less than 2.00:1.00, tested as of the last day of each fiscal quarter, and (iv) permit the amount of trade payables due to exceed the sum of the amount of the GAFI’s Cash Equivalents plus the revolving advances available to be advanced under the Revolving Loan, tested as of the last day of each month.

 

As of September 30, 2017, GAFI obligations are as follows:

 

    As of  
    September 30, 2017  
Term loan   $ 15,000  
Revolving loan     9,248  
Total debt   $ 24,248  
Less: Debt issuance costs     (875 )
Total debt   $ 23,373  
         

 

Scheduled debt repayments for loan obligations follow:

 

Twelve months ended September 30,   Debt Repayments  
2018   $ 14,559  
2019     119,381  
2020     5,000  
2021     12,536  
Total debt     151,476  
Discounts     (2,643 )
Total debt, net of discounts   $ 148,833