v3.10.0.1
CONDENSED CONSOLIDATING FINANCIAL STATEMENTS Table 3 - Condensed Consolidating Statements of Cash Flows (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net cash provided by operating activities $ 363,320 $ 311,015
Cash flows from investing activities:    
Capital expenditures (338,440) (220,617)
Change in accounts payable related to capital expenditures (18,630) 13,272
Proceeds from sale or disposition of assets 2,220 2,023
Proceeds from insurance recoveries 78,419 0
Investment in subsidiaries   0
Proceeds from Axeon term loan 0 110,000
Acquisitions (37,502) (1,461,719)
Investment in other long-term assets (3,280) 0
Net cash provided by (used in) investing activities (317,213) (1,557,041)
Cash flows from financing activities:    
Debt borrowings 1,523,953 1,971,204
Debt repayments (1,778,498) (1,938,739)
Proceeds from note offering, net of issuance costs 0 543,313
Proceeds from issuance of Series D preferred units 590,000 0
Payment of issuance costs for Series D preferred units (34,187) 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
General partner contribution 204 13,597
Distributions to preferred unitholders (60,247) (26,681)
Distributions to common unitholders and general partner (236,549) (331,222)
Cash consideration for Merger (Note 2) (61,271) 0
Proceeds from termination of interest rate swaps 8,048 0
Contributions from distributions to affiliates   0
Net intercompany activity 0 0
Other, net (6,554) (5,070)
Net cash (used in) provided by financing activities (45,101) 1,242,062
Effect of foreign exchange rate changes on cash (719) 1,637
Net increase (decrease) in cash and cash equivalents 287 (2,327)
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 24,579 33,615
Eliminations [Member]    
Cash flows from operating activities:    
Net cash provided by operating activities (445,211) (536,872)
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
General partner contribution 0 0
Distributions to preferred unitholders 90,372 40,023
Distributions to common unitholders and general partner 354,839 496,849
Cash consideration for Merger (Note 2) 0  
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 445,211 (725,254)
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 296,475 355,864
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 590,000  
Payment of issuance costs for Series D preferred units (34,187)  
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
General partner contribution 204 13,597
Distributions to preferred unitholders (60,249) (26,681)
Distributions to common unitholders and general partner (236,549) (331,222)
Cash consideration for Merger (Note 2) (61,411)  
Proceeds from termination of interest rate swaps 0  
Contributions from distributions to affiliates   0
Net intercompany activity (501,574) 238,172
Other, net (2,430) (3,366)
Net cash (used in) provided by financing activities (296,196) 906,160
Effect of foreign exchange rate changes on cash 0 0
Net increase (decrease) in cash and cash equivalents 279 24
Cash and cash equivalents as of the beginning of the period 885 870
Cash and cash equivalents as of the end of the period 1,164 894
Subsidiary Issuer [Member] | NuStar Logistics | Reportable Legal Entities [Member]    
Cash flows from operating activities:    
Net cash provided by operating activities 60,254 128,395
Cash flows from investing activities:    
Capital expenditures (32,270) (34,964)
Change in accounts payable related to capital expenditures 2,063 (1,223)
Proceeds from sale or disposition of assets 1,464 1,947
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 (28,743) 75,760
Cash flows from financing activities:    
Debt borrowings 1,498,853 1,901,504
Debt repayments (1,754,798) (1,856,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
General partner contribution 0 0
Distributions to preferred unitholders (30,123) (13,340)
Distributions to common unitholders and general partner (118,275) (165,611)
Cash consideration for Merger (Note 2) 0  
Proceeds from termination of interest rate swaps 8,048  
Contributions from distributions to affiliates   1,262,000
Net intercompany activity 373,055 (1,873,773)
Other, net (4,062) (1,486)
Net cash (used in) provided by financing activities (27,302) (204,132)
Effect of foreign exchange rate changes on cash 0 0
Net increase (decrease) in cash and cash equivalents 4,209 23
Cash and cash equivalents as of the beginning of the period 29 5
Cash and cash equivalents as of the end of the period 4,238 28
Guarantor Subsidiaries [Member] | NuPOP | Reportable Legal Entities [Member]    
Cash flows from operating activities:    
Net cash provided by operating activities 90,482 72,711
Cash flows from investing activities:    
Capital expenditures (14,002) (18,138)
Change in accounts payable related to capital expenditures (6,209) 4,445
Proceeds from sale or disposition of assets 20 17
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 (57,693) (13,676)
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
General partner contribution 0 0
Distributions to preferred unitholders (30,124) (13,341)
Distributions to common unitholders and general partner (118,274) (165,611)
Cash consideration for Merger (Note 2) 0  
Proceeds from termination of interest rate swaps 0  
Contributions from distributions to affiliates   0
Net intercompany activity 115,609 119,917
Other, net 0 0
Net cash (used in) provided by financing activities (32,789) (59,035)
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 361,320 290,917
Cash flows from investing activities:    
Capital expenditures (292,168) (167,515)
Change in accounts payable related to capital expenditures (14,484) 10,050
Proceeds from sale or disposition of assets 736 59
Proceeds from insurance recoveries 78,419  
Investment in subsidiaries   (126)
Proceeds from Axeon term loan   0
Acquisitions 0 (1,461,719)
Net cash provided by (used in) investing activities (230,777) (1,619,251)
Cash flows from financing activities:    
Debt borrowings 25,100 69,700
Debt repayments (23,700) (82,000)
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
General partner contribution 0 0
Distributions to preferred unitholders (30,123) (13,342)
Distributions to common unitholders and general partner (118,290) (165,627)
Cash consideration for Merger (Note 2) 140  
Proceeds from termination of interest rate swaps 0  
Contributions from distributions to affiliates   126
Net intercompany activity 12,910 1,515,684
Other, net (62) (218)
Net cash (used in) provided by financing activities (134,025) 1,324,323
Effect of foreign exchange rate changes on cash (719) 1,637
Net increase (decrease) in cash and cash equivalents (4,201) (2,374)
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 $ 19,177 $ 32,693