XML 23 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
May 31, 2018
May 31, 2017
Cash flows from operating activities:    
Net income (loss) $ 575,391 $ 177,775
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 358,134 362,118
Amortization of deferred major repair costs 43,908 50,565
Equity (income) loss from investments (137,111) (124,521)
Distributions from equity investments 97,665 105,558
Provision for doubtful accounts (4,145) 198,304
Gain on disposal of business (131,755) 0
Unrealized (gain) loss on crack spread contingent liability 0 (13,273)
Long-lived asset impairment, net of recoveries (12,368) 85,431
Reserve against supplier advance payments 0 130,705
Deferred taxes (135,560) (145,357)
Other, net 30,640 25,559
Changes in operating assets and liabilities, net of acquisitions:    
Receivables (216,501) (55,498)
Inventories (366,858) (344,914)
Derivative assets (86,910) 120,294
Margin and related deposits (47,079) 58,581
Supplier advance payments (177,373) (214,538)
Other current assets and other assets 75,191 19,289
Customer margin deposits and credit balances (19,914) (76,355)
Customer advance payments (40,547) (23,700)
Accounts payable and accrued expenses 73,745 152,094
Derivative liabilities 23,758 (229,881)
Other liabilities (49,842) (53,471)
Net cash provided by (used in) operating activities (147,531) 204,765
Cash flows from investing activities:    
Acquisition of property, plant and equipment (249,078) (298,015)
Proceeds from disposition of property, plant and equipment 80,045 17,702
Proceeds from sale of business 234,914 0
Expenditures for major repairs (39,363) (1,146)
Investments in joint ventures and other (20,606) (13,853)
Investments redeemed 6,607 7,698
Proceeds from sale of investments 25,444 6,170
Changes in CHS Capital notes receivable, net (83,908) (104,773)
Financing extended to customers (72,106) (57,783)
Payments from customer financing 38,725 67,126
Other investing activities, net 7,539 2,722
Net cash provided by (used in) investing activities (71,787) (374,152)
Cash flows from financing activities:    
Proceeds from lines of credit and long-term borrowings 29,802,708 29,890,570
Payments on lines of credit, long term-debt and capital lease obligations (29,028,104) (29,362,970)
Changes in checks and drafts outstanding (59,358) (118,844)
Preferred stock dividends paid (126,501) (125,475)
Retirements of equities (6,391) (25,503)
Cash patronage dividends paid 0 (103,879)
Other financing activities, net (11,558) 1,539
Net cash provided by (used in) financing activities 570,796 155,438
Effect of exchange rate changes on cash and cash equivalents 1,030 1,865
Net increase (decrease) in cash and cash equivalents 352,508 (12,084)
Cash and cash equivalents at beginning of period 181,379 279,313
Cash and cash equivalents at end of period $ 533,887 $ 267,229