DEBT
12 Months Ended
Jun. 30, 2019
Debt Disclosure [Abstract]  
DEBT DEBT
On January 17, 2018, the Company, Ubiquiti International Holding Company Limited (the "Cayman Borrower") and certain subsidiaries entered into an amended and restated credit agreement (the "Second Amended & Restated Credit Agreement") with Wells Fargo, other financial institutions named as lenders therein, and Wells Fargo as administrative agent for the lenders, that provides for a $400 million senior secured revolving credit facility (the "Revolving Facility") and a $500 million senior secured term loan facility (the "Term Facility", together with the Revolving Facility, the "Facilities"), with an option to request increases in the amounts of such credit facilities by up to an additional $300 million in the aggregate (any such increase to be in each lender's sole discretion). The maturity date of the Facilities is January 17, 2023.
The Term Facility was fully drawn at the closing of the Second Amended & Restated Credit Agreement, of which $354.5 million and $68.9 million was used to repay the prior revolver facility and term facility, respectively, under the Amended Credit Agreement. The Company incurred $4.6 million of debt issuance costs which are capitalized and amortized as interest expense over the life of the facilities.
On March 15, 2019, the Company, the Cayman Borrower and certain subsidiaries entered into the Second Amendment to the Second Amended & Restated Credit Agreement (the "Second Amendment"). The Second Amendment modified certain definitions and certain covenants relating to indebtedness and investments.
Our Debt consisted of the following (in thousands):
June 30,
2019 2018 
Term Loan - short term$31,250 $25,000 
Debt issuance costs, net(575)(575)
Total Debt - short term30,675 24,425 
Term Loan - long term431,250 462,500 
Revolver - long term35,000 — 
Debt issuance costs, net(1,550)(2,148)
Total Debt - long term$464,700 $460,352 
The Revolving Facility includes a sub-limit of $10.0 million for letters of credit and a sub-limit of $25.0 million for swingline loans. The Facilities are available for working capital and general corporate purposes that comply with the terms of the Second Amended & Restated Credit Agreement, including to finance the repurchase of the Company's common stock or to pay dividends to the holders of the Company's common stock. Under the Second Amended & Restated Credit Agreement, revolving loans and swingline loans may be borrowed, repaid and reborrowed until January 17, 2023, at which time all amounts borrowed must be repaid. The term loan is payable in quarterly installments of 1.25% of the original principal amount of the term loan until December 31, 2019, thereafter increasing to 1.875% until December 31, 2020, and thereafter increasing to 2.50% of the original principal amount of the term loan. Revolving, swingline and term loans may be prepaid at any time without penalty.
Revolving and term loans bear interest, at the Company’s option, at either (i) a floating rate per annum equal to the base rate plus a margin of between 0.50% and 1.25%, depending on the Company’s consolidated total leverage ratio as of the most recently ended fiscal quarter or (ii) a floating per annum rate equal to the applicable LIBOR rate (or replacement rate) for a specified period, plus a margin of between 1.50% and 2.25%, depending on the Company’s consolidated total leverage ratio as of the most recently ended fiscal quarter. Swingline loans bear interest at a floating rate per annum equal to the base rate plus a margin of between 0.50% and 1.25%, depending on the Company’s consolidated total leverage ratio as of the most recently ended fiscal quarter. Base rate is defined as the greatest of (A) Wells Fargo's prime rate, (B) the federal funds rate plus 0.50% or (C) the applicable LIBOR rate (or replacement rate) for a period of one month plus 1.00%. A default interest rate shall apply on all obligations during certain events of default under the Second Amended & Restated Credit Agreement at a rate per annum equal to 2.00% above the applicable interest rate. The Company will pay to each lender a facility fee on a quarterly basis based on the unused amount of each lender's commitment to make revolving loans, of between 0.20% and 0.35%, depending on the Company's consolidated total leverage ratio
as of the most recently ended fiscal quarter. The Company will also pay to the applicable lenders on a quarterly basis certain fees based on the daily amount available to be drawn under each outstanding letter of credit, including aggregate letter of credit commissions of between 1.50% and 2.25%, depending on the Company's consolidated total leverage ratio as of the most recently ended fiscal quarter, and issuance fees of 0.125% per annum. The Company is also obligated to pay Wells Fargo, as agent, fees customary for a credit facility of this size and type.
The Second Amended & Restated Credit Agreement requires the Company to maintain during the term of the Facilities (i) a maximum consolidated total leverage ratio of 3.25 to 1.00 and (ii) minimum liquidity of $250.0 million, which can be satisfied with unrestricted cash and cash equivalents and up to $50.0 million of availability under the Revolving Facility. In addition, the Second Amended & Restated Credit Agreement contains customary affirmative and negative covenants, including covenants that limit or restrict the ability of the Company and its subsidiaries to, among other things, grant liens or enter into agreements restricting their ability to grant liens on property, enter into mergers, dispose of assets, change their accounting or reporting policies, change their business and incur indebtedness, in each case subject to customary exceptions for a credit facility of this size and type. The Second Amended & Restated Credit Agreement includes customary events of default that include, among other things, non-payment of principal, interest or fees, inaccuracy of representations and warranties, violation of covenants, cross default to certain other indebtedness, bankruptcy and insolvency events, material judgments, change of control and certain ERISA events. The occurrence of an event of default could result in the acceleration of the obligations under the Second Amended & Restated Credit Agreement. The obligations of Ubiquiti Inc. and certain domestic subsidiaries, if any, under the Second Amended & Restated Credit Agreement are required to be guaranteed by such domestic subsidiaries (the "Domestic Guarantors") and are collateralized by substantially all assets (excluding intellectual property) of Ubiquiti Inc. and the Domestic Guarantors. The obligations of the Cayman Borrower and certain foreign subsidiaries under the Second Amended & Restated Credit Agreement are required to be guaranteed by certain domestic and material foreign subsidiaries (the "Guarantors") and are collateralized by substantially all assets (excluding intellectual property) of Ubiquiti Inc. and the Guarantors.
Second Amended & Restated Credit Agreement
During the fourth quarter of fiscal 2019, the Company drew $35.0 million against the Revolving Facility. As of June 30, 2019, $462.5 million was outstanding on the Term Facility and $35.0 million on the Revolving Facility, leaving $365.0 million available on the Revolving Facility.
Under the Second Amended & Restated Credit Agreement, during the fiscal 2019, the Company made aggregate payments of $48.2 million against the balance under the Term Facility, of which $25.0 million was repayment of principal and $23.2 million was payment of interest. During fiscal 2019, the Company made no aggregate payments against the Revolving Facility, however, made $0.1 million payment of interest.
As of June 30, 2019, the interest rate on both the Facilities was 4.15%. As of July 31, 2019, the most currently available reset date, the Facilities have an interest rate of 3.98%.
Fiscal Year2020 2021 2022 2023 2024 ThereafterTotal
Debt payment obligations$31,250 $43,750 $50,000 $372,500 $— $— $497,500 
Interest and other payments on debt payment obligations (1)21,503 19,932 17,927 8,964 — — 68,326 
Total$52,753 $63,682 $67,927 $381,464 $— $— $565,826 
(1) - Interest payments are calculated based on the applicable rates and payment dates as of June 30, 2019.