Convertible and Long-term Debt Obligations | Note 13 - Convertible and Long-term Debt Obligations The following is a summary of our debt as of December 31, 2016 (in thousands): Unpaid Unused Principal Net Carrying Value Committed Balance Current Long-Term Amount Interest Maturity Dates Recourse debt: 1.5% Convertible Senior Notes due in 2018 $ 205,013 $ 196,229 — — 1.5 % June 2018 0.25% Convertible Senior Notes due in 2019 920,000 — 827,620 — 0.25 % March 2019 1.25% Convertible Senior Notes due in 2021 1,380,000 — 1,132,029 — 1.25 % March 2021 Credit Agreement 969,000 — 969,000 181,000 1% plus LIBOR June 2020 Secured Revolving Credit Facility 364,000 366,247 — 24,305 4.0%-6.0% January 2017 - December 2017 Vehicle and Other Loans 23,771 17,235 6,536 — 2.9%-7.6% March 2017 - June 2019 2.75% Convertible Senior Notes due in 2018 230,000 — 212,223 — 2.8% November 2018 1.625% Convertible Senior Notes due in 2019 566,000 — 483,820 — 1.6% November 2019 Zero-coupon Convertible Senior Notes due in 2020 113,000 — 89,418 — 0.0% December 2020 Solar Bonds 332,060 181,582 148,948 * 1.1%-6.5% January 2017 - January 2031 Total recourse debt 5,102,844 761,293 3,869,594 205,305 Non-recourse debt: Warehouse Agreement 390,000 73,708 316,292 210,000 Various September 2018 Canada Credit Facility 67,342 18,489 48,853 — 3.6%- 4.5% December 2020 Term Loan due in December 2017 75,467 75,715 — 52,173 4.2% December 2017 Term Loan due in January 2021 183,388 5,860 176,169 — 4.5% January 2021 MyPower Revolving Credit Facility 133,762 133,827 — 56,238 4.1%-6.6% January 2017 Revolving Aggregation Credit Facility 424,757 — 427,944 335,243 4.0%-4.8% December 2018 Solar Renewable Energy Credit Term Loan 38,124 12,491 26,262 — 6.6%-9.9% April 2017 - July 2021 Cash Equity Debt I 119,753 3,272 115,464 — 5.7% July 2033 Cash Equity Debt II 206,901 5,376 189,424 — 5.3% July 2034 Cash Equity Debt III 170,000 4,994 161,853 5.8% January 2035 Solar Asset-backed Notes, Series 2013-1 41,899 3,329 38,346 — 4.8% November 2038 Solar Asset-backed Notes, Series 2014-1 60,768 3,016 57,417 — 4.6% April 2044 Solar Asset-backed Notes, Series 2014-2 186,851 7,055 173,625 — 4.0%-Class A 5.4%-Class B July 2044 Solar Asset-backed Notes, Series 2015-1 119,199 1,511 110,238 — 4.2%-Class A 5.6%-Class B August 2045 Solar Asset-backed Notes, Series 2016-1 50,119 1,202 47,025 — 5.3%-Class A 7.5%-Class B September 2046 Solar Loan-backed Notes, Series 2016-A 140,586 3,514 133,510 — 4.8%-Class A 6.9%-Class B September 2048 Total non-recourse debt 2,408,916 353,359 2,022,422 653,654 Total debt $ 7,511,760 $ 1,114,652 $ 5,892,016 $ 858,959 * Out of the $350.0 million authorized to be issued, $17.9 million remained available to be issued. See below and Note 21, Related Party Transactions Recourse debt refers to debt that is recourse to our general assets. Non-recourse debt refers to debt that is recourse to only specified assets or our subsidiaries. The differences between the unpaid principal balances and the net carrying values are due to debt discounts and deferred financing costs. As of December 31, 2016, we were in compliance with all financial debt covenants. Our debt is described further below. Recourse Debt Facilities: Tesla Debt Facilities: 0.25% and 1.25% Convertible Senior Notes due in 2019 and 2021 and Bond Hedge and Warrant Transactions In March 2014, we issued $800.0 million principal amount of 0.25% convertible senior notes due in 2019 (2019 Notes) and $1.20 billion principal amount of 1.25% convertible senior notes due in 2021 (2021 Notes) in a public offering. In April 2014, we issued an additional $120.0 million aggregate principal amount of 2019 Notes and $180.0 million aggregate principal amount of 2021 Notes, pursuant to the exercise in full of the overallotment options of the underwriters of our March 2014 public offering. The total net proceeds from these offerings, after deducting transaction costs, were approximately $905.8 million from 2019 Notes and $1.36 billion from 2021 Notes. We incurred $14.2 million and $21.4 million of debt issuance costs in connection with the 2019 Notes and the 2021 Notes, and are amortizing to interest expense using the effective interest method over the contractual terms of these notes. In April 2015, the FASB issued new authoritative accounting guidance on simplifying the presentation of debt issuance costs, which we retrospectively adopted as of March 31, 2016 and reclassified debt issuance costs in connection with the notes to related debt liability. The interest rates are fixed at 0.25% and 1.25% per annum and are payable semi-annually in arrears on March 1 and September 1 of each year, commencing on September 1, 2014. Each $1,000 of principal of these notes is initially convertible into 2.7788 shares of our common stock, which is equivalent to an initial conversion price of approximately $359.87 per share, subject to adjustment upon the occurrence of specified events. Holders of these notes may convert their notes at their option on or after December 1, 2018 for the 2019 Notes and on or after December 1, 2020 for the 2021 Notes. Further, holders of these notes may convert their notes at their option prior to the respective dates above, only under the following circumstances: (1) during any fiscal quarter beginning after the fiscal quarter ending June 30, 2014, if the last reported sale price of our common stock for at least 20 trading days (whether or not consecutive) during the last 30 consecutive trading days of immediately preceding fiscal quarter is greater than or equal to 130% of the conversion price of the applicable notes on each applicable trading day; (2) during the five business day period following any five consecutive trading day period in which the trading price for the applicable notes is less than 98% of the average of the closing sale price of our common stock for each day during such five trading day period; or (3) if we make specified distributions to holders of our common stock or if specified corporate transactions occur. Upon conversion of the 2019 Notes, we would pay or deliver as applicable, cash, shares of our common stock or a combination of cash and shares of our common stock, at our election. Upon conversion of the 2021 Notes, we would pay the holders in cash for the principal amount and, if applicable, shares of our common stock (subject to our right to deliver cash in lieu of all or a portion of such shares of our common stock) based on a daily conversion value. If a fundamental change occurs prior to the maturity date, holders of these notes may require us to repurchase all or a portion of their notes for cash at a repurchase price equal to 100% of the principal amount of the notes, plus any accrued and unpaid interest. In addition, if specific corporate events occur prior to the applicable maturity date, we will increase the conversion rate for a holder who elects to convert their notes in connection with such a corporate event in certain circumstances. During the fourth quarter of 2016, the closing price of our common stock did not meet or exceed 130% of the applicable conversion price of our 2019 Notes and 2021 Notes on at least 20 of the last 30 consecutive trading days of the quarter; furthermore, no other conditions allowing holders of these notes to convert have been met as of December 31, 2016. Therefore, the 2019 Notes and 2021 Notes are not convertible during the first quarter of 2017 and are classified as long-term debt. Should the closing price conditions be met in the first quarter of 2016 or a future quarter, the 2019 and/or the 2021 Notes will be convertible at their holders’ option during the immediately following quarter. As of December 31, 2016, the if-converted value of the 2019 Notes and 2021 Notes did not exceed the principal value of those notes. As of December 31, 2015, the carrying value and the outstanding principal of our 2019 Notes are $788.0 million and $920.0 million, respectively. As of December 31, 2015, the carrying value and the outstanding principal of our 2021 Notes are $1.08 billion and $1.38 billion, respectively. In accordance with accounting guidance on embedded conversion features, we valued and bifurcated the conversion option associated with the notes from the respective host debt instrument and initially recorded the conversion option of $188.1 million for the 2019 Notes and $369.4 million for the 2021 Notes in stockholders’ equity. The resulting debt discounts on the 2019 Notes and 2021 Notes are being amortized to interest expense at an effective interest rate of 4.89% and 5.96%, respectively, over the contractual terms of the notes. In connection with the offering of these notes in March 2014, we entered into convertible note hedge transactions whereby we have the option to purchase initially (subject to adjustment for certain specified events) a total of approximately 5.6 million shares of our common stock at a price of approximately $359.87 per share. The total cost of the convertible note hedge transactions was $524.7 million. In addition, we sold warrants whereby the holders of the warrants have the option to purchase initially (subject to adjustment for certain specified events) a total of approximately 2.2 million shares of our common stock at a price of $512.66 for the 2019 Notes and a total of approximately 3.3 million shares of our common stock at a price of $560.64 per share for 2021 Notes. We received $338.4 million in cash proceeds from the sale of these warrants. Similarly, in connection with the issuance of additional notes in April 2014, we entered into convertible note hedge transactions and paid an aggregate $78.7 million. In addition, we sold warrants to purchase (subject to adjustment for certain specified events) a total of approximately 0.3 million shares of our common stock at a price of $512.66 per share for the warrants relating to 2019 Notes, and a total of approximately 0.5 million shares of our common stock at a strike price of $560.64 per share for the warrants relating to 2021 Notes. We received aggregate proceeds of approximately $50.8 million from the sale of the warrants. Taken together, the purchase of the convertible note hedges and the sale of warrants are intended to reduce potential dilution and/or offset potential cash payments upon the conversion of these notes and to effectively increase the overall conversion price from $359.87 to $512.66 per share in the case of warrants relating to 2019 Notes and from $359.87 to $560.64 in the case of warrants relating to 2021 Notes. As these transactions meet certain accounting criteria, the convertible note hedges and warrants are recorded in stockholders’ equity and are not accounted for as derivatives. The net cost incurred in connection with the convertible note hedge and warrant transactions was recorded as a reduction to additional paid-in capital on the Consolidated Balance Sheet as of December 31, 2016. 1.50% Convertible Senior Notes due in 2018 and Bond Hedge and Warrant Transactions In May 2013, we issued $660.0 million aggregate principal amount of 2018 Notes in a public offering. The net proceeds from the offering, after deducting transaction costs, were approximately $648.0 million. We incurred $12.0 million of debt issuance costs in connection with the issuance of the 2018 Notes and are amortizing to interest expense using the effective interest method over the contractual term of the 2018 Notes. The interest under the 2018 Notes is fixed at 1.50% per annum and is payable semi-annually in arrears on June 1 and December 1 of each year, commencing on December 1, 2013. Each $1,000 of principal of the 2018 Notes is initially convertible into 8.0306 shares of our common stock, which is equivalent to an initial conversion price of approximately $124.52 per share, subject to adjustment upon the occurrence of specified events. Holders of the 2018 Notes may convert their 2018 Notes at their option on or after March 1, 2018. Further, holders of the 2018 Notes may convert their 2018 Notes at their option prior to March 1, 2018, only under the following circumstances: (1) during any fiscal quarter beginning after the fiscal quarter ending September 30, 2013, if the last reported sale price of our common stock for at least 20 trading days (whether or not consecutive) during the last 30 consecutive trading days of the immediately preceding fiscal quarter is greater than or equal to 130% of the conversion price on each applicable trading day; (2) during the five business day period following any five consecutive trading day period in which the trading price for the 2018 Notes is less than 98% of the average of the closing sale price of our common stock for each day during such five trading day period; or (3) if we make specified distributions to holders of our common stock or if specified corporate transactions occur. Upon conversion, we would pay the holders in cash for the principal amount of the 2018 Notes and, if applicable, shares of our common stock (subject to our right to deliver cash in lieu of all or a portion of such shares of our common stock) based on a calculated daily conversion value. If a fundamental change occurs prior to the maturity date, holders of the 2018 Notes may require us to repurchase all or a portion of their 2018 Notes for cash at a repurchase price equal to 100% of the principal amount of the 2018 Notes, plus any accrued and unpaid interest. In addition, if specific corporate events occur prior to the maturity date, we will increase the conversion rate for a holder who elects to convert its 2018 Notes in connection with such a corporate event in certain circumstances. As of December 31, 2015, the carrying value and the outstanding principal of our 2018 Notes are $612.5 million and $659.8 million, respectively. In accordance with accounting guidance on embedded conversion features, we valued and bifurcated the conversion option associated with the 2018 Notes from the host debt instrument and recorded the conversion option of $82.8 million in stockholders’ equity. The resulting debt discount on the 2018 Notes is being amortized to interest expense at an effective interest rate of 4.29% over the contractual term of the 2018 Notes. In connection with the offering of the 2018 Notes, we entered into convertible note hedge transactions whereby we had the option to purchase initially (subject to certain specified events) a total of approximately 5.3 million shares of our common stock at a price of approximately $124.52 per share. The cost of the convertible note hedge transactions was $177.5 million. In addition, we sold warrants whereby the holders of the warrants have the option to purchase initially (subject to certain specified events) a total of approximately 5.3 million shares of our common stock at a price of $184.48 per share. We received $120.3 million in cash proceeds from the sale of these warrants. Taken together, the purchase of the convertible note hedges and the sale of warrants are intended to offset any actual dilution from the conversion of the 2018 Notes and to effectively increase the overall conversion price from $124.52 to $184.48 per share. As these transactions meet certain accounting criteria, the convertible note hedges and warrants are recorded in stockholders’ equity and are not accounted for as derivatives. The net cost incurred in connection with the convertible note hedge and warrant transactions was recorded as a reduction to additional paid-in capital on the Consolidated Balance Sheet as of December 31, 2016. During the fourth quarter of fiscal 2016 During fiscal 2016, we repaid $454.7 million in aggregate principal amount of our 2018 Notes pursuant to conversions by their holders. As of December 31, 2016, we had remaining outstanding $205.0 million in aggregate principal amount of the 2018 Notes. As of December 31, 2016, there were also outstanding a corresponding amount of convertible note hedge transactions, as well as warrants to issue up to 2.2 million shares at $184.48 per share as of December 31, 2016, in each case issued in connection with the offering of the 2018 Notes. Asset-Based Credit Agreement In June 2015, we entered into a senior secured asset-based revolving credit agreement (the “Credit Agreement”) with a syndicate of banks. The Credit Agreement provides for a senior secured asset-based revolving credit facility (the “Credit Facility”), which we may draw upon as needed. In October 2015, lenders increased their total funding commitments to us under the Credit Facility by up to an additional $250.0 million, subject to certain conditions, for total commitments up to $750 million. In addition, the Credit Agreement provides for a $200.0 million letter of credit sub-facility and a $40.0 million swing-line loan sub-facility. The Credit Agreement is collateralized by a pledge of certain of our accounts receivable, inventory, and equipment, and availability under the Credit Agreement is based on the value of such assets, as reduced by certain reserves. During fiscal 2016, we amended the Credit Agreement and increased the availability and the commitments under the Credit Agreement from $750.0 million to $1.2 billion. Borrowed funds bear interest, at our option, at an annual rate of (a) 1% plus LIBOR or (b) the highest of (i) the federal funds rate plus 0.50%, (ii) the lenders “prime rate” or (iii) 1% plus LIBOR. The fee for undrawn amounts is 0.25% per annum. Interest is payable quarterly. The Credit Agreement terminates, and all outstanding loans become due and payable, in June 2020. As of December 31, 2016, we had $ million borrowings under the Credit Facility and zero borrowings under the swing-line loan sub-facility. As of December 31, 2015, we had $135.0 million in borrowings under the Credit Facility. We are required to meet various covenants, including meeting certain reporting requirements, such as the completion and presentation of audited Consolidated Financial Statements for our borrowings. As of December 31, 2016 we were in compliance with all covenants contained in the Credit Agreement. Assumed Debt from our SolarCity Acquisition: Secured Revolving Credit Facility SolarCity has entered into a revolving credit agreement with a syndicate of banks to fund working capital, letters of credit and general corporate needs. Borrowed funds bear interest, at our option, at an annual rate of (a) 3.25% plus LIBOR or (b) 2.25% plus the highest of (i) the federal funds rate plus 0.50%, (ii) Bank of America’s published “prime rate” or (iii) LIBOR plus 1.00%. The fee for undrawn commitments is 0.375% per annum. The secured revolving credit facility is secured by certain of SolarCity’s accounts receivable, inventory, machinery, equipment and other assets. Vehicle and Other Loans SolarCity has entered into various vehicle and other loan agreements with various financial institutions. The vehicle loans are secured by the vehicles financed. 2.75% Convertible Senior Notes Due In 2018 In October 2013, SolarCity issued $230.0 million in aggregate principal of 2.75% convertible senior notes due on November 1, 2018 through a public offering. Each $1,000 of principal of the convertible senior notes is now convertible into 1.7838 shares of our common stock, which is equivalent to a conversion price of $560.64 per share, subject to adjustment upon the occurrence of specified events related to dividends, tender offers or exchange offers. Holders of the convertible senior notes may convert their convertible senior notes at their option at any time up to and including the second scheduled trading day prior to maturity. If certain events that would constitute a make-whole fundamental change, such as significant changes in ownership, corporate structure or tradability of our common stock, occur prior to the maturity date, we would increase the conversion rate for a holder who elects to convert its convertible senior notes in connection with such an event in certain circumstances. The maximum conversion rate is capped at 2.3635 shares for each $1,000 of principal of the convertible senior notes, which is equivalent to a minimum conversion price of $423.10 per share. The convertible senior notes do not have a cash conversion option. The convertible senior note holders may require us to repurchase their convertible senior notes for cash only under certain defined fundamental changes. 1.625% Convertible Senior Notes Due in 2019 In September 2014, SolarCity issued $500.0 million and in October 2014, SolarCity issued an additional $66.0 million in aggregate principal of 1.625% convertible senior notes due on November 1, 2019 through a private placement Each $1,000 of principal of the convertible senior notes is now convertible into 1.3169 shares of our common stock, which is equivalent to a conversion price of $759.36 per share, subject to the same adjustment mechanism as discussed above. The maximum conversion rate is capped at 1.7449 shares for each $1,000 of principal of the convertible senior notes, which is equivalent to a minimum conversion price of $573.10 per share. The convertible senior notes do not have a cash conversion option. The convertible senior note holders may require us to repurchase their convertible senior notes for cash only under certain defined fundamental changes. In connection with the issuance of the convertible senior notes in September 2014 and in October 2014, SolarCity entered into capped call option agreements to reduce the potential equity dilution upon conversion of the convertible senior notes. Specifically, upon the exercise of the capped call options, we would now receive shares of our common stock equal to 745,377 shares multiplied by (a) (i) the lower of $1,146.18 or the then market price of our common stock less (ii) $759.36 and divided by (b) the then market price of our common stock. The results of this formula are that we would receive more shares as the market price of our common stock exceeds $759.36 and approaches $1,146.18, but we would receive fewer shares as the market price of our common stock exceeds $1,146.18. Consequently, if the convertible senior notes are converted, then the number of shares to be issued by us would be effectively partially offset by the shares received by us under the capped call options as they are exercised. We can also elect to receive the equivalent value of cash in lieu of shares. The capped call options expire on various dates ranging from September 4, 2019 to October 29, 2019, and the formula above would be adjusted in the event of a merger; a tender offer; nationalization; insolvency; delisting of our common stock; changes in law; failure to deliver; insolvency filing; stock splits, combinations, dividends, repurchases or similar events; or an announcement of certain of the preceding actions. Although intended to reduce the net number of shares issued after a conversion of the convertible senior notes, the capped call options were separately negotiated transactions, are not a part of the terms of the convertible senior notes, do not affect the rights of the convertible senior note holders and will take effect regardless of whether the convertible senior notes are actually converted. The capped call options meet the criteria for equity classification because they are indexed to our common stock and we always control whether settlement will be in shares or cash. Zero-Coupon Convertible Senior Notes Due in 2020 In December 2015, SolarCity issued $113.0 million in aggregate principal of zero-coupon convertible senior notes due on December 1, 2020 through a private placement. $13.0 million of the convertible senior notes were issued to related parties and are separately presented on the Consolidated Balance Sheets (see Note 21, Related Party Transactions Each $1,000 of principal of the convertible senior notes is now convertible into 3.3333 shares of our common stock, which is equivalent to a conversion price of $300.00 per share, subject to the same adjustment mechanism as discussed above. The maximum conversion rate is capped at 4.2308 shares for each $1,000 of principal of the convertible senior notes, which is equivalent to a minimum conversion price of $236.36 per share. The convertible senior notes do not have a cash conversion option. The convertible senior note holders may require us to repurchase their convertible senior notes for cash only under certain defined fundamental changes. On or after June 30, 2017, the convertible senior notes will be redeemable by us in the event that the closing price of our common stock exceeds 200% of the conversion price for 45 consecutive trading days ending within three trading days of such redemption notice at a redemption price of par plus accrued and unpaid interest to, but excluding, the redemption date Solar Bonds In October 2014, SolarCity commenced issuing Solar Bonds, which are senior unsecured obligations of SolarCity that are structurally subordinate to the indebtedness and other liabilities of SolarCity’s subsidiaries. Solar Bonds have been issued under multiple series that have various fixed terms and interest rates. In September 2015, SolarCity commenced issuing Solar Bonds with variable interest rates that reset quarterly and that can be redeemed quarterly at the option of the bondholder or us, with 30-day advance notice. In March 2016, Space Exploration Technologies Corporation, or SpaceX, purchased $90.0 million in aggregate principal amount of 4.40% Solar Bonds due in March 2017. In June 2016, SpaceX purchased an additional $75.0 million in aggregate principal amount of 4.40% Solar Bonds due in June 2017. In August 2016, our Chief Executive Officer, SolarCity’s Chief Executive Officer and SolarCity’s Chief Technology Officer purchased $100.0 million in aggregate principal amount of 6.50% Solar Bonds due in February 2018 SpaceX, our Chief Executive Officer, SolarCity’s Chief Executive Officer and SolarCity’s Chief Technology Officer were considered related parties; SolarCity has also issued Solar Bonds to other related parties; and such Solar Bonds are separately presented on the Consolidated Balance Sheets (see Note 21, Related Party Transactions Non-Recourse Debt Facilities Canada Credit Agreement In December 2016, we entered into a Credit Agreement with Royal Bank of Canada (the “Canada Credit Agreement”). Under the Credit Agreement, we borrowed $67.3 million which is secured by an interest in certain vehicle leases. Amount drawn under the Canada Credit agreement has a rate range of 3.6% to 4.5% and are subject to various customary events of default, covenants and limitations, including an advance rate limit and a required reserve account. The term of the loan is reflective of the term of the underlying vehicle leases, up to 48 months. Warehouse Agreement In August 2016, we entered into a Loan and Security Agreement (the “Warehouse Agreement”) with Deutsche Bank as administrative agent and a committed lender. Under the Warehouse Agreement, which supports the Tesla Finance direct vehicle leasing program, and is secured by an interest in certain leases and vehicles under such program, we were initially entitled to borrow up to $300.0 million in total principal amount. In December 2016, we amended the Warehouse Agreement and increased the total facility limit to $600.0 million. 390.0 Amounts drawn under the Warehouse Agreement generally bear interest at a rate based on LIBOR plus a fixed margin. We are subject to various customary events of default and financial, lease portfolio performance and other covenants and limitations, including an advance rate limit, a required reserve account, and various performance triggers and excess concentration limits. Pursuant to the Warehouse Agreement, an undivided beneficial interest in the future cash flows arising from certain leases and the related leased vehicles has been sold for legal purposes but continues to be reported in our consolidated financial statements. The interest in the future cash flows arising from these leases and the related vehicles is not available to pay the claims of our creditors other than pursuant to obligations to the lenders under the Warehouse Agreement. We retain the right to receive the excess cash flows not needed to pay obligations under the Warehouse Agreement. Assumed Debt from our SolarCity Acquisition : Term Loan Due in December 2017 On March 31, 2016, a subsidiary of SolarCity entered into an agreement for a term loan of $50.0 million. The term loan bears interest at an annual rate of the lender’s cost of funds plus 3.25%. The fee for undrawn commitments is 0.85% per annum. The term loan is secured by substantially all of the assets and cash flows of the subsidiary and is non-recourse to our other assets or cash flows. Term Loan Due in January 2021 In January 2016, a subsidiary of SolarCity entered into an agreement with a syndicate of banks for a term loan of $160.0 million. The term loan bears interest at an annual rate of three-month LIBOR plus 3.50%. The term loan is secured by substantially all of the assets of the subsidiary, including its interests in certain financing funds, and is non-recourse to our other assets. MyPower Revolving Credit Facility On January 9, 2015, a subsidiary of SolarCity entered into a $200.0 million revolving credit agreement with a syndicate of banks to obtain funding for the MyPower customer loan program. The MyPower revolving credit facility initially provided up to $160.0 million of Class A notes and up to $40.0 million of Class B notes. The Class A notes bear interest at an annual rate of (i) for the first $160.0 million, 2.50% and (ii) for the remaining $40.0 million, 3.00%; in each case, plus (a) the commercial paper rate or (b) 1.50% plus adjusted LIBOR. The Class B notes bear interest at an annual rate of 5.00% plus LIBOR. The fee for undrawn commitments under the Class A notes is 0.50% per annum for the first $160.0 million of undrawn commitments and 0.75% per annum for the remaining $40.0 million of undrawn commitments, if any. The fee for undrawn commitments under the Class B notes is 0.50% per annum. The MyPower revolving credit facility is secured by the payments owed to SolarCity or its subsidiaries under MyPower customer loans and is non-recourse to our other assets. On January 27 2017, the MyPower revolving credit facility matured, and the total outstanding principal amount was fully repaid. Revolving Aggregation Credit Facility On May 4, 2015, a subsidiary of SolarCity entered into an agreement with a syndicate of banks for a revolving aggregation credit facility with a total committed amount of $500.0 million. On March 23, 2016, the agreement was amended to modify the interest rates, extend the availability period and extend the maturity date. The revolving aggregation credit facility bears interest at an annual rate of 3.25% plus (i) for commercial paper loans, the commercial paper rate and (ii) for LIBOR loans, at our option, three-month LIBOR or daily LIBOR. The revolving aggregation credit facility is secured by certain assets and cash flows of certain subsidiaries of SolarCity and is non-recourse to our other assets or cash flows. Solar Renewable Energy Credit Term Loan On March 31, 2016, a subsidiary of SolarCity entered into an agreement for a term loan of $15.0 million. The term loan bears interest at an annual rate of one-month LIBOR plus 9.00% or, at our option, 8.00% plus the highest of (i) the Federal Funds Rate plus 0.50%, (ii) the prime rate or (iii) one-month LIBOR plus 1.00%. The term loan is secured by substantially all of the assets of the subsidiary, including its rights under forward contracts to sell solar renewable energy credits, and is non-recourse to our other assets. On July 14, 2016, the same subsidiary entered into an agreement for another term loan with a total committed amount of $36.4 million. The term loan bears interest at an annual rate of one-month LIBOR plus 5.75% or, at our option, 4.75% plus the highest of (i) the Federal Funds Rate plus 0.50%, (ii) the prime rate or (iii) one-month LIBOR plus 1.00%. The term loan is secured by substantially all of the assets of the subsidiary, including its rights under forward contracts to sell solar renewable energy credits, and is non-recourse to our other assets. From the acquisition date through December 31, 2016, SolarCity repaid $1.3 million of the principal outstanding under the term loans. Cash Equity Debt I In connection with the cash equity financing on May 2, 2016, SolarCity issued $121.7 million in aggregate principal of debt that bears interest at a fixed rate of 5.65% per annum. This debt is secured by, among other things, the interests in certain fi |