Related Party Transactions (Details) (USD $)
|
3 Months Ended | 9 Months Ended | 1 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 1 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 3 Months Ended | 9 Months Ended | 0 Months Ended | 9 Months Ended | 0 Months Ended | 9 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2013
|
Jun. 30, 2013
|
Mar. 31, 2013
|
Dec. 31, 2012
|
Sep. 30, 2012
|
Sep. 30, 2013
|
Sep. 30, 2012
|
Apr. 30, 2011
Feedstock and Shared Services Agreement
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
affiliate
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Maximum
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
Hydrogen
|
Dec. 31, 2012
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
High-pressure steam
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
High-pressure steam
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
High-pressure steam
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
High-pressure steam
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Nitrogen
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
Nitrogen
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Nitrogen
|
Sep. 30, 2012
Feedstock and Shared Services Agreement
Nitrogen
|
Sep. 30, 2013
Feedstock and Shared Services Agreement
Products and services, excluding hydrogen
|
Dec. 31, 2012
Feedstock and Shared Services Agreement
Products and services, excluding hydrogen
|
Sep. 30, 2013
Coke Supply Agreement
Petroleum coke
|
Sep. 30, 2012
Coke Supply Agreement
Petroleum coke
|
Sep. 30, 2013
Coke Supply Agreement
Petroleum coke
|
Sep. 30, 2012
Coke Supply Agreement
Petroleum coke
|
Dec. 31, 2012
Coke Supply Agreement
Petroleum coke
|
Sep. 30, 2013
Terminal Operating and Lease Agreement
|
Sep. 30, 2012
Terminal Operating and Lease Agreement
|
Sep. 30, 2013
Terminal Operating and Lease Agreement
|
Sep. 30, 2012
Terminal Operating and Lease Agreement
|
Sep. 30, 2013
Lease Agreement
|
Sep. 30, 2012
Lease Agreement
|
Sep. 30, 2013
Lease Agreement
|
Sep. 30, 2012
Lease Agreement
|
Sep. 30, 2013
Services Agreement
|
Sep. 30, 2012
Services Agreement
|
Sep. 30, 2013
Services Agreement
|
Sep. 30, 2012
Services Agreement
|
Dec. 31, 2012
Services Agreement
|
Sep. 30, 2013
Limited Partnership Agreement
|
Sep. 30, 2012
Limited Partnership Agreement
|
Sep. 30, 2013
Limited Partnership Agreement
|
Sep. 30, 2012
Limited Partnership Agreement
|
Dec. 31, 2012
Limited Partnership Agreement
|
Sep. 30, 2013
Railcar Lease Agreement
|
Sep. 30, 2012
Railcar Lease Agreement
|
Sep. 30, 2013
Railcar Lease Agreement
|
Sep. 30, 2012
Railcar Lease Agreement
|
Sep. 30, 2013
Secondary offering
|
Sep. 30, 2013
CRNF
|
Sep. 30, 2012
CRNF
|
Sep. 30, 2013
CRNF
|
Sep. 30, 2012
CRNF
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Hydrogen
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Hydrogen
|
Apr. 30, 2011
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Dec. 31, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Tail gas
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Instrument air
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Instrument air
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Instrument air
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Tank capacity
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Tank capacity
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Tank capacity
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Tank capacity
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Sulfur
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Sulfur
|
Sep. 30, 2013
CRRM
CRNF
Feedstock and Shared Services Agreement
Sulfur
|
Sep. 30, 2012
CRRM
CRNF
Feedstock and Shared Services Agreement
Sulfur
|
Sep. 30, 2013
CRRM
CRNF
Coke Supply Agreement
Petroleum coke
|
Sep. 30, 2013
CRRM
CRNF
Coke Supply Agreement
Petroleum coke
Minimum
|
Sep. 30, 2013
CRRM
CRNF
Coke Supply Agreement
Petroleum coke
Maximum
|
Sep. 30, 2013
CRRM
CRNF
Lease Agreement
|
Sep. 30, 2013
CRRM
CRNF
Lease Agreement
Minimum
|
Sep. 30, 2013
CRRM
CRNF
Lease Agreement
Maximum
renewal
|
Sep. 30, 2013
CRRM
CRNF
Environmental Agreement
Minimum
|
Jun. 30, 2013
CRLLC
|
Sep. 30, 2012
CRLLC
|
Sep. 30, 2013
CRLLC
|
Sep. 30, 2012
CRLLC
|
Sep. 30, 2012
CRLLC
Registration Rights Agreement
|
Sep. 30, 2012
CRLLC
Registration Rights Agreement
|
Sep. 30, 2013
CRLLC
CRNF
Coke Supply Agreement
Petroleum coke
T
|
Sep. 30, 2013
CRLLC
CRNF
Coke Supply Agreement
Petroleum coke
Minimum
T
|
May 04, 2012
Coffeyville Resources Terminal, LLC
CRNF
Terminal Operating and Lease Agreement
|
Sep. 30, 2013
Coffeyville Resources Terminal, LLC
CRNF
Terminal Operating and Lease Agreement
|
May 04, 2012
Coffeyville Resources Terminal, LLC
CRNF
Terminal Operating and Lease Agreement
Maximum
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
Services Agreement
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
Services Agreement
Minimum
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
Services Agreement
Maximum
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
GP Services Agreement
affiliate
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
GP Services Agreement
Minimum
|
Sep. 30, 2013
CVR GP, LLC
CVR Energy, Inc
GP Services Agreement
Maximum
|
Sep. 30, 2013
American Railcar Leasing, LLC
Railcar Lease Agreement
railcar
|
|
Related party transactions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of parties | 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Revenue from related party | $ 69,199,000 | $ 75,013,000 | $ 239,444,000 | $ 234,720,000 | $ 800,000 | $ 300,000 | $ 4,700,000 | $ 6,000,000 | $ (44,000) | $ 23,000 | $ (12,000) | $ 57,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cost of product sold (exclusive of depreciation and amortization) | 12,975,000 | 11,297,000 | 39,200,000 | 34,620,000 | 300,000 | 100,000 | 600,000 | 200,000 | 2,200,000 | 2,500,000 | 7,400,000 | 7,800,000 | 0 | 300,000 | 400,000 | 800,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Receivables | 1,045,000 | 605,000 | 1,045,000 | 800,000 | 800,000 | 200,000 | 100,000 | 200,000 | 200,000 | 200,000 | 200,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Net reimbursed or (paid) direct operating expenses | (8,000) | (2,000) | (10,000) | (42,000) | 100,000 | 400,000 | 400,000 | 1,300,000 | 100,000 | 0 | 300,000 | 100,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Period for payment of cost of installation of pipe | 3 years | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Percentage of payment agreed to be paid for cost of capital in fourth year | 15.00% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Asset included in other non-current assets | 1,181,000 | 1,315,000 | 1,181,000 | 1,200,000 | 1,200,000 | 1,300,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Liability included in other current liabilities | 3,327,000 | 3,220,000 | 3,327,000 | 800,000 | 400,000 | 300,000 | 300,000 | 600,000 | 2,200,000 | 2,200,000 | 2,200,000 | 400,000 | 400,000 | 500,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Due to Related Parties, Noncurrent | 100,000 | 100,000 | 400,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purchase price of product when produced by Linde air separation plant | 18,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purchase price of product, if not available from the Linde air separation plant | 18,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Reimbursed of direct operating expenses | 0 | 0 | 0 | (24,000) | 0 | (89,000) | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Initial term of agreement | 20 years | 20 years | 20 years | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Renewal period of agreement | 5 years | 5 years | 5 years | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notice period for termination of agreement | 3 years | 3 years | 180 days | 180 days | 180 days | 1 year | 180 days | 1 year | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Percentage of annual production of pet coke to be delivered | 100.00% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Annual production of pet coke | 500,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Monthly production volume of product which allows for the purchasing party the option to purchase any excess at rates stated in the agreement | 41,667 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Average percentage of pet coke obtained during the last five years from CRRM's adjacent crude oil refinery | 70.00% | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Period for which average percentage of pet coke is obtained from CRRM's adjacent crude oil refinery | 5 years | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton) | 25 | 5 | 40 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UAN-based netback price, exclusive of transportation cost, under the related party agreement (in dollars per ton) | 205 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pet coke price adjustment for every $1.00 change in the UAN netback price, exclusive of transportation cost, used to calculate the UAN-based price under the related party agreement (in dollars per ton) | 0.5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UAN-based netback price change, exclusive of transportation cost, under the related party agreement (in dollars per ton) | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notice period for termination of agreement during any renewal term | 180 days | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Annual rent to be paid | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fees to be paid for UAN placed into the terminal (in dollars per ton) | 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fees to be paid for UAN placed out of the terminal (in dollars per ton) | 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lease expense | 28,000 | 12,000 | 83,000 | 12,000 | 27,000 | 26,000 | 80,000 | 78,000 | 1,200,000 | 1,100,000 | 3,600,000 | 3,200,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of times the agreement can be renewed | 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional renewal period of agreement | 1 year | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notice period for renewal of agreement | 60 days | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Unpaid amounts under the lease agreement | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Notice period for exclusion of service from agreement | 180 days | 180 days | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Expenses from transaction with related party | 3,800,000 | 2,400,000 | 10,700,000 | 7,500,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Selling, general and administrative expenses (exclusive of depreciation and amortization) | 4,588,000 | 5,076,000 | 15,810,000 | 18,030,000 | 2,600,000 | 1,700,000 | 7,300,000 | 5,200,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Direct operating expenses (exclusive of depreciation and amortization) | 23,754,000 | 21,063,000 | 70,728,000 | 66,424,000 | 1,200,000 | 700,000 | 3,500,000 | 2,300,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Personnel costs | 1,200,000 | 800,000 | 3,200,000 | 2,400,000 | 800,000 | 1,100,000 | 2,800,000 | 3,000,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of affiliates of the general partner which may be delegated the performance of the general partner's services under the agreement | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Payables included in personnel accruals | 1,314,000 | 1,865,000 | 1,314,000 | 1,300,000 | 1,300,000 | 1,900,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cash distributions | 42,600,000 | 44,600,000 | 14,000,000 | 101,200,000 | 22,700,000 | 30,500,000 | 63,500,000 | 87,100,000 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of railcars | 199 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purchased railcars which were previously leased | 5,000,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Offering costs paid | 500,000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Expenses related to Registration Rights Agreement | $ 400,000 | $ 1,100,000 |