Related Party Transactions | (15) Related Party Transactions Related Party Agreements CVR Partners is party to, or otherwise subject to certain agreements with CVR Energy and its subsidiaries, including CVR Refining and its subsidiary Coffeyville Resources Refining & Marketing, LLC ("CRRM"), that govern the business relationships among each party. The agreements are described as in effect at December 31, 2016 . Amounts owed to CVR Partners and its subsidiaries from CVR Energy and its subsidiaries with respect to these agreements are included in prepaid expenses and other currents assets and other long-term assets, on the Consolidated Balance Sheets. Conversely, amounts owed to CVR Energy and its subsidiaries by CVR Partners and its subsidiaries with respect to these agreements are included in accounts payable, personnel accruals, and accrued expenses and other current liabilities on the Partnership's Consolidated Balance Sheets. Feedstock and Shared Services Agreement CRNF is party to a feedstock and shared services agreement with CRRM, under which the two parties provide feedstocks and other services to one another. These feedstocks and services are utilized in the respective production processes of CRRM's Coffeyville, Kansas refinery and CRNF's Coffeyville Facility. Pursuant to the feedstock agreement, CRNF and CRRM have agreed to transfer hydrogen to one another; provided CRNF is not required to sell hydrogen to CRRM if such hydrogen is required for operation of CRNF's nitrogen fertilizer plant, if such sale would adversely affect the Partnership's classification as a partnership for federal income tax purposes, or if such sale would not be in CRNF's best interest. Net monthly sales of hydrogen to CRRM have been reflected as net sales for CVR Partners, when applicable. Net monthly receipts of hydrogen from CRRM have been reflected in cost of materials and other for CVR Partners, when applicable. For the years ended December 31, 2016 , 2015 and 2014 , the net sales generated from the sale of hydrogen to CRRM were approximately $3.2 million , $11.8 million and $10.1 million , respectively. For the years ended December 31, 2016 , CVR Partners also recognized approximately $0.2 million of cost of materials and other related to the transfer of hydrogen from the refinery, and a nominal amount was recognized for the years ended December 31, 2015 and 2014. At December 31, 2016 , approximately $0.1 million was included in accounts payable on the Consolidated Balance Sheets associated with hydrogen purchases. At December 31, 2015 , approximately $0.5 million of receivables were included in prepaid expenses and other current assets on the Consolidated Balance Sheets associated with hydrogen sales. CRNF is also obligated to make available to CRRM any nitrogen produced by the Linde air separation plant that is not required for the operation of the Coffeyville Facility, as determined by CRNF in a commercially reasonable manner. Reimbursed direct operating expenses associated with nitrogen for the year ended December 31, 2014 was approximately $1.0 million and was nominal for the year ended December 31, 2015 . There were no reimbursed direct operating expenses associated with nitrogen for the year ended December 31, 2016. With respect to oxygen requirements, CRNF is obligated to provide oxygen produced by the Linde air separation plant and made available to us to the extent that such oxygen is not required for operation of our nitrogen fertilizer plant. The oxygen is required to meet certain specifications and is to be sold at a fixed price. Approximately $0.3 million was reimbursed by CRRM for the sale of oxygen for the year ended December 31, 2016 and was included as a reduction to direct operating expenses. The agreement also provides a mechanism pursuant to which CRNF transfers a tail gas stream to CRRM. CRNF receives the benefit of eliminating a waste gas stream and recovers the fuel value of the tail gas system. For the years ended December 31, 2016 , 2015 and 2014 , net sales generated from the sale of tail gas to CRRM were nominal. In April 2011, CRRM installed a pipe between the Coffeyville, Kansas refinery and the Coffeyville Facility to transfer the tail gas. CRNF paid CRRM the cost of installing the pipe over three years and provided an additional 15% to cover the cost of capital. At December 31, 2016 and 2015 , an asset of approximately $0.2 million was included in prepaid expenses and other current assets and approximately $0.6 million and $0.8 million , respectively, was included in other long-term assets. CRNF also occasionally provides finished product tank capacity to CRRM under the agreement. Approximately $0.1 million and $0.2 million were reimbursed by CRRM for the use of tank capacity for the years ended December 31, 2016 and 2015 , respectively. This reimbursement was recorded as a reduction to direct operating expenses. The agreement has an initial term of 20 years, ending in 2027, which will be automatically extended for successive five year renewal periods. Either party may terminate the agreement, effective upon the last day of a term, by giving notice no later than three years prior to a renewal date. The agreement will also be terminable by mutual consent of the parties or if one party breaches the agreement and does not cure within applicable cure periods and the breach materially and adversely affects the ability of the terminating party to operate its facility. Additionally, the agreement may be terminated in some circumstances if substantially all of the operations at the Coffeyville Facility or the Coffeyville, Kansas refinery are permanently terminated, or if either party is subject to a bankruptcy proceeding or otherwise becomes insolvent. At December 31, 2016 and 2015 , receivables of $0.3 million and $0.2 million were included in prepaid expenses and other current assets on the Consolidated Balance Sheets associated for amounts yet to be received related to components of the feedstock and shared services agreement other than amounts related to hydrogen sales and tail gas discussed above. At December 31, 2016 and 2015 , payables of $0.9 million and $0.7 million , respectively, were included in accounts payable on the Consolidated Balance Sheets associated with unpaid balances related to components of the feedstock and shared services agreement. Coke Supply Agreement CRNF is party to a coke supply agreement with CRRM pursuant to which CRRM supplies CRNF with pet coke. This agreement provides that CRRM must deliver to CRNF during each calendar year an annual required amount of pet coke equal to the lesser of (i) 100 percent of the pet coke produced at CRRM's Coffeyville, Kansas petroleum refinery or (ii) 500,000 tons of pet coke. CRNF is also obligated to purchase this annual required amount. If during a calendar month CRRM produces more than 41,667 tons of pet coke, then CRNF will have the option to purchase the excess at the purchase price provided for in the agreement. If CRNF declines to exercise this option, CRRM may sell the excess to a third party. CRNF obtains most (over 70% on average during the last five years) of the pet coke it needs from CRRM's adjacent crude oil refinery pursuant to the pet coke supply agreement, and procures the remainder through a contract with HollyFrontier Corporation and on the open market. The price CRNF pays pursuant to the pet coke supply agreement is based on the lesser of a pet coke price derived from the price received for UAN (the "UAN-based price") or a pet coke price index. The UAN-based price begins with a pet coke price of $25 per ton based on a price per ton for UAN that excludes transportation cost ("netback price") of $205 per ton, and adjusts up or down $0.50 per ton for every $1.00 change in the netback price. The UAN-based price has a ceiling of $40 per ton and a floor of $5 per ton. CRNF will also pay any taxes associated with the sale, purchase, transportation, delivery, storage or consumption of the pet coke. CRNF will be entitled to offset any amount payable for the pet coke against any amount due from CRRM under the feedstock and shared services agreement between the parties. The agreement has an initial term of 20 years, ending in 2027, which will be automatically extended for successive five year renewal periods. Either party may terminate the agreement by giving notice no later than three years prior to a renewal date. The agreement is also terminable by mutual consent of the parties or if a party breaches the agreement and does not cure within applicable cure periods. Additionally, the agreement may be terminated in some circumstances if substantially all of the operations at the Coffeyville Facility or the Coffeyville, Kansas refinery are permanently terminated, or if either party is subject to a bankruptcy proceeding or otherwise becomes insolvent. The cost of pet coke associated with the transfer of pet coke from CRRM to CRNF were approximately $2.1 million , $6.6 million and $9.2 million for the years ended December 31, 2016 , 2015 and 2014 , respectively, and included in cost of materials and other on the Consolidated Statement of Operations. Payables of $0.1 million and $0.3 million related to the coke supply agreement were included in accounts payable on the Consolidated Balance Sheets as of December 31, 2016 and 2015 , respectively. Lease Agreement CRNF entered into a lease agreement with CRRM under which it leases certain office and laboratory space. The initial term of the lease will expire in October 2017, provided, however, that CRNF may terminate the lease at any time during the initial term by providing 180 days prior written notice. In addition, CRNF has the option to renew the lease agreement for up to five additional one -year periods by providing CRRM with notice of renewal at least 60 days prior to the expiration of the then existing term. For each of the years ended December 31, 2016 , 2015 and 2014 , expenses incurred related to the use of the office and laboratory space totaled approximately $0.1 million . There were no amounts outstanding with respect to the lease agreement as of December 31, 2016 and 2015 . Environmental Agreement CRNF entered into an environmental agreement with CRRM which provides for certain indemnification and access rights in connection with environmental matters affecting the Coffeyville, Kansas refinery and the nitrogen fertilizer plant. Generally, both CRNF and CRRM have agreed to indemnify and defend each other and each other's affiliates against liabilities associated with certain hazardous materials and violations of environmental laws that are a result of or caused by the indemnifying party's actions or business operations. This obligation extends to indemnification for liabilities arising out of off-site disposal of certain hazardous materials. Indemnification obligations of the parties will be reduced by applicable amounts recovered by an indemnified party from third parties or from insurance coverage. The term of the agreement is for at least 20 years, ending in 2027, or for so long as the feedstock and shared services agreement is in force, whichever is longer. Services Agreement CVR Partners obtains certain management and other services from CVR Energy pursuant to a services agreement between the Partnership, CVR GP and CVR Energy. Under this agreement, the Partnership's general partner has engaged CVR Energy to provide certain services, including the following, among others: • services from CVR Energy's employees in capacities equivalent to the capacities of corporate executive officers, except that those who serve in such capacities under the agreement will serve the Partnership on a shared, part-time basis only, unless the Partnership and CVR Energy agree otherwise; • administrative and professional services, including legal, accounting, SEC and securities exchange reporting, human resources, information technology, communications, insurance, tax, credit, finance, government and regulatory affairs; • recommendations on capital raising activities to the board of directors of our general partner, including the issuance of debt or equity interests, the entry into credit facilities and other capital market transactions; • managing or overseeing litigation and administrative or regulatory proceedings, establishing appropriate insurance policies for the Partnership, and providing safety and environmental advice; • recommending the payment of distributions; and • managing or providing advice for other projects, including acquisitions, as may be agreed by our general partner and CVR Energy from time to time. As payment for services provided under the agreement, the Partnership, its general partner or its subsidiaries must pay CVR Energy (i) all costs incurred by CVR Energy or its affiliates in connection with the employment of its employees who provide the Partnership services under the agreement on a full-time basis, but excluding certain share-based compensation; (ii) a prorated share of costs incurred by CVR Energy or its affiliates in connection with the employment of its employees who provide the Partnership services under the agreement on a part-time basis, but excluding certain share-based compensation, and such prorated share shall be determined by CVR Energy on a commercially reasonable basis, based on the percentage of total working time that such shared personnel are engaged in performing services for the Partnership; (iii) a prorated share of certain administrative costs, including office costs, services by outside vendors, other sales, general and administrative costs and depreciation and amortization; and (iv) various other administrative costs in accordance with the terms of the agreement, including travel, insurance, legal and audit services, government and public relations and bank charges. Either CVR Energy or the Partnership's general partner may temporarily or permanently exclude any particular service from the scope of the agreement upon 180 days' notice. The Partnership's general partner may terminate the agreement upon at least 180 days' notice, but not more than one year's notice. Furthermore, the Partnership's general partner may terminate the agreement immediately if CVR Energy becomes bankrupt or dissolves or commences liquidation or winding-up procedures. In order to facilitate the carrying out of services under the agreement, CVR Partners and CVR Energy have granted one another certain royalty-free, non-exclusive and non-transferable rights to use one another's intellectual property under certain circumstances. The agreement also contains an indemnity provision whereby the Partnership, its general partner, and our subsidiaries, as indemnifying parties, agree to indemnify CVR Energy and its affiliates (other than the indemnifying parties themselves) against losses and liabilities incurred in connection with the performance of services under the agreement or any breach of the agreement, unless such losses or liabilities arise from a breach of the agreement by CVR Energy or other misconduct on its part, as provided in the agreement. The agreement contains a provision stating that CVR Energy is an independent contractor under the agreement and nothing in the agreement may be construed to impose an implied or express fiduciary duty owed by CVR Energy, on the one hand, to the recipients of services under the agreement, on the other hand. The agreement prohibits recovery of lost profits or revenue, or special, incidental, exemplary, punitive or consequential damages from CVR Energy or certain affiliates. Net amounts incurred under the services agreement for the years ended December 31, 2016 , 2015 and 2014 were as follows: Year Ended December 31, 2016 2015 2014 (in thousands) Direct operating expenses (exclusive of depreciation and amortization) $ 3,583 $ 3,500 $ 3,415 Selling, general and administrative expenses 11,761 10,735 11,193 Total $ 15,344 $ 14,235 $ 14,608 For services performed in connection with the services agreement, the Partnership recognized personnel costs, excluding amounts related to share based compensation that are disclosed in Note 4 ("Share‑Based Compensation") , of $6.9 million , $5.7 million and $5.1 million , respectively, for the years ended December 31, 2016 , 2015 and 2014 . At December 31, 2016 and 2015 , payables of $3.5 million and $3.2 million , respectively, were included in accounts payable and accrued expenses and other current liabilities on the Consolidated Balance Sheets with respect to amounts billed in accordance with the services agreement. GP Services Agreement The Partnership is party to a GP Services Agreement dated November 29, 2011 and subsequently amended between the Partnership, CVR GP and CVR Energy. This agreement allows CVR Energy to engage CVR GP, in its capacity as the Partnership's general partner, to provide CVR Energy with (i) business development and related services and (ii) advice or recommendations for such other projects as may be agreed between the Partnership's general partner and CVR Energy from time to time. As payment for certain specific services provided under the agreement, CVR Energy must pay a prorated share of costs incurred by the Partnership or its general partner in connection with the employment of the certain employees who provide CVR Energy services on a part-time basis, as determined by the Partnership's general partner on a commercially reasonable basis based on the percentage of total working time that such shared personnel are engaged in performing services for CVR Energy. CVR Energy is not required to directly pay any compensation, salaries, bonuses or benefits to any of the Partnership's or general partner's employees who provide services to CVR Energy on a full-time or part-time basis, thus the Partnership will continue to pay their compensation. Either CVR Energy or the Partnership's general partner may temporarily or permanently exclude any particular service from the scope of the agreement upon 180 days' notice. The Partnership's general partner also has the right to delegate the performance of some or all of the services to be provided pursuant to the agreement to one of its affiliates or any other person or entity, though such delegation does not relieve the Partnership's general partner from its obligations under the agreement. Either CVR Energy or the Partnership's general partner may terminate the agreement upon at least 180 days' notice, but not more than one year's notice. Furthermore, CVR Energy may terminate the agreement immediately if the Partnership, or its general partner, become bankrupt, or dissolve and commence liquidation or winding-up. Limited Partnership Agreement The Partnership's general partner manages the Partnership's operations and activities as specified in the partnership agreement. The general partner of the Partnership is managed by its board of directors. CRLLC has the right to select the directors of the general partner. Actions by the general partner that are made in its individual capacity are made by CRLLC as the sole member of the general partner and not by its board of directors. The members of the board of directors of the general partner are not elected by the unitholders and are not subject to re-election on a regular basis in the future. The officers of the general partner manage the day-to-day affairs of the Partnership's business. The partnership agreement provides that the Partnership will reimburse its general partner for all direct and indirect expenses it incurs or payments it makes on behalf of the Partnership (including salary, bonus, incentive compensation and other amounts paid to any person to perform services for the Partnership or for its general partner in connection with operating the Partnership). The Partnership recorded expenses of approximately $4.0 million , $3.9 million and $2.6 million , for the years ended December 31, 2016 , 2015 and 2014 , respectively, pursuant to the partnership agreement primarily for personnel costs related to the compensation of executives at the general partner, who manage the Partnership's business. At both December 31, 2016 and 2015 , amounts due of $2.0 million were included in personnel accruals on the Consolidated Balance Sheets with respect to amounts outstanding in accordance with the limited partnership agreement. Railcar Lease Agreement In the second quarter of 2016, the Partnership entered into agreements to lease a total of 115 UAN railcars from American Railcar Leasing, LLC ("ARL"), a company controlled by IEP. The lease agreements have a term of approximately seven years. The Partnership received the 115 UAN railcars during the second half of 2016. For the year ended December 31, 2016 , rent expense of approximately $0.3 million was recorded in cost of materials and other in the Consolidated Statement of Operations related to these agreements. Railcar Purchases and Maintenance In 2014, the Partnership purchased fifty new UAN railcars from American Railcar Industries, Inc. ("ARI"), a company controlled by IEP, for approximately $6.7 million and also purchased twelve used UAN railcars from ARL for approximately $1.1 million . Insight Portfolio Group Insight Portfolio Group LLC ("Insight Portfolio Group") is an entity formed by Mr. Carl C. Icahn in order to maximize the potential buying power of a group of entities with which Mr. Icahn has a relationship in negotiating with a wide range of suppliers of goods, services and tangible and intangible property at negotiated rates. In January 2013, CVR Energy acquired a minority equity interest in Insight Portfolio Group. The Partnership participates in Insight Portfolio Group’s buying group through its relationship with CVR Energy. The Partnership may purchase a variety of goods and services as members of the buying group at prices and on terms that management believes would be more favorable than those which would be achieved on a stand-alone basis. Transactions with Insight Portfolio Group for each of the reporting periods were nominal. AEPC Facility On April 1, 2016, in connection with the closing of the East Dubuque Merger, the Partnership entered into a $320.0 million senior term loan facility (the "AEPC Facility") with American Entertainment Properties Corp., a Delaware corporation and an affiliate of the Partnership ("AEPC"), as the lender, which was to be used (i) by the Partnership to provide funds to CVR Nitrogen to make a change of control offer and, if applicable, a "clean-up" redemption in accordance with the indenture governing the 2021 Notes or (ii) by the Partnership or CVR Nitrogen to make a tender offer for the 2021 Notes and, in each case, pay fees and expenses related thereto. The AEPC Facility, if drawn, would have had a term of two years and an interest rate of 12% per annum. In connection with the repayment of the substantial majority of the 2021 Notes, the AEPC Facility was terminated. Commitment Letter Simultaneously with the execution of the Merger Agreement, CVR Partners entered into a commitment letter (the "Commitment Letter") with CRLLC, pursuant to which CRLLC had committed to, on the terms and subject to the conditions set forth in the Commitment Letter, make available to CVR Partners term loan financing of up to $150.0 million , which amounts would have been available solely to fund the repayment of all of the loans outstanding under the Wells Fargo Credit Agreement, the cash consideration and expenses associated with the East Dubuque Merger. The term loan facility, if drawn, would have had a one -year term at an interest rate of three-month LIBOR plus 3.0% per annum. In connection with the Partnership's entry into the CRLLC Facility (defined and discussed below), the Commitment Letter was terminated. CRLLC Guaranty On February 9, 2016, CRLLC and the Partnership entered into a guaranty, pursuant to which CRLLC agreed to guaranty the indebtedness outstanding under the credit facility. If the credit facility became due prior to a refinancing by the Partnership, CRLLC would have been required to pay the indebtedness pursuant to this guaranty. The Partnership's obligation to repay CRLLC for the indebtedness would have been pursuant to a promissory note ("the Note"). The terms of the Note would have been mutually agreed upon by the parties, provided, the term will be the lesser of two years or such time that the Partnership obtains third-party financing ("New Debt") of at least $125.0 million on terms acceptable to the Partnership with a term of greater than one year from the inception of the New Debt. In connection with the Partnership's entry into the CRLLC Facility (defined and discussed below), the CRLLC Guaranty was terminated. CRLLC Facility On April 1, 2016, in connection with the closing of the East Dubuque Merger, the Partnership entered into a $300.0 million senior term loan credit facility (the "CRLLC Facility") with CRLLC, as the lender, the proceeds of which were used by the Partnership (i) to fund the repayment of amounts outstanding under the Wells Fargo Credit Agreement discussed in Note 3 ("East Dubuque Merger") (ii) to pay the cash consideration and to pay fees and expenses in connection with the East Dubuque Merger and related transactions and (iii) to repay all of the loans outstanding under the Credit Agreement discussed below. The CRLLC Facility had a term of two years and an interest rate of 12.0% per annum. Interest was calculated on the basis of the actual number of days elapsed over a 360 -day year and payable quarterly. In April 2016, the Partnership borrowed $300.0 million under the CRLLC Facility. On June 10, 2016, the Partnership paid off the $300.0 million outstanding under the CRLLC Facility, paid $7.0 million in interest, and terminated the CRLLC Facility. Parent Affiliate Units Subsequent to the East Dubuque Merger, the Partnership purchased 400,000 CVR Nitrogen common units from CVR Energy during the second quarter of 2016 for $5.0 million . See Note 3 ("East Dubuque Merger") for further discussion. |