XML 30 R7.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net income (loss) $ 3,041,174,000 $ 663,254,000 $ (514,899,000)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 656,787,000 503,539,000 520,912,000
Goodwill and long-lived asset impairments 0 0 545,293,000
Lower of cost or market inventory valuation adjustment 52,412,000 (310,123,000) 78,499,000
Earnings of equity method investments, inclusive of distributions 19,769,000 0 1,084,000
Gain (loss) on early extinguishment of debt (604,000) 0 25,915,000
Gain on sales-type leases 0 0 (33,834,000)
Gain on sale of assets (2,118,000) (89,765,000) (201,000)
Deferred income taxes 53,168,000 128,570,000 (176,727,000)
Equity-based compensation expense 30,318,000 39,273,000 31,654,000
Change in fair value – derivative instruments 9,989,000 (34,096,000) 26,456,000
(Increase) decrease in current assets:      
Accounts receivable (4,282,000) (614,407,000) 254,684,000
Inventories (224,421,000) (344,559,000) 230,142,000
Income taxes receivable 42,641,000 (6,415,000) (85,442,000)
Prepayments and other (40,810,000) (18,672,000) (2,541,000)
Increase (decrease) in current liabilities:      
Accounts payable 194,424,000 612,410,000 (241,765,000)
Income taxes payable (17,169,000) 23,158,000 (25,897,000)
Accrued liabilities 78,349,000 83,602,000 (85,708,000)
Turnaround expenditures (144,759,000) (214,431,000) (94,692,000)
Other, net 32,291,000 (14,656,000) 4,998,000
Net cash provided by operating activities 3,777,159,000 406,682,000 457,931,000
Cash flows from investing activities:      
Additions to properties, plants and equipment (485,043,000) (725,073,000) (270,877,000)
Acquisitions, net of cash acquired (251,448,000) (624,332,000) 0
Investment in equity company 0 0 (2,438,000)
Proceeds from sale of assets 3,344,000 106,357,000 1,554,000
Distributions in excess of equity in earnings of equity investments 10,623,000 4,165,000 882,000
Net cash used for investing activities (774,488,000) (1,327,219,000) (330,162,000)
Cash flows from financing activities:      
Borrowings under credit agreements 510,000,000 555,500,000 258,500,000
Repayments under credit agreements (682,000,000) (629,000,000) (310,500,000)
Proceeds from issuance of senior notes 0 0 748,925,000
Redemption of senior notes (41,420,000) 0 0
Purchase of treasury stock (1,371,700,000) (7,058,000) (7,642,000)
Dividends (255,928,000) (57,663,000) (229,493,000)
Distributions to noncontrolling interest (96,192,000) (75,395,000) (89,001,000)
Contribution from noncontrolling interests 0 23,194,000 23,899,000
Payments on finance leases (11,713,000) (3,990,000) (2,995,000)
Deferred financing costs (9,273,000) (14,500,000) (15,538,000)
Other, net (2,533,000) (2,891,000) (429,000)
Net cash provided by (used for) financing activities (1,560,759,000) (211,803,000) 353,226,000
Effect of exchange rate on cash flow (11,290,000) (1,534,000) 2,161,000
Cash and cash equivalents:      
Increase (decrease) for the period 1,430,622,000 (1,133,874,000) 483,156,000
Beginning of period 234,444,000 1,368,318,000 885,162,000
End of period 1,665,066,000 234,444,000 1,368,318,000
Cash (paid) received during the period for:      
Interest (160,409,000) (136,429,000) (120,257,000)
Income taxes, net (816,379,000) 19,760,000 (54,256,000)
Increase (decrease) in accrued and unpaid capital expenditures (31,714,000) (15,319,000) 73,867,000
HEP      
Cash flows from investing activities:      
Additions to properties, plants and equipment (38,964,000) (88,336,000) (59,283,000)
HEP investment in Osage Pipe Line Company LLC (13,000,000) 0 0
Cash flows from financing activities:      
Proceeds from issuance of senior notes 400,000,000 0 500,000,000
Redemption of senior notes $ 0 $ 0 $ (522,500,000)