CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 3 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($) $ in Thousands |
6 Months Ended |
Jun. 30, 2018 |
Jun. 30, 2017 |
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
$ 243,850
|
$ 208,988
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
(248,521)
|
(108,849)
|
| Change in accounts payable related to capital expenditures |
(19,320)
|
6,851
|
| Proceeds from sale or disposition of assets |
2,097
|
1,966
|
| Proceeds from insurance recoveries |
78,419
|
0
|
| Investment in subsidiaries |
|
0
|
| Proceeds from Axeon term loan |
0
|
110,000
|
| Acquisitions |
(37,502)
|
(1,476,719)
|
| Net cash provided by (used in) investing activities |
(224,827)
|
(1,466,751)
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
1,133,272
|
1,602,161
|
| Debt repayments |
(1,333,521)
|
(1,696,239)
|
| Proceeds from note offering, net of issuance costs |
0
|
543,313
|
| Proceeds from issuance of Series D preferred units |
400,000
|
0
|
| Payment of issuance costs for Series D preferred units |
(29,289)
|
0
|
| Proceeds from issuance of other preferred units, net of issuance costs |
0
|
371,802
|
| Proceeds from issuance of common units, net of issuance costs |
10,000
|
643,858
|
| Contributions from general partner |
0
|
13,597
|
| Distributions to preferred unitholders |
(32,713)
|
(10,696)
|
| Distributions to common unitholders and general partner |
(172,324)
|
(216,139)
|
| Proceeds from termination of interest rate swaps |
8,048
|
0
|
| Contributions from distributions to affiliates |
|
0
|
| Net intercompany activity |
0
|
0
|
| Other, net |
(6,023)
|
(1,294)
|
| Net cash (used in) provided by financing activities |
(22,550)
|
1,250,363
|
| Effect of foreign exchange rate changes on cash |
(421)
|
649
|
| Net increase (decrease) in cash and cash equivalents |
(3,948)
|
(6,751)
|
| Cash and cash equivalents as of the beginning of the period |
24,292
|
35,942
|
| Cash and cash equivalents as of the end of the period |
20,344
|
29,191
|
| Eliminations [Member] |
|
|
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
(307,567)
|
(340,263)
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
0
|
0
|
| Change in accounts payable related to capital expenditures |
0
|
0
|
| Proceeds from sale or disposition of assets |
0
|
0
|
| Proceeds from insurance recoveries |
0
|
|
| Investment in subsidiaries |
|
1,262,126
|
| Proceeds from Axeon term loan |
|
0
|
| Acquisitions |
0
|
0
|
| Net cash provided by (used in) investing activities |
0
|
1,262,126
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
0
|
0
|
| Debt repayments |
0
|
0
|
| Proceeds from note offering, net of issuance costs |
|
0
|
| Proceeds from issuance of Series D preferred units |
0
|
|
| Payment of issuance costs for Series D preferred units |
0
|
|
| Proceeds from issuance of other preferred units, net of issuance costs |
|
0
|
| Proceeds from issuance of common units, net of issuance costs |
0
|
0
|
| Contributions from general partner |
|
0
|
| Distributions to preferred unitholders |
49,071
|
16,044
|
| Distributions to common unitholders and general partner |
258,496
|
324,219
|
| Proceeds from termination of interest rate swaps |
0
|
|
| Contributions from distributions to affiliates |
|
(1,262,126)
|
| Net intercompany activity |
0
|
0
|
| Other, net |
0
|
0
|
| Net cash (used in) provided by financing activities |
307,567
|
(921,863)
|
| Effect of foreign exchange rate changes on cash |
0
|
0
|
| Net increase (decrease) in cash and cash equivalents |
0
|
0
|
| Cash and cash equivalents as of the beginning of the period |
0
|
0
|
| Cash and cash equivalents as of the end of the period |
0
|
0
|
| Parent Company Guarantor [Member] | NuStar Energy | Reportable Legal Entities [Member] |
|
|
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
200,803
|
225,566
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
0
|
0
|
| Change in accounts payable related to capital expenditures |
0
|
0
|
| Proceeds from sale or disposition of assets |
0
|
0
|
| Proceeds from insurance recoveries |
0
|
|
| Investment in subsidiaries |
|
(1,262,000)
|
| Proceeds from Axeon term loan |
|
0
|
| Acquisitions |
0
|
0
|
| Net cash provided by (used in) investing activities |
0
|
(1,262,000)
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
0
|
0
|
| Debt repayments |
0
|
0
|
| Proceeds from note offering, net of issuance costs |
|
0
|
| Proceeds from issuance of Series D preferred units |
400,000
|
|
| Payment of issuance costs for Series D preferred units |
(29,289)
|
|
| Proceeds from issuance of other preferred units, net of issuance costs |
|
371,802
|
| Proceeds from issuance of common units, net of issuance costs |
10,000
|
643,858
|
| Contributions from general partner |
|
13,597
|
| Distributions to preferred unitholders |
(32,713)
|
(10,696)
|
| Distributions to common unitholders and general partner |
(172,324)
|
(216,139)
|
| Proceeds from termination of interest rate swaps |
0
|
|
| Contributions from distributions to affiliates |
|
0
|
| Net intercompany activity |
(374,973)
|
236,622
|
| Other, net |
(1,493)
|
(2,613)
|
| Net cash (used in) provided by financing activities |
(200,792)
|
1,036,431
|
| Effect of foreign exchange rate changes on cash |
0
|
0
|
| Net increase (decrease) in cash and cash equivalents |
11
|
(3)
|
| Cash and cash equivalents as of the beginning of the period |
885
|
870
|
| Cash and cash equivalents as of the end of the period |
896
|
867
|
| Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member] |
|
|
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
31,209
|
85,203
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
(17,136)
|
(19,639)
|
| Change in accounts payable related to capital expenditures |
495
|
(2,823)
|
| Proceeds from sale or disposition of assets |
1,385
|
1,898
|
| Proceeds from insurance recoveries |
0
|
|
| Investment in subsidiaries |
|
0
|
| Proceeds from Axeon term loan |
|
110,000
|
| Acquisitions |
0
|
0
|
| Net cash provided by (used in) investing activities |
(15,256)
|
89,436
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
1,122,272
|
1,536,761
|
| Debt repayments |
(1,316,621)
|
(1,625,739)
|
| Proceeds from note offering, net of issuance costs |
|
543,313
|
| Proceeds from issuance of Series D preferred units |
0
|
|
| Payment of issuance costs for Series D preferred units |
0
|
|
| Proceeds from issuance of other preferred units, net of issuance costs |
|
0
|
| Proceeds from issuance of common units, net of issuance costs |
0
|
0
|
| Contributions from general partner |
|
0
|
| Distributions to preferred unitholders |
(16,356)
|
(5,348)
|
| Distributions to common unitholders and general partner |
(86,162)
|
(108,070)
|
| Proceeds from termination of interest rate swaps |
8,048
|
|
| Contributions from distributions to affiliates |
|
1,262,000
|
| Net intercompany activity |
279,080
|
(1,778,816)
|
| Other, net |
(4,466)
|
1,319
|
| Net cash (used in) provided by financing activities |
(14,205)
|
(174,580)
|
| Effect of foreign exchange rate changes on cash |
0
|
0
|
| Net increase (decrease) in cash and cash equivalents |
1,748
|
59
|
| Cash and cash equivalents as of the beginning of the period |
29
|
5
|
| Cash and cash equivalents as of the end of the period |
1,777
|
64
|
| Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member] |
|
|
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
58,105
|
45,790
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
(8,164)
|
(5,588)
|
| Change in accounts payable related to capital expenditures |
(5,173)
|
(35)
|
| Proceeds from sale or disposition of assets |
16
|
12
|
| Proceeds from insurance recoveries |
0
|
|
| Investment in subsidiaries |
|
0
|
| Proceeds from Axeon term loan |
|
0
|
| Acquisitions |
(37,502)
|
0
|
| Net cash provided by (used in) investing activities |
(50,823)
|
(5,611)
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
0
|
0
|
| Debt repayments |
0
|
0
|
| Proceeds from note offering, net of issuance costs |
|
0
|
| Proceeds from issuance of Series D preferred units |
0
|
|
| Payment of issuance costs for Series D preferred units |
0
|
|
| Proceeds from issuance of other preferred units, net of issuance costs |
|
0
|
| Proceeds from issuance of common units, net of issuance costs |
0
|
0
|
| Contributions from general partner |
|
0
|
| Distributions to preferred unitholders |
(16,357)
|
(5,348)
|
| Distributions to common unitholders and general partner |
(86,162)
|
(108,069)
|
| Proceeds from termination of interest rate swaps |
0
|
|
| Contributions from distributions to affiliates |
|
0
|
| Net intercompany activity |
95,237
|
73,237
|
| Other, net |
0
|
1
|
| Net cash (used in) provided by financing activities |
(7,282)
|
(40,179)
|
| Effect of foreign exchange rate changes on cash |
0
|
0
|
| Net increase (decrease) in cash and cash equivalents |
0
|
0
|
| Cash and cash equivalents as of the beginning of the period |
0
|
0
|
| Cash and cash equivalents as of the end of the period |
0
|
0
|
| Non-Guarantor Subsidiaries [Member] | Reportable Legal Entities [Member] |
|
|
| Cash flows from operating activities: |
|
|
| Net cash provided by operating activities |
261,300
|
192,692
|
| Cash flows from investing activities: |
|
|
| Capital expenditures |
(223,221)
|
(83,622)
|
| Change in accounts payable related to capital expenditures |
(14,642)
|
9,709
|
| Proceeds from sale or disposition of assets |
696
|
56
|
| Proceeds from insurance recoveries |
78,419
|
|
| Investment in subsidiaries |
|
(126)
|
| Proceeds from Axeon term loan |
|
0
|
| Acquisitions |
0
|
(1,476,719)
|
| Net cash provided by (used in) investing activities |
(158,748)
|
(1,550,702)
|
| Cash flows from financing activities: |
|
|
| Debt borrowings |
11,000
|
65,400
|
| Debt repayments |
(16,900)
|
(70,500)
|
| Proceeds from note offering, net of issuance costs |
|
0
|
| Proceeds from issuance of Series D preferred units |
0
|
|
| Payment of issuance costs for Series D preferred units |
0
|
|
| Proceeds from issuance of other preferred units, net of issuance costs |
|
0
|
| Proceeds from issuance of common units, net of issuance costs |
0
|
0
|
| Contributions from general partner |
|
0
|
| Distributions to preferred unitholders |
(16,358)
|
(5,348)
|
| Distributions to common unitholders and general partner |
(86,172)
|
(108,080)
|
| Proceeds from termination of interest rate swaps |
0
|
|
| Contributions from distributions to affiliates |
|
126
|
| Net intercompany activity |
656
|
1,468,957
|
| Other, net |
(64)
|
(1)
|
| Net cash (used in) provided by financing activities |
(107,838)
|
1,350,554
|
| Effect of foreign exchange rate changes on cash |
(421)
|
649
|
| Net increase (decrease) in cash and cash equivalents |
(5,707)
|
(6,807)
|
| Cash and cash equivalents as of the beginning of the period |
23,378
|
35,067
|
| Cash and cash equivalents as of the end of the period |
$ 17,671
|
$ 28,260
|