XML 74 R48.htm IDEA: XBRL DOCUMENT v3.6.0.2
Description of Business and Summary of Significant Accounting Policies (Details)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
USD ($)
Sep. 30, 2016
USD ($)
Jun. 30, 2016
USD ($)
Mar. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Sep. 30, 2015
USD ($)
Jun. 30, 2015
USD ($)
Mar. 31, 2015
USD ($)
Dec. 31, 2016
USD ($)
Petroleum_Refineries
mi
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Feb. 22, 2016
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
General Partners' Contributed Capital   $ 2,100 $ 500                  
Income tax provision                 $ 19,411 $ 406,060 $ 141,172  
Effective Income Tax Rate Reconciliation, Percent                 (11.30%) 33.60% 30.20%  
Income (loss) before income taxes $ 83,416 $ 109,867 $ (430,515) $ 65,698 $ (64,671) $ 320,673 $ 580,177 $ 372,389 $ (171,534) $ 1,208,568 $ 467,500  
Long-term Purchase Commitment, Amount       $ 26,000                
Proceeds from Inventory Repurchase Agreements                 57,000 115,400 77,300  
Payments under Inventory Repurchase Agreements                 58,000 115,300 78,100  
Inventory Valuation Reserves (332,518)       (624,457)       (332,518) (624,457)    
Goodwill, Impairment Loss                 $ (309,300)      
Number of refineries located in Tulsa, Oklahoma | Petroleum_Refineries                 2      
Refinery distance from main city (miles) | mi                 65      
Percentage of ownership interest                 50.00%      
Allowance for doubtful accounts         2,300         2,300    
Asset retirement obligation $ 22,100       $ 20,700       $ 22,100 20,700    
Turnaround and Catalyst Amortization Costs                 $ 110,600 $ 107,800 $ 96,900  
Basis in Transportation Agreements 36,522,000       38,475,000       36,522,000 38,475,000    
Third Party Transportation Agreement, Amortization Expense                 $ 2,000      
Third Party Transportation Agreement, Accumulated Amortization $ 23,700       $ 21,700       23,700 $ 21,700    
Investments in and Advances to Affiliates, Amount of Equity $ 109,300       $ 165,600       $ 109,300 $ 165,600    
Transportation vehicles                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 5 years      
SLC Pipeline [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Equity Method Investment, Ownership Percentage 25.00%               25.00%      
Osage Pipeline [Member] [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Equity Method Investment, Ownership Percentage                       50.00%
Frontier Pipeline [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Equity Method Investment, Ownership Percentage 50.00%               50.00%      
HEP                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Long-term Purchase Commitment, Amount $ 56,700               $ 321,000      
Percentage of ownership in variable interest entity 37.00%               37.00%      
Percentage of ownership interest   2.00%             2.00%      
Equity Method Investment, Ownership Percentage 75.00% 50.00%             75.00%      
Minimum [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Frequency of maintenance, in period                 2 years      
Minimum [Member] | Refining Pipeline And Terminal Facilities [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 15 years      
Minimum [Member] | Buildings and Improvements [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 10 years      
Minimum [Member] | Other fixed assets                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 5 years      
Maximum [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Frequency of maintenance, in period                 5 years      
Maximum [Member] | Refining Pipeline And Terminal Facilities [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 32 years      
Maximum [Member] | Buildings and Improvements [Member]                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 40 years      
Maximum [Member] | Other fixed assets                        
Schedule of Organization, Consolidation and Presentation of Financial Statements Disclosure and Significant Accounting Policies [Line Items]                        
Estimated useful life of assets, minimum                 30 years