7Baggers

NuStar Energy L.P
(NYSE:NS) 

NS stock logo

NuStar Energy L.P. engages in the terminalling, storage, and marketing of petroleum products in the United States and internationally. The company also engages in the transportation of petroleum products and anhydrous ammonia. It operates through three segments: Pipeline, Storage, and Fuels Marketin...

Founded: 2001
Full Time Employees: 1,441
Sector: Energy
Industry: Oil & Gas Midstream

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-06-30 2009-03-31 2008-12-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-12-31 2006-09-30 2006-06-30 2006-03-31 2005-09-30 2005-06-30 2005-03-31 2004-12-31 2001-01-01 
                                                                                  
      revenues:
                                                                                  
      service revenues
    278,539,000 304,989,000 289,945,000 275,367,000 285,266,000 299,497,000 277,380,000 278,067,000 265,305,000 288,266,000 296,473,000 300,788,000 271,883,000 308,976,000 295,621,000 284,151,000 316,746,000 317,410,000 289,258,000 282,472,000 298,405,000 298,925,000 314,512,000 302,131,000 291,413,000 283,462,000 295,102,000 283,700,000 266,462,000 268,438,000 277,758,000 270,403,000 266,566,000 281,025,000 288,574,000 274,581,000 269,973,000 270,895,000 266,651,000 259,562,000 229,338,000 231,645,000 245,577,000           146,443,000 201,390,000 195,087,000 189,295,000 137,283,250 190,439,000 176,042,000 182,652,000 136,943,750 187,104,000 180,555,000               
      product sales
    112,288,000 146,697,000 120,355,000 102,967,000 108,601,000 130,463,000 135,863,000 152,090,000 144,558,000 129,150,000 115,872,000 126,305,000 89,763,000 77,666,000 66,970,000 55,389,000 76,045,000 82,284,000 88,798,000 89,973,000 188,064,000 210,384,000 175,851,000 184,073,000 184,468,000 167,073,000 145,464,000 151,788,000 220,968,000 203,319,000 163,660,000 167,401,000 139,137,000 183,894,000 204,992,000 296,030,000 284,971,000 410,843,000 527,771,000 490,183,000 619,875,000 548,171,000 534,433,000  772,427,000 1,186,453,750 1,522,945,000 1,693,323,000 1,529,547,000 1,709,856,000 1,613,669,000 1,389,569,000 1,036,223,000 988,670,000 936,989,000 929,854,000 756,234,000 786,562,000 1,060,808,000 811,800,000 451,352,000 840,335,000 1,638,122,000 1,197,025,000 412,658,000 269,840,000 208,563,000 160,446,000 139,542,000 127,889,000 129,135,000 127,874,000 126,075,000      
      total revenues
    390,827,000 451,686,000 410,300,000 378,334,000 393,867,000 429,960,000 413,243,000 430,157,000 409,863,000 417,416,000 412,345,000 427,093,000 361,646,000 386,642,000 362,591,000 339,540,000 392,791,000 399,694,000 378,056,000 372,445,000 486,469,000 509,309,000 490,363,000 486,204,000 475,881,000 450,535,000 440,566,000 435,488,000 487,430,000 471,757,000 441,418,000 437,804,000 405,703,000 464,919,000 493,566,000 570,611,000 554,944,000 681,738,000 794,422,000 749,745,000 849,213,000 779,816,000 780,010,000 904,196,000 999,710,000 573,313,000 1,744,766,000 1,901,905,000 1,735,692,000 1,927,105,000 1,824,350,000 1,589,184,000 1,234,616,000 1,194,212,000 1,138,379,000 1,124,941,000 945,529,000 982,778,000 1,251,247,000 987,842,000 634,004,000 1,033,190,000 1,825,226,000 1,377,580,000 592,774,000 463,142,000 394,542,000 320,506,000 296,824,000 290,679,000 291,023,000 279,968,000 274,004,000 263,546,000     
      yoy
    -0.77% 5.05% -0.71% -12.05% -3.90% 3.01% 0.22% 0.72% 13.33% 7.96% 13.72% 25.79% -7.93% -3.27% -4.09% -8.83% -19.26% -21.52% -22.90% -23.40% 2.22% 13.05% 11.30% 11.65% -2.37% -4.50% -0.19% -0.53% 20.14% 1.47% -10.57% -23.27% -26.89% -31.80% -37.87% -23.89% -34.65% -12.58% 1.85% -17.08% -15.05% 36.02% -55.29% -52.46% -42.40% -70.25% -4.36% 19.68% 40.59% 61.37% 60.26% 41.27% 30.57% 21.51% -9.02% 13.88% 49.14% -4.88% -31.45% -28.29% 6.96% 123.08% 362.62% 329.81% 99.71% 59.33% 35.57% 14.48% 8.33% 10.30%         
      qoq
    -13.47% 10.09% 8.45% -3.94% -8.39% 4.05% -3.93% 4.95% -1.81% 1.23% -3.45% 18.10% -6.46% 6.63% 6.79% -13.56% -1.73% 5.72% 1.51% -23.44% -4.48% 3.86% 0.86% 2.17% 5.63% 2.26% 1.17% -10.66% 3.32% 6.87% 0.83% 7.91% -12.74% -5.80% -13.50% 2.82% -18.60% -14.18% 5.96% -11.71% 8.90% -0.02% -13.73% -9.55% 74.37% -67.14% -8.26% 9.58% -9.93% 5.63% 14.80% 28.72% 3.38% 4.90% 1.19% 18.97% -3.79% -21.46% 26.66% 55.81% -38.64% -43.39% 32.50% 132.40% 27.99% 17.39% 23.10% 7.98% 2.11% -0.12% 3.95% 2.18% 3.97%      
      costs and expenses:
                                                                                  
      costs associated with service revenues:
                                                                                  
      operating expenses
    85,901,000 95,112,000 94,052,000 93,363,000 89,162,000 92,353,000 91,286,000 94,948,000 86,402,000 100,155,000 100,143,000 100,493,000 87,287,000 106,791,000 95,528,000 101,078,000 100,182,000 107,324,000 100,852,000 101,095,000 113,937,000 91,251,750 124,451,000 131,672,000 108,884,000                                                 71,358,000 21,645,000 19,685,000   
      depreciation and amortization expense
    63,603,000 63,183,000 63,215,000 62,530,000 62,054,000 63,195,000 63,140,000 62,240,000 63,303,000 63,080,000 66,126,000 68,964,000 68,418,000 68,721,000 70,480,000 69,214,000 68,061,000 68,423,000 66,332,000 64,991,000 72,287,000 72,065,000 73,424,000 73,613,000 69,897,000 70,589,000 69,178,000 67,601,000 56,864,000 55,997,000 53,946,000 53,651,000 53,142,000 52,687,000 52,301,000 52,765,000 52,457,000 48,943,000 48,599,000 47,936,000 46,230,000 41,736,000 47,597,000 46,662,000 42,926,000 35,078,000 39,686,000 45,576,000 44,681,000 43,932,000 42,418,000 41,640,000 40,296,000 39,149,000 38,539,000 38,185,000 37,929,000 37,420,000 36,786,000 35,548,000 35,989,000 35,690,000 35,143,000 34,830,000 30,046,000 29,557,000 29,534,000 27,860,000 27,342,000 18,505,500 24,994,000 24,839,000 24,189,000 23,902,000     
      total costs associated with service revenues
    149,504,000 158,295,000 157,267,000 155,893,000 151,216,000 155,548,000 154,426,000 157,188,000 149,705,000 163,235,000 166,269,000 169,457,000 155,705,000 175,512,000 166,008,000 170,292,000 168,243,000 175,747,000 167,184,000 166,086,000 186,224,000 195,232,000 197,875,000 205,285,000 178,781,000                                                      
      costs associated with product sales
    94,166,000 125,846,000 101,572,000 86,914,000 93,461,000 108,730,000 117,324,000 134,178,000 126,715,000                                                                      
      general and administrative expenses
    42,237,000 34,418,000 35,083,000 31,620,000 28,725,000 34,460,000 27,676,000 27,909,000 27,071,000 33,873,000 27,365,000 27,477,000 24,492,000 30,588,000 25,457,000 23,700,000 22,971,000 29,492,000 27,804,000 24,868,000 25,996,000 18,893,000 27,817,000 27,981,000 19,774,000                                                 10,391,000 3,561,000 3,503,000   
      other depreciation and amortization expense
    1,053,000 1,056,000 1,080,000 1,037,000 1,555,000 1,776,000 1,935,000 1,823,000 1,824,000 1,951,000 1,881,000 1,913,000 2,047,000 2,163,000 2,105,000 2,171,000 2,186,000 2,206,000 2,216,000 1,819,000 2,119,000 2,230,000 2,276,000 2,251,000 2,118,000                                                      
      total costs and expenses
    286,960,000 319,615,000 295,002,000 275,464,000 274,957,000 300,514,000 301,361,000 321,098,000 351,437,000 315,671,000 491,530,000 311,488,000 263,357,000 282,226,000 257,547,000 246,839,000 485,850,000 275,638,000 278,084,000 279,162,000 719,568,000 419,341,000 395,086,000 406,366,000 377,401,000 376,517,000 348,849,000 362,084,000 390,291,000 386,384,000 353,464,000 346,587,000 311,138,000 366,895,000 392,572,000 478,206,000 455,663,000 600,392,000 699,324,000 660,391,000 768,110,000 998,316,000 714,136,000 830,153,000 940,248,000 496,137,000 1,694,044,000 2,108,203,000 1,687,371,000 1,879,170,000 1,731,373,000 1,471,833,000 1,178,885,000 1,123,748,000 1,048,089,000 1,022,911,000 905,756,000 936,162,000 1,164,057,000 903,766,000 578,570,000 1,004,143,000 1,649,748,000 1,337,218,000 527,588,000 415,424,000 336,656,000 278,946,000 251,389,000 237,030,000 236,643,000 232,652,000 218,037,000 206,868,000 33,997,000 31,920,000   
      gain on sale of assets
        41,075,000                                                                          
      operating income
    103,867,000 132,071,000 115,298,000 102,870,000 159,985,000 129,446,000 111,882,000 109,059,000 58,426,000 101,745,000 -79,185,000 115,605,000 98,289,000 104,416,000 105,044,000 92,701,000 -93,059,000 124,056,000 99,972,000 93,283,000 -233,099,000 89,968,000 95,277,000 79,838,000 98,480,000 74,018,000 91,717,000 73,404,000 97,139,000 85,373,000 87,954,000 91,217,000 94,565,000 98,024,000 100,994,000 92,405,000 99,281,000 81,346,000 95,098,000 89,354,000 81,103,000 -218,500,000 65,874,000 74,043,000 59,462,000 77,176,000 50,722,000 -206,298,000 48,321,000 47,935,000 92,977,000 117,351,000 55,731,000 70,464,000 90,290,000 102,030,000 39,773,000 46,616,000 87,190,000 84,076,000 55,434,000 29,047,000 175,478,000 40,362,000 65,186,000 47,718,000 57,886,000 41,560,000 45,435,000 53,649,000 54,380,000 47,316,000 55,967,000 56,678,000 24,309,000 24,715,000   
      yoy
    -35.08% 2.03% 3.05% -5.67% 173.83% 27.23% -241.29% -5.66% -40.56% -2.56% -175.38% 24.71% -205.62% -15.83% 5.07% -0.62% -60.08% 37.89% 4.93% 16.84% -336.70% 21.55% 3.88% 8.77% 1.38% -13.30% 4.28% -19.53% 2.72% -12.91% -12.91% -1.29% -4.75% 20.50% 6.20% 3.41% 22.41% -137.23% 44.36% 20.68% 36.39% -383.12% 29.87% -135.89% 23.06% 61.00% -45.45% -275.80% -13.30% -31.97% 2.98% 15.02% 40.12% 51.16% 3.56% 21.35% -28.25% 60.48% -50.31% 108.30% -14.96% -39.13% 203.14% -2.88% 43.47% -11.06% 6.45% -12.17% -18.82% -5.34% 123.70% 91.45%       
      qoq
    -21.36% 14.55% 12.08% -35.70% 23.59% 15.70% 2.59% 86.66% -42.58% -228.49% -168.50% 17.62% -5.87% -0.60% 13.31% -199.62% -175.01% 24.09% 7.17% -140.02% -359.09% -5.57% 19.34% -18.93% 33.05% -19.30% 24.95% -24.43% 13.78% -2.93% -3.58% -3.54% -3.53% -2.94% 9.29% -6.93% 22.05% -14.46% 6.43% 10.17% -137.12% -431.69% -11.03% 24.52% -22.95% 52.15% -124.59% -526.93% 0.81% -48.44% -20.77% 110.57% -20.91% -21.96% -11.51% 156.53% -14.68% -46.54% 3.70% 51.67% 90.84% -83.45% 334.76% -38.08% 36.61% -17.57% 39.28% -8.53% -15.31% -1.34% 14.93% -15.46% -1.25% 133.16% -1.64%    
      operating margin %
    26.58% 29.24% 28.10% 27.19% 40.62% 30.11% 27.07% 25.35% 14.26% 24.37% -19.20% 27.07% 27.18% 27.01% 28.97% 27.30% -23.69% 31.04% 26.44% 25.05% -47.92% 17.66% 19.43% 16.42% 20.69% 16.43% 20.82% 16.86% 19.93% 18.10% 19.93% 20.84% 23.31% 21.08% 20.46% 16.19% 17.89% 11.93% 11.97% 11.92% 9.55% -28.02% 8.45% 8.19% 5.95% 13.46% 2.91% -10.85% 2.78% 2.49% 5.10% 7.38% 4.51% 5.90% 7.93% 9.07% 4.21% 4.74% 6.97% 8.51% 8.74% 2.81% 9.61% 2.93% 11.00% 10.30% 14.67% 12.97% 15.31% 18.46% 18.69% 16.90% 20.43% 21.51% Infinity% Infinity%   
      interest expense
    -62,480,000 -62,698,000 -63,125,000 -58,170,000 -57,371,000 -55,956,000 -52,294,000 -50,941,000 -49,818,000 -51,774,000 -53,513,000 -53,780,000 -54,918,000 -57,896,000 -64,165,000 -59,499,000 -47,494,000 -46,184,000 -46,902,000 -45,693,000 -44,268,000 -44,704,000 -44,825,000 -48,936,000 -47,772,000 -45,801,000 -45,256,000 -45,612,000 -36,414,000 -34,976,000 -35,022,000 -34,229,000 -34,123,000 -33,559,000 -33,448,000 -32,824,000 -32,037,000 -31,735,000 -33,007,000 -33,122,000 -34,417,000 -33,518,000 -31,078,000 -31,288,000 -31,235,000 -19,852,000 -24,867,000 -23,820,000 -22,350,000 -21,037,000 -21,565,000 -20,622,000 -20,457,000 -20,221,000 -20,583,000 -18,890,000 -18,586,000 -15,131,500 -19,791,000 -20,265,000 -20,470,000 -23,791,000 -25,228,000 -24,934,000 -16,865,000 -18,829,000 -19,381,000 -19,452,000 -18,854,000          
      other income
    2,599,000 2,917,000 156,000 2,633,000 4,509,000 19,024,000 1,475,000 2,012,000 3,671,000 7,900,000 8,450,000 2,896,000 398,000 -28,951,000 -1,398,000 -1,626,000 -6,489,000 1,722,000 608,000 621,000 787,000 -42,208,000 920,000 1,412,000 79,752,000 -396,000 -5,126,000 88,000 140,000 -58,773,000 362,000 -201,000 -171,000 -70,000 1,776,000 -2,152,000 62,268,000 2,683,000 -1,388,000 -474,000 3,678,000 3,363,000 1,407,000 2,203,000 368,000 -5,127,000 -19,940,000 -2,812,000 1,368,000 2,408,000 767,000 -967,000 -5,499,000 1,052,000 -235,000 14,816,000 301,000 5,976,000 -1,961,000 19,240,000 8,604,000 25,503,000 1,696,000 631,000 9,909,000 -85,000 14,666,000 17,626,000 6,623,000          
      income before income tax expense
    43,986,000 72,290,000 52,329,000 47,333,000  92,514,000 61,063,000 60,130,000    64,721,000 43,769,000        -276,580,000 3,056,000 51,372,000 32,314,000 130,460,000 32,520,000 41,335,000 27,880,000 60,865,000                 -48,965,000 4,964,000 -230,549,000 29,725,000 33,767,000 74,778,000 97,772,000 32,163,000 54,224,000 71,926,000 100,058,000 24,503,000 35,651,000 67,812,000 86,062,000 45,881,000 58,076,750 154,068,000 17,808,000 60,431,000              
      income tax expense
    1,244,000 1,899,000 1,134,000 1,192,000  911,000 1,430,000 931,000    1,338,000 1,512,000   1,810,000 599,000 1,186,000 1,090,000 1,296,000 1,283,000 930,000 3,236,000 2,915,000 4,327,000 2,639,000 2,743,000 1,630,000 2,925,000 2,680,000 2,153,000 4,270,000 2,870,000 4,915,000 4,306,000 3,104,000 2,387,000 484,000 4,335,000 1,865,000 4,117,000   4,174,000 2,536,000 2,140,000 622,000 16,261,000 3,471,000 3,568,000 4,497,000 5,167,000 3,647,000 2,689,000 3,616,000 636,000 4,800,000 -1,694,000 3,372,000 2,327,000 6,526,000 -65,000 2,791,000 3,718,000 4,562,000   1,783,000 3,692,000   492,000 2,119,000 2,147,000     
      net income
    42,742,000 70,391,000 51,195,000 46,141,000 105,936,000 91,603,000 59,633,000 59,199,000 12,312,000 57,518,000 -124,933,000 63,383,000 42,257,000 15,532,000 -96,640,000 29,766,000 -147,641,000 78,408,000 47,811,000 45,951,000 -277,863,000 2,126,000 48,136,000 29,399,000 126,133,000 25,182,000 38,592,000 26,250,000 57,940,000 -11,056,000 51,141,000 52,517,000 57,401,000 59,480,000 65,016,000 54,325,000 127,899,000 53,394,000 61,948,000 55,399,000 39,637,000 -375,280,000 33,236,000 32,969,000 24,404,000 -11,023,000 4,342,000 -246,810,000 26,254,000 30,199,000 70,281,000 92,605,000 28,516,000 51,535,000 68,310,000 99,422,000 19,703,000 37,345,000 64,440,000 83,735,000 39,355,000 32,782,000 151,277,000 14,090,000 55,869,000 28,265,000 51,213,000 39,697,000 31,123,000 37,357,000 41,169,000 31,553,000 39,451,000 45,167,000 18,852,000 19,264,000   
      yoy
    -59.65% -23.16% -14.15% -22.06% 760.43% 59.26% -147.73% -6.60% -70.86% 270.32% 29.28% 112.94% -128.62% -80.19% -302.13% -35.22% -46.87% 3588.05% -0.68% 56.30% -320.29% -91.56% 24.73% 12.00% 117.70% -327.77% -24.54% -50.02% 0.94% -118.59% -21.34% -3.33% -55.12% 11.40% 4.95% -1.94% 222.68% -114.23% 86.39% 68.03% 62.42% 3304.52% 665.45% -113.36% -7.05% -136.50% -93.82% -366.52% -7.93% -41.40% 2.89% -6.86% 44.73% 38.00% 6.01% 18.73% -49.94% 13.92% -57.40% 494.29% -29.56% 15.98% 195.39% -64.51% 79.51% -24.34% 24.40% 25.81% -21.11% -17.29% 118.38% 63.79%       
      qoq
    -39.28% 37.50% 10.95% -56.44% 15.65% 53.61% 0.73% 380.82% -78.59% -146.04% -297.11% 49.99% 172.06% -116.07% -424.67% -120.16% -288.30% 64.00% 4.05% -116.54% -13169.76% -95.58% 63.73% -76.69% 400.89% -34.75% 47.02% -54.69% -624.06% -121.62% -2.62% -8.51% -3.50% -8.51% 19.68% -57.53% 139.54% -13.81% 11.82% 39.77% -110.56% -1229.14% 0.81% 35.10% -321.39% -353.87% -101.76% -1040.09% -13.06% -57.03% -24.11% 224.75% -44.67% -24.56% -31.29% 404.60% -47.24% -42.05% -23.04% 112.77% 20.05% -78.33% 973.65% -74.78% 97.66% -44.81% 29.01% 27.55% -16.69% -9.26% 30.48% -20.02% -12.66% 139.59% -2.14%    
      net income margin %
    10.94% 15.58% 12.48% 12.20% 26.90% 21.31% 14.43% 13.76% 3.00% 13.78% -30.30% 14.84% 11.68% 4.02% -26.65% 8.77% -37.59% 19.62% 12.65% 12.34% -57.12% 0.42% 9.82% 6.05% 26.51% 5.59% 8.76% 6.03% 11.89% -2.34% 11.59% 12.00% 14.15% 12.79% 13.17% 9.52% 23.05% 7.83% 7.80% 7.39% 4.67% -48.12% 4.26% 3.65% 2.44% -1.92% 0.25% -12.98% 1.51% 1.57% 3.85% 5.83% 2.31% 4.32% 6.00% 8.84% 2.08% 3.80% 5.15% 8.48% 6.21% 3.17% 8.29% 1.02% 9.43% 6.10% 12.98% 12.39% 10.49% 12.85% 14.15% 11.27% 14.40% 17.14% Infinity% Infinity%   
      basic and diluted net income per common unit
    150 380 -70 -200 610 180 200 200 -220 -295 -1,480 250 50             162.5 150 50 490                                                  
      basic and diluted weighted-average common units outstanding
    126,533,909,000 116,851,373,000 119,218,622,000 110,905,471,000 110,880,981,000 110,341,206,000 110,310,921,000 110,306,641,000 110,177,045,000  109,532,381,000 109,529,658,000 109,506,222,000                                                                  
      comprehensive income
    42,926,000 50,855,250 51,132,000 46,149,000 106,140,000 43,265,750 59,746,000 100,073,000 13,244,000   65,627,000 44,377,000 -61,352,500 -93,976,000 32,520,000  -52,121,000 36,213,000 37,992,000 -282,689,000 56,718,000 53,037,000 26,778,000 147,057,000 33,391,500 44,482,000 27,381,000 61,703,000 30,113,250 48,652,000 29,178,000 42,623,000 57,960,750 38,878,000 85,167,000 107,798,000 39,952,750 58,167,000 63,926,000 37,718,000 22,510,500 38,790,000 29,238,000 22,014,000 -67,197,750 -4,018,000 -254,001,000 -10,772,000                              
      impairment loss
            46,122,000                                                                      
      income before income tax benefit
        107,123,000     -3,939,500 -124,248,000                                                                    
      income tax benefit
        1,187,000     883,750 685,000                                                       2,261,500 3,571,000   499,250         
      goodwill impairment loss
                    225,000,000    31,123,000                           22,132,000                               
      other impairment losses
                                                                                  
      income before income tax (benefit) expense
            12,279,000                                                                      
      income tax (benefit) expense
            -33,000     156,500 -1,783,000                           1,536,750 -563,000                                    
      cost associated with product sales
             116,612,000 107,047,000 112,641,000 81,113,000                                                                  
      asset impairment losses
              154,908,000                                                                    
      goodwill impairment losses
              34,060,000                                                                    
      loss on extinguishment of debt
                  -137,904,000                                                                
      comprehensive loss
             -3,863,750 -125,459,000      -183,954,000                                                              
      cost of product sales
                 45,525,750 63,977,000 50,676,000 67,450,000 68,193,000 80,880,000 86,389,000 176,789,000 191,251,000 167,118,000 170,849,000 176,728,000 161,236,000 138,078,000 144,479,000 207,806,000 191,917,000 155,129,000 157,617,000 128,990,000 169,500,000 193,958,000 281,610,000 262,506,000 389,020,000 509,794,000 473,755,000 594,959,000 525,760,000 527,217,000 648,766,000 752,254,000 292,163,000 1,486,985,000 1,661,189,000 1,489,837,000 1,663,096,000 1,535,609,000 1,269,448,000 992,367,000 927,678,000 860,942,000 842,588,000 719,221,000 744,663,000 989,868,000 731,861,000 416,795,000 828,233,000 1,467,152,000 1,175,916,000 393,009,000 267,961,000 199,023,000 148,061,000 127,927,000 116,016,000 117,759,000 118,283,000 114,218,000      
      income from continuing operations before income tax expense
                 17,569,000 -98,423,000 31,576,000 -147,042,000 79,594,000 53,678,000 48,211,000          -8,376,000 53,294,000 56,787,000 60,271,000 64,395,000 69,322,000 57,429,000 129,512,000    47,113,000   36,440,000 18,574,000                       41,480,000 34,815,000   32,284,000 41,708,000 42,904,000     
      income from continuing operations
                 15,532,000 -96,640,000 29,766,000 -147,641,000 78,408,000 52,588,000           -11,056,000 51,141,000 52,517,000 57,401,000 59,480,000 65,016,000 54,325,000 127,125,000 54,869,000 59,117,000 57,187,000 42,996,000 -267,049,000 33,236,000 32,266,000 16,038,000                     28,265,000 51,213,000 39,697,000 31,123,000 37,356,000 41,169,000 31,792,000 39,589,000 40,757,000     
      income from discontinued operations, net of tax
                      -4,777,000 -964,000                 774,000 -1,475,000 2,831,000 -1,788,000 -3,359,000 -108,231,000  703,000 8,366,000                                  
      basic and diluted net income per common unit:
                                                                                  
      continuing operations
                 -190 -1,220 -60 -1,680 400 150 110          -310 490 520 570 610 680 540 1,460 550 610 580 400 -3,500 280 270 60                     460 970 740 570 700 790 600 750 790     
      discontinued operations
                      -40 -10                 10 -10 30 -20 -40 -1,230  10 110                           -10  90     
      total
                 -190 -1,220 -60 -1,680             -310 490 520 570 610 680 540 1,470 540 640 560 360 -4,730 280 280 170                                  
      basic weighted-average common units outstanding
             109,585,635,000    109,155,117,000 109,195,358,000 109,194,722,000 108,897,400,000 107,789,030,000 107,763,870,000 107,763,016,000 107,531,619,000 99,490,495,000 104,264,796,000 93,192,238,000 93,181,781,000 88,825,964,000 93,031,320,000 90,345,469,000 78,642,888,000 78,080,484,000                                                 
      diluted weighted-average common units outstanding
             109,585,635,000    109,155,117,000 109,195,358,000   107,854,699,000 107,875,529,000   99,531,172,000    88,825,964,000 93,031,320,000 90,345,469,000 78,642,888,000 78,113,002,000                                                 
      basic net income per common unit:
                                                                                  
      total net income per common unit
                     -675 110 100                                                           
      income from continuing operations, net of tax
                       46,915,000                                                           
      basic net income per common unit
                        -2,910 -625 -3,490 150 1,150                                                      
      asset impairment loss
                        297,317,000                           249,646,000                               
      operating expenses:
                                                                                  
      third parties
                             115,654,000 116,590,000 116,400,000 101,026,000 113,052,000 117,432,000 112,662,000 83,540,000 82,808,000 87,730,000 82,568,000 84,360,000 100,648,000 84,570,000 84,565,000 77,406,000 76,229,000 88,974,000 230,482,000 225,272,000 241,158,000 221,108,000 207,794,000 205,448,000 217,033,000 210,395,000 199,208,000 198,263,000 88,933,000 86,104,000 85,868,000 87,493,000 94,409,000 87,724,000 79,370,000 72,562,000 506,359,000 92,952,000 77,190,000 64,129,000 193,302,000 185,979,000 160,060,000 157,282,000 96,108,000 92,679,000 87,676,000 87,258,000      
      related party
                                    21,681,000 34,804,000 34,904,000 34,570,000 31,287,000 34,711,000 31,394,000 30,972,000 28,659,000 25,030,000 31,517,000 3,151,000 2,011,000 2,391,000 713,000 788,000 697,000 216,000 286,000 407,000 130,000 34,071,000 35,644,000 34,075,000 33,844,000 32,466,000 30,466,000 31,135,000 30,760,000 27,089,000 34,143,000 29,738,000 24,321,000   22,384,000           
      total operating expenses
                             115,654,000 116,590,000 116,400,000 101,026,000 113,052,000 117,432,000 112,662,000 105,221,000 117,612,000 122,634,000 117,138,000 115,647,000 135,359,000 115,964,000 115,537,000 106,065,000 101,259,000 120,491,000 115,072,000 117,574,000 139,416,000 142,419,000 135,263,000 125,666,000 138,522,000 135,615,000 134,626,000 120,239,000 123,004,000 121,748,000 119,943,000 121,337,000 126,875,000 118,190,000 110,505,000 103,322,000 119,775,000 127,095,000 106,928,000 88,450,000 98,598,000 91,981,000 85,444,000 81,212,000 79,877,000 82,502,000 79,155,000 71,070,000      
      general and administrative expenses:
                                                                                  
      total general and administrative expenses
                             29,038,000 25,003,000 33,604,000 24,595,000 25,418,000 26,957,000 22,657,000 23,785,000 27,096,000 23,679,000 26,693,000 25,053,000 27,070,000 24,967,000 23,163,000 20,856,000 25,108,000 18,831,000 19,653,000 27,494,000 29,480,000 24,954,000 23,135,000 27,187,000 33,620,000 17,731,000 26,119,000 25,983,000 33,917,000 26,860,000 22,195,000 27,269,000 27,204,000 19,213,000 25,852,000 22,464,000 20,445,000 20,358,000 19,544,000 16,083,000 19,308,000 16,118,000 17,581,000 14,908,000 14,893,000 11,388,000 10,375,000 8,560,000      
      basic and diluted net income per unit applicable to limited partners:
                                                                                  
      basic weighted-average limited partner units outstanding
                                  78,031,053,000 77,886,219,000 77,886,078,000                                              
      diluted weighted-average limited partner units outstanding
                                  78,062,889,000 77,939,279,000 77,956,824,000                                              
      equity in earnings of joint ventures
                                         3,059,000 2,749,000 3,294,000  -13,341,000 -5,358,000 -10,128,000 -11,143,000 -13,194,000 -951,000                                
      interest income from related party
                                            1,055,000 1,553,000 1,828,000 1,610,000 1,122,000                                  
      less net income attributable to noncontrolling interest
                                         -98,750 -173,000 -115,000 -107,000 -109,750 -161,000 -117,000 -161,000    -97,000    14,000                          
      net income attributable to nustar energy l.p.
                                     59,480,000 65,016,000 54,325,000 127,899,000 53,394,000 62,121,000 55,514,000 39,744,000 -364,818,000 33,397,000 33,086,000 24,565,000 -10,619,000 4,389,000 -246,737,000 26,351,000 30,202,000 70,158,000 92,599,000 28,502,000                          
      net income per unit applicable to limited partners:
                                                                                  
      weighted-average limited partner units outstanding
                                     77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 72,957,417,000 72,383,578,000 70,756,078,000 70,756,078,000 65,018,301,000 64,612,423,000 64,610,549,000 64,610,549,000 62,946,987,000 64,610,549,000 62,289,670,000 60,210,549,000 55,232,467,000 54,460,549,000 54,460,549,000 54,460,549,000                  
      less comprehensive loss attributable to noncontrolling interest
                                         -207,000 -159,000 -117,000 -552,000                                      
      comprehensive income attributable to nustar energy l.p.
                                     57,960,750 38,878,000 85,167,000 107,798,000 40,159,750 58,326,000 64,043,000 38,270,000 23,062,000 39,519,000 30,267,000 22,462,000    -11,794,000                              
      equity in loss of joint ventures
                                            -4,306,000                                      
      income from continuing operations before income taxexpense
                                         42,404,250 63,452,000 59,052,000                                       
      gain on legal settlement
                                                   -28,738,000                               
      income from continuing operations beforeincome tax (benefit) expense
                                             21,921,750 32,673,000                                    
      less comprehensive income attributable to noncontrolling interest
                                             -551,500 -729,000 -1,029,000 -448,000    1,022,000                              
      service revenues:
                                                                                  
      total service revenues
                                               233,633,000 227,283,000 243,549,000 221,821,000 208,582,000 206,145,000 217,249,000 210,681,000 199,615,000 198,393,000                          
      product sales:
                                                                                  
      total product sales
                                               670,563,000                                   
      less net income attributable tononcontrolling interest
                                                 -54,250 -47,000 -73,000  35,750 123,000 6,000                           
      net income per unit applicable tolimited partners
                                                 -850 -90 -3,560                               
      less comprehensive income attributableto noncontrolling interest
                                                 195,000 66,000 -308,000                               
      comprehensive income attributable tonustar energy l.p.
                                                 -67,392,750 -4,084,000 -253,693,000                               
      equity in earnings of joint venture
                                                   2,381,000 2,386,000 4,461,000 2,599,000 2,010,000 2,388,000 2,929,000 2,454,000 2,102,000                       
      net income per unit applicable to limited partners
                                                    230 290 920 1,270 300 640 900 1,430 190 480 1,030 1,380 580 945 2,600 150 1,010              
      equity earnings from joint venture
                                                            3,015,000                      
      equity earnings from joint ventures
                                                             1,917,000 2,374,000 3,011,000 2,313,000 1,958,000 2,122,000 1,749,000 2,201,000 1,863,000 1,613,000 1,746,000 1,611,000          
      less net income applicable to general partner
                                                                 -7,446,000 -9,817,000 -5,885,000 -6,202,000 -5,649,000 -5,842,000 -5,118,000           
      net income applicable to limited partners
                                                                 25,336,000 141,460,000 8,205,000 49,667,000 22,616,000 45,371,000 34,579,000 26,669,000          
      weighted-average number of basic units outstanding
                                                                 53,182,741,000 54,460,549,000 54,372,035,000 49,409,749,000 47,158,790,000 46,809,749,000 46,809,749,000 46,809,749,000          
      services revenues
                                                                    180,116,000              
      services revenues:
                                                                                  
      total services revenues
                                                                     193,302,000 185,979,000 160,060,000 157,282,000 162,790,000 161,888,000 152,094,000 147,929,000      
      income from continuing operations before income tax benefit
                                                                     32,769,750 54,784,000   28,636,750 40,555,000        
      income from discontinued operations, net of income tax
                                                                                  
      income per unit applicable to limited partners:
                                                                                  
      cash distributions per unit applicable to limited partners
                                                                     712.5 985 950 915 671.25 915 885 885 855 855 800   
      less net income applicable general partner
                                                                        -4,454,000          
      valero energy
                                                                         66,682,000 69,209,000 64,418,000 60,671,000      
      equity earnings in joint ventures
                                                                         1,128,500 1,464,000 1,844,000  1,541,000     
      interest and other incomes
                                                                           -16,876,000 -15,465,000      
      income from discontinued operations
                                                                           -239,000 -138,000 4,410,000     
      less general partner’s interest and incentive distributions
                                                                           -4,041,000 -4,199,000      
      limited partners’ interest in net income
                                                                         24,905,750 36,859,000 27,512,000 35,252,000 41,275,000 17,005,000 17,788,000   
      weighted-average number of basic and diluted units outstanding
                                                                         46,809,749,000 46,809,749,000 46,809,749,000       
      income loss per unit applicable to limited partners:
                                                                                  
      equity earnings in joint ventures pipeline company
                                                                            1,206,000      
      weighted-average units outstanding
                                                                            46,809,749,000 46,809,749,000     
      services
                                                                             153,371,000     
      product
                                                                             110,175,000     
      cost of sales
                                                                             101,217,000     
      interest and other income
                                                                               -5,829,000   
      revenues
                                                                              58,306,000 56,635,000   
      depreciation and amortization
                                                                              8,791,000 8,732,000   
      equity income from skelly-belvieu pipeline company
                                                                              421,000 378,000   
      allocation of net income:
                                                                                  
      general partner’s interest in net income
                                                                               -1,476,000   
      basic and diluted net income per unit applicable to limited partners
                                                                              740 770   
      weighted-average number of basic and diluted limited partnership units outstanding
                                                                              23,041,394,000 23,041,394,000   
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-06-30 2009-03-31 2008-12-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-12-31 2006-09-30 2006-06-30 2006-03-31 2005-12-31 2005-09-30 2005-06-30 2005-03-31 2004-12-31 2004-03-31 2003-12-31 2002-12-31 2001-12-31 
                                                                                      
        assets
                                                                                      
        current assets:
                                                                                      
        cash and cash equivalents
      5,374,000 2,765,000 4,371,000 3,813,000 5,151,000 14,489,000 7,544,000 4,341,000 8,398,000 5,637,000 7,948,000 23,500,000 28,246,000 153,625,000 55,494,000 17,278,000 17,694,000 16,192,000 15,354,000 15,299,000 15,822,000 13,644,000 24,579,000 20,344,000 15,128,000 24,292,000 33,615,000 29,191,000 27,205,000 35,942,000 32,662,000 103,019,000 130,917,000 118,862,000 116,425,000 111,637,000 78,183,000 87,912,000 25,686,000 49,076,000 42,598,000 100,743,000 24,519,000 42,127,000 116,513,000 107,456,000 34,147,000 37,696,000 17,497,000 59,214,000 128,876,000 70,437,000 85,866,000 34,554,000 20,150,000 18,112,162,006,000 12,849,000 54,725,000 12,866,000 45,375,000 40,715,000 61,138,000 75,218,000 89,838,000 76,371,000 64,225,000 63,841,000 68,838,000 66,729,000 52,540,000 105,433,000  41,678,000 21,612,000 8,798,000 16,147,000 13,614,000 15,745,000 33,533,000  
        accounts receivable
      140,522,000 135,787,000 156,651,000 125,116,000 137,647,000 149,971,000 138,874,000 152,039,000 142,527,000 135,126,000 138,389,000 143,392,000 121,253,000 133,473,000 116,733,000 122,623,000 144,667,000 152,530,000 130,549,000 117,688,000 163,739,000 148,308,000 164,768,000 141,872,000 157,269,000 176,570,000 152,074,000 147,548,000 166,842,000 170,293,000 159,978,000 145,340,000 133,469,000 145,064,000 133,973,000 164,403,000 189,655,000 208,314,000 220,841,000 254,824,000 304,056,000 281,310,000 242,203,000 277,843,000 336,759,000 453,137,000 487,565,000 495,982,000 547,808,000 467,912,000 457,410,000 397,252,000 297,556,000 283,969,000 235,900,000 302,053,211,797,000 215,349,000 278,675,000 156,206,000 178,216,000 335,037,000 356,581,000 201,847,000 130,354,000 124,118,000 106,091,000 96,787,000 105,976,000 79,213,000 81,661,000 80,771,000  85,864,000 2,393,000 2,115,000 3,395,000 3,509,000 5,333,000 1,502,000  
        inventories
      18,057,000 18,623,000 17,336,000 10,477,000 15,518,000 15,397,000 15,249,000 14,793,000 19,310,000 16,644,000 11,793,000 12,812,000 17,534,000 11,059,000 10,017,000 8,202,000 10,720,000 12,393,000 10,123,000 9,454,000 25,023,000 22,713,000 24,761,000 28,071,000 29,549,000 26,857,000 23,297,000 25,772,000 37,107,000 37,945,000 35,051,000 38,700,000 41,173,000 38,749,000 53,876,000 65,346,000 43,693,000 55,713,000 117,937,000 112,838,000 102,647,000 138,147,000 122,998,000 175,282,000 227,626,000 240,694,000 253,610,000 774,008,000 587,785,000 603,683,000 667,908,000 598,830,000 501,520,000 577,905,000 503,869,000 413,537,387,794,000 398,914,000 482,896,000 338,294,000 220,574,000 547,660,000 548,034,000 427,645,000 88,532,000 33,214,000 12,921,000 7,436,000 16,979,000 8,577,000 18,543,000 14,607,000          
        prepaid and other current assets
      22,061,000 29,927,000 21,236,000 27,548,000 15,729,000 24,067,000 27,885,000 24,126,000 15,079,000 27,135,000 25,174,000 30,177,000 15,719,000 25,400,000 33,316,000 30,606,000 14,775,000 21,933,000 31,925,000 29,591,000 21,361,000 17,493,000                                                           
        total current assets
      186,014,000 187,102,000 199,594,000 166,954,000 174,045,000 203,924,000 189,552,000 195,299,000 271,772,000 184,542,000 433,060,000 209,881,000 182,752,000 323,557,000 215,560,000 178,709,000 187,856,000 203,048,000 187,951,000 473,561,000 225,945,000 202,158,000 276,874,000 217,092,000 227,997,000 250,432,000 233,872,000 230,862,000 253,666,000 377,183,000 254,005,000 313,158,000 333,573,000 333,851,000 338,357,000 375,579,000 336,208,000 389,147,000 407,949,000 468,118,000 509,739,000 633,549,000 460,309,000 620,792,000 820,648,000 864,240,000 1,504,105,000 1,368,396,000 1,200,923,000 1,199,910,000 1,315,356,000 1,131,124,000 931,973,000 941,776,000 805,034,000 939,507,734,719,000 682,139,000 899,274,000 559,250,000 486,486,000 979,869,000 1,034,946,000 773,080,000 347,134,000 267,891,000 215,564,000 205,432,000 212,998,000 201,599,000 201,056,000 251,229,000  174,546,000 45,329,000 31,972,000 39,979,000 40,952,000 38,134,000   
        property, plant and equipment, at cost
      5,825,323,000 5,789,927,000 5,739,619,000 5,693,440,000 5,658,551,000 5,733,685,000 5,703,532,000 5,663,334,000 5,625,080,000 5,728,848,000 5,678,855,000 6,255,183,000 6,205,276,000 6,164,742,000 6,309,053,000 6,269,183,000 6,224,005,000 6,187,144,000 6,090,131,000 5,981,860,000 6,051,532,000 6,338,312,000 6,601,221,000 6,514,589,000 6,388,927,000 6,243,481,000 6,073,194,000 5,974,427,000 5,490,005,000 5,435,278,000 5,342,360,000 5,294,602,000 5,264,120,000 5,209,160,000 5,136,964,000 5,084,661,000 4,984,442,000 4,815,396,000 4,706,896,000 4,622,845,000 4,551,390,000 4,500,837,000 4,528,950,000 4,419,564,000 4,319,606,000 4,171,269,000 4,058,542,000 4,526,182,000 4,413,305,000 4,328,975,000 4,274,702,000 4,134,010,000 3,942,945,000 3,849,441,000 3,768,942,000 40,213,193,721,904,000 3,632,381,000 3,572,870,000 3,521,295,000 3,507,573,000 3,509,588,000 3,493,453,000 3,443,243,000                  
        accumulated depreciation and amortization
      -2,560,477,000 -2,507,390,000 -2,452,390,000 -2,397,938,000 -2,344,543,000 -2,330,602,000 -2,277,490,000 -2,224,240,000 -2,171,692,000 -2,187,206,000 -2,134,759,000 -2,323,020,000 -2,264,511,000 -2,207,230,000 -2,235,543,000 -2,178,531,000 -2,118,364,000 -2,068,165,000 -2,014,791,000 -1,961,046,000 -1,907,267,000 -2,049,690,000 -2,116,373,000 -2,054,908,000 -2,001,703,000 -1,942,548,000 -1,885,045,000 -1,827,094,000 -1,766,737,000 -1,712,995,000 -1,669,471,000 -1,620,230,000 -1,577,433,000 -1,525,589,000 -1,480,691,000 -1,443,583,000 -1,392,156,000 -1,354,664,000 -1,315,466,000 -1,277,709,000 -1,231,272,000 -1,190,184,000 -1,167,100,000 -1,119,475,000 -1,080,051,000 -1,016,179,000 -979,111,000 -1,026,553,000 -982,837,000 -943,539,000 -912,850,000 -873,758,000 -798,183,000 -760,298,000 -728,684,000 -833,862,000 -658,834,000 -624,637,000 -597,330,000 -565,749,000 -538,768,000 -511,551,000 -479,344,000 -452,030,000 -426,151,000 -399,813,000 -373,989,000 -349,223,000  -302,627,000 -279,747,000          
        property, plant and equipment
      3,264,846,000 3,282,537,000 3,287,229,000 3,295,502,000 3,314,008,000 3,403,083,000 3,426,042,000 3,439,094,000 3,453,388,000 3,541,642,000 3,544,096,000 3,932,163,000 3,940,765,000 3,957,512,000 4,073,510,000 4,090,652,000 4,105,641,000 4,118,979,000 4,075,340,000 4,020,814,000 4,144,265,000 4,288,622,000 4,484,848,000 4,459,681,000 4,387,224,000 4,300,933,000 4,188,149,000 4,147,333,000 3,723,268,000 3,722,283,000 3,672,889,000 3,674,372,000 3,686,687,000 3,683,571,000 3,656,273,000 3,641,078,000 3,592,286,000 3,460,732,000 3,391,430,000 3,345,136,000 3,320,118,000 3,310,653,000 3,361,850,000 3,300,089,000 3,239,555,000 3,155,090,000 3,079,431,000 3,499,629,000 3,430,468,000 3,385,436,000 3,361,852,000 3,260,252,000 3,144,762,000 3,089,143,000 3,040,258,000 31,874,573,028,196,000 2,973,547,000 2,948,233,000 2,923,965,000 2,941,824,000 2,970,820,000 2,981,902,000 2,963,899,000              968,470,000 928,886,000 486,939,000  
        intangible assets
      466,654,000 476,063,000 485,471,000 494,880,000 504,288,000 513,696,000 524,467,000 535,573,000 546,679,000 557,785,000 568,891,000 604,497,000 617,353,000 630,209,000 643,064,000 655,920,000 668,776,000 681,632,000 694,488,000 707,344,000 720,200,000 733,056,000 745,912,000 758,767,000 771,623,000 784,479,000 797,339,000 857,616,000 119,860,000 127,083,000 101,630,000 105,091,000 108,551,000 112,011,000 115,471,000 118,931,000 128,700,000 58,670,000 61,815,000 64,959,000 68,104,000 71,249,000 81,710,000 85,285,000 88,935,000 26,518,000 28,226,000 36,900,000 38,923,000 42,499,000 46,305,000 60,369,000 47,017,000 49,131,000 42,329,000 4,303,344,127,000 46,009,000 47,891,000 49,772,000 51,704,000 42,754,000 44,422,000 46,090,000 47,762,000 49,442,000 51,506,000 53,244,000 53,532,000 55,164,000 56,790,000 58,427,000          
        goodwill
      732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 732,356,000 766,416,000 766,416,000 766,416,000 780,853,000 780,853,000 780,853,000 1,005,853,000 1,005,853,000 1,005,853,000 1,005,853,000 1,036,976,000 1,094,661,000 1,094,661,000 1,094,661,000 1,097,475,000 1,095,943,000 1,023,359,000 696,637,000 696,637,000 696,637,000 696,637,000 696,637,000 696,637,000 704,404,000 704,404,000 704,488,000 617,429,000 617,429,000 617,429,000 617,429,000 617,429,000 950,963,000 948,754,000 950,586,000 822,911,000 822,701,000 849,040,000 846,717,000 846,526,000 848,949,000 843,294,000 812,172,000 812,172,000 807,742,000 813,270,807,742,000 807,742,000 807,742,000 808,261,000 806,330,000 784,494,000 784,494,000 784,494,000 785,019,000 786,221,000 786,244,000 788,339,000 774,441,000 774,966,000 774,966,000 771,486,000  875,428,000 4,715,000 4,715,000 4,715,000 4,715,000    
        other long-term assets
      212,255,000 218,334,000 207,646,000 200,723,000 199,017,000 120,627,000 130,563,000 122,339,000 125,730,000 140,007,000 127,334,000 133,023,000 136,586,000 139,324,000 149,319,000 130,064,000 134,694,000 176,480,000 172,204,000 172,119,000 220,636,000 88,328,000 118,663,000 116,768,000 105,208,000 101,681,000 102,395,000 98,795,000 100,242,000 105,308,000 263,071,000 263,768,000 269,599,000 320,334,000 317,482,000 329,603,000 318,135,000 314,166,000 320,970,000 322,172,000 324,819,000 159,362,000 165,456,000 183,028,000 196,702,000 206,195,000 214,947,000 249,911,000 288,331,000 296,903,000 246,798,000 293,430,000 178,152,000 81,023,000 79,180,000 32,538,577,268,000 80,216,000 78,945,000 84,586,000 92,013,000                     
        total assets
      4,862,125,000 4,896,392,000 4,912,296,000 4,890,415,000 4,923,714,000 4,973,686,000 5,002,980,000 5,024,661,000 5,129,925,000 5,156,332,000 5,405,737,000 5,645,980,000 5,643,872,000 5,817,018,000 5,862,306,000 5,836,198,000 5,877,820,000 6,185,992,000 6,135,836,000 6,379,691,000 6,316,899,000 6,349,140,000 6,720,958,000 6,646,969,000 6,586,713,000 6,535,233,000 6,418,768,000 6,359,324,000 4,895,416,000 5,030,545,000 4,990,418,000 5,055,219,000 5,095,549,000 5,149,262,000 5,135,131,000 5,173,055,000 5,084,147,000 4,918,796,000 4,877,367,000 4,895,779,000 4,914,634,000 5,032,186,000 5,242,660,000 5,413,398,000 5,547,030,000 5,363,884,000 5,717,598,000 6,083,428,000 5,881,190,000 5,848,148,000 5,896,708,000 5,665,220,000 5,191,448,000 5,050,666,000 4,858,246,000 53,863,934,774,673,000 4,669,620,000 4,861,857,000 4,505,128,000 4,459,597,000 4,932,007,000 4,995,396,000 4,713,721,000 3,783,087,000 3,652,605,000 3,561,499,000 3,507,134,000 3,482,866,000 3,300,542,000 3,295,218,000 3,323,180,000  3,312,541,000 868,675,000 847,660,000 857,507,000 863,922,000 827,557,000   
        liabilities and partners’ equity
                                                                                      
        current liabilities:
                                                                                      
        accounts payable
      62,793,000 77,050,000 74,168,000 64,938,000 69,435,000 67,765,000 80,805,000 77,435,000 70,360,000 82,446,000 76,262,000 70,484,000 71,623,000 71,731,000 68,874,000 77,457,000 74,032,000 109,834,000 102,209,000 128,547,000 176,871,000 143,121,000 154,212,000 127,801,000 122,040,000 145,932,000 97,854,000 92,668,000 98,477,000 118,686,000 105,311,000 96,807,000 100,782,000 125,147,000 97,883,000 107,414,000 114,032,000 162,056,000 177,961,000 172,869,000 196,529,000 298,751,000 222,360,000 319,363,000 428,843,000 439,622,000 423,227,000 528,376,000 454,326,000 461,038,000 509,190,000 359,046,000 272,218,000 294,194,000 307,219,000 282,382,205,605,000 301,307,000 285,202,000 202,016,000 145,963,000 397,389,000 419,014,000 193,282,000 163,309,000 89,559,000 75,851,000 83,474,000 86,307,000 62,858,000 63,499,000 73,367,000          
        current portion of finance leases
      4,958,000 4,951,000 4,725,000 4,677,000 4,535,000 4,416,000 4,297,000 4,124,000                                                                         
        accrued interest payable
      77,903,000 39,975,000 78,312,000 38,476,000 76,112,000 37,607,000 74,410,000 34,706,000 72,107,000 34,139,000 74,388,000 39,161,000 77,996,000 50,847,000 44,753,000 37,748,000 40,605,000 37,925,000 40,902,000 38,929,000 31,162,000 36,293,000 30,845,000 36,192,000 43,974,000 40,449,000 41,811,000 40,232,000 27,715,000 34,030,000 27,614,000 33,893,000 27,897,000 34,286,000 27,921,000 33,682,000 27,397,000 33,345,000 27,501,000 33,624,000 27,399,000 33,113,000 26,384,000 25,692,000 30,538,000 23,966,000 27,645,000 24,283,000 29,833,000 23,615,000 29,719,000 23,638,000 24,585,000 21,551,000 21,885,000 2,970,621,529,000 21,819,000 22,197,000 22,074,000 22,496,000 23,619,000 24,274,000 11,056,000 17,725,000 11,278,000 16,889,000 10,646,000 17,528,000 9,740,000 16,777,000 9,712,000  9,488,000 7,799,000 2,208,000 7,693,000     
        accrued liabilities
      74,535,000 88,062,000 84,433,000 66,168,000 56,333,000 76,072,000 60,692,000 53,852,000 54,447,000 79,818,000 68,157,000 60,711,000 58,761,000 77,770,000 68,701,000 52,647,000 104,177,000 104,285,000 99,889,000 69,970,000 82,734,000 101,993,000 97,298,000 64,719,000 47,520,000 61,578,000 60,466,000 55,986,000 39,513,000 60,485,000 52,520,000 47,777,000 43,355,000 55,194,000 50,802,000 48,281,000 39,943,000 61,025,000 39,053,000 37,256,000 29,509,000 38,632,000 37,444,000 41,028,000 80,401,000 97,441,000 119,768,000 75,711,000 71,270,000 110,934,000 59,323,000 53,007,000 46,582,000 32,886,000 37,761,000 5,795,364,651,000 46,802,000 58,931,000 27,582,000 37,454,000 61,503,000 51,626,000 190,773,000 47,189,000 39,018,000 31,441,000 38,058,000 37,651,000 39,568,000 36,084,000 39,567,000          
        taxes other than income tax
      8,443,000 10,948,000 14,527,000 7,695,000 6,999,000 10,607,000 16,424,000 11,407,000 10,196,000 14,475,000 18,778,000 15,432,000 12,968,000 16,998,000 18,135,000 13,830,000 8,729,000 12,781,000 15,282,000 14,060,000 16,139,000 19,083,000 19,695,000 16,220,000 12,751,000 14,385,000 19,940,000 16,709,000 12,909,000 15,685,000 16,621,000 12,613,000 13,599,000 12,810,000 17,560,000 13,857,000 12,543,000 14,121,000 15,053,000 10,815,000 8,998,000 9,745,000 13,066,000 8,600,000 7,772,000 15,020,000 14,335,000 13,014,000 13,455,000 16,499,000 14,029,000 9,904,000 14,677,000 12,307,000 15,489,000 1,071,815,534,000 18,907,000 18,704,000                       
        total current liabilities
      228,632,000 220,986,000 256,165,000 181,954,000 213,414,000 196,467,000 236,628,000 181,524,000 277,606,000 214,726,000 244,939,000 189,310,000 224,865,000 221,185,000 204,651,000 188,370,000 247,862,000 731,563,000 730,237,000 332,129,000 321,386,000 323,435,000 317,126,000 311,289,000 652,636,000 651,506,000 641,067,000 654,517,000 254,492,000 289,396,000 211,130,000 194,276,000 272,790,000 332,213,000 255,373,000 271,453,000 260,285,000 365,192,000 299,122,000 271,748,000 281,405,000 392,572,000 356,703,000 440,702,000 846,370,000 1,110,400,000 1,122,934,000 1,492,690,000 943,800,000 983,059,000 885,327,000 461,350,000 384,444,000 387,893,000 407,732,000 393,229,338,754,000 410,981,000 414,416,000 297,438,000 252,024,000 534,436,000 533,968,000 596,949,000 242,485,000 158,289,000 142,872,000 154,774,000 156,735,000 138,618,000 141,262,000 144,741,000  138,587,000 34,516,000 52,453,000 33,609,000 21,144,000 31,370,000   
        long-term debt, less current portion of finance leases
      3,394,454,000 3,410,338,000 3,398,006,000 3,310,561,000 3,113,074,000 3,293,415,000 3,068,055,000 3,137,275,000                                                                         
        deferred income tax liability
      3,940,000 3,933,000 3,258,000 3,262,000 3,246,000 3,219,000 2,845,000 2,845,000 2,848,000 11,831,000 11,750,000 12,252,000 13,200,000 13,011,000 12,013,000 11,268,000 10,673,000 12,427,000 12,097,000 12,250,000 11,787,000 12,428,000 23,343,000 23,113,000 23,032,000 22,272,000 23,166,000 22,863,000 22,445,000 22,204,000 26,635,000 26,485,000 25,841,000 24,810,000 24,497,000 25,791,000 24,804,000 27,308,000 27,785,000 29,152,000 28,348,000 27,350,000 29,455,000 30,194,000 30,288,000 30,851,000 31,596,000 36,670,000 35,437,000 35,917,000 36,407,000 34,404,000 29,616,000 28,485,000 27,425,000 2,956,526,909,000 25,545,000 24,449,000 26,811,000 27,370,000 32,829,000 35,077,000 34,305,000 34,196,000 36,330,000 35,897,000               
        other long-term liabilities
      216,236,000 214,854,000 212,743,000 213,828,000 211,275,000 131,299,000 139,369,000 132,626,000 137,763,000 147,956,000 151,256,000 152,047,000 156,338,000 157,825,000 160,108,000 152,541,000 149,887,000 148,939,000 148,108,000 176,951,000 193,536,000 79,558,000 96,911,000 105,013,000 112,895,000 118,297,000 102,074,000 107,031,000 96,156,000 92,964,000 129,611,000 138,870,000 113,616,000 70,966,000 61,452,000 51,228,000 50,468,000 27,097,000 19,775,000 18,459,000 11,839,000 11,778,000 6,190,000 6,438,000 6,314,000 15,987,000 19,822,000 86,140,000 95,045,000 122,242,000 118,337,000 118,686,000 87,765,000 84,899,000 87,092,000 11,456,387,386,000 94,154,000 96,794,000 96,772,000 94,546,000 66,027,000 64,018,000 64,513,000 60,264,000 65,621,000 72,206,000 66,179,000 69,397,000 70,716,000 76,503,000 76,969,000  71,380,000 121,000 5,032,000 1,416,000 130,000 4,767,000 25,000  
        total liabilities
      3,843,262,000 3,850,111,000 3,870,172,000 3,790,834,000 3,541,009,000 3,624,400,000 3,446,897,000 3,454,270,000 3,586,642,000 3,558,068,000 3,808,739,000 3,850,542,000 3,841,007,000 3,985,517,000 3,974,596,000 3,781,339,000 3,783,169,000 3,827,847,000 3,788,919,000 3,977,791,000 3,859,929,000 3,527,417,000 3,814,232,000 3,819,781,000                                                         
        commitments and contingencies
                                                                                      
        partners’ equity
                                                                                      
        preferred limited partners
                          756,301,000 756,301,000 756,303,000 756,334,000  756,603,000                                                       
        series a
      218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000 218,307,000                                                             
        series b
      371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000 371,476,000                                                             
        series c
      166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000 166,518,000                                                             
        common limited partners
      285,303,000 312,905,000 317,279,000 144,409,000 207,164,000 177,620,000 201,200,000 220,511,000 239,010,000 299,502,000 321,505,000 523,711,000 537,537,000 572,314,000 634,551,000 808,118,000 855,722,000 1,087,805,000 1,092,686,000 1,140,665,000 1,192,080,000 1,556,308,000 1,652,302,000 1,740,768,000 1,772,874,000 1,770,587,000 1,873,382,000 1,958,435,000 1,409,875,000 1,455,642,000                                                   
        accumulated other comprehensive loss
      -22,741,000 -22,925,000 -31,456,000 -31,393,000 -31,401,000 -31,605,000 -32,059,000 -32,172,000 -73,046,000 -73,978,000 -92,818,000 -92,292,000 -94,536,000 -96,656,000 -98,791,000 -101,455,000 -104,209,000 -67,896,000 -79,261,000 -67,663,000 -59,704,000 -54,878,000 -61,723,000 -66,624,000 -64,003,000 -84,927,000 -83,393,000 -89,283,000 -90,414,000 -94,177,000 -129,400,000 -126,911,000 -103,572,000 -88,794,000 -83,309,000 -57,171,000 -88,013,000 -67,912,000 -60,134,000 -56,339,000 -64,868,000 -63,394,000 -57,665,000 -63,787,000 -60,968,000 -80,981,000 -72,508,000 -65,552,000          -3,213,000 -20,266,000                      
        total partners’ equity
      1,018,863,000 1,046,281,000 1,042,124,000 869,317,000 932,064,000 902,316,000 925,442,000 944,640,000 922,265,000 981,825,000 984,988,000 1,187,720,000 1,199,302,000 1,231,959,000 1,292,061,000 1,462,964,000 1,507,814,000 1,776,210,000 1,769,726,000 1,829,303,000 1,888,677,000 2,257,731,000 2,346,882,000 2,456,477,000 2,492,057,000 2,480,089,000 2,419,862,000 2,501,049,000 1,570,343,000 1,611,617,000 1,469,993,000 1,489,895,000 1,557,652,000 1,609,844,000 1,653,900,000 1,713,073,000 1,725,957,000 1,716,210,000 1,768,645,000 1,809,359,000 1,843,484,000 1,903,794,000 2,380,979,000 2,440,266,000 2,509,180,000 2,672,099,000 2,421,117,000 2,764,218,000 2,864,335,000 2,525,049,000 2,658,966,000 2,678,583,000 2,690,235,000 2,694,908,000 2,430,330,000 27,027,002,484,968,000 2,217,240,000 2,209,464,000 2,174,514,000 2,206,997,000 2,266,187,000 2,189,301,000 1,992,448,000 1,994,832,000 1,873,168,000 1,862,473,000 1,860,119,000 1,875,681,000 1,886,671,000 1,891,092,000 1,898,480,000  1,918,933,000 436,579,000 437,642,000 438,311,000 439,697,000 438,163,000   
        total liabilities and partners’ equity
      4,862,125,000                        6,586,713,000 6,535,233,000 6,418,768,000 6,359,324,000 4,895,416,000 5,030,545,000 4,990,418,000 5,055,219,000 5,095,549,000 5,149,262,000 5,135,131,000 5,173,055,000 5,084,147,000 4,918,796,000 4,877,367,000 4,895,779,000 4,914,634,000 5,032,186,000 5,242,660,000 5,413,398,000 5,547,030,000 5,363,884,000 5,717,598,000 6,083,428,000 5,881,190,000 5,848,148,000 5,896,708,000 5,665,220,000 5,191,448,000 5,050,666,000 4,858,246,000 53,863,934,774,673,000 4,669,620,000 4,861,857,000 4,505,128,000 4,459,597,000 4,932,007,000 4,995,396,000 4,713,721,000 3,783,087,000 3,652,605,000 3,561,499,000 3,507,134,000 3,482,866,000 3,300,542,000 3,295,218,000 3,323,180,000  3,312,541,000 868,675,000 847,660,000 857,507,000 863,922,000 827,557,000   
        liabilities, mezzanine equity and partners’ equity
                                                                                      
        series d preferred limited partners
         230,264,000 450,641,000 446,970,000 630,641,000 625,751,000 621,018,000 616,439,000 612,010,000 607,718,000 603,563,000 599,542,000 595,649,000 591,895,000 586,837,000 581,935,000 577,191,000 572,597,000 568,293,000 563,992,000 559,844,000 370,711,000                                                         
        preferred limited partners:
                                                                                      
        total liabilities, mezzanine equity and partners’ equity
       4,896,392,000 4,912,296,000 4,890,415,000 4,923,714,000 4,973,686,000 5,002,980,000 5,024,661,000 5,129,925,000 5,156,332,000 5,405,737,000 5,645,980,000 5,643,872,000 5,817,018,000 5,862,306,000 5,836,198,000 5,877,820,000 6,185,992,000 6,135,836,000 6,379,691,000 6,316,899,000 6,349,140,000 6,720,958,000 6,646,969,000                                                         
        mandatorily redeemable series d preferred units
         81,229,000                                                                             
        assets held for sale
              86,458,000  249,756,000         301,529,000                  1,100,000 2,256,000 6,420,000 19,920,000 21,987,000 2,847,000 2,847,000 2,847,000  640,959,000                                  
        current portion of finance lease obligations
              4,000,000 3,848,000 3,568,000 3,522,000 3,517,000                                                                    
        liabilities held for sale
              66,496,000  3,786,000         68,616,000                                                             
        long-term debt, less current portion
              3,168,425,000 3,183,555,000 3,400,794,000 3,496,933,000 3,446,604,000 3,593,496,000 3,597,824,000 3,429,160,000 3,374,747,000 2,934,918,000 2,898,477,000   3,111,996,000 3,376,852,000 3,380,366,000 3,306,093,000 3,263,069,000                2,655,553,000 2,439,696,000 2,469,062,000 2,136,072,000 1,518,543,000 2,106,988,000 1,690,038,000 1,928,071,000 2,170,010,000 2,186,260,000 2,361,464,000 1,989,737,000 1,845,506,000 1,897,337,000 21,362,481,828,993,000 1,914,598,000 2,110,121,000 1,902,964,000 1,872,015,000 2,025,867,000 2,166,355,000 2,019,838,000 1,445,626,000 1,513,497,000 1,442,334,000 1,386,439,000 1,353,720,000 1,178,476,000 1,158,916,000 1,187,662,000  1,174,949,000 397,459,000 352,533,000 384,171,000 402,951,000 353,257,000 108,911,000  
        current portion of debt and finance lease obligations
                   3,839,000                                                                   
        short-term debt and current portion of finance leases
                    4,188,000 4,613,000 14,869,000 10,046,000 15,664,000 10,087,000 9,335,000                                                            
        current portion of long-term debt
                       452,367,000 453,241,000      349,973,000 349,990,000 350,007,000 403,075,000               33,982,000 31,886,000 282,245,000 517,863,000 517,880,000 831,374,000 364,959,000 355,645,000 255,984,000 832,000 770,000 770,000 770,000 832,770,000 694,000 713,000 713,000 713,000 660,000 660,000 660,000 663,000 614,000 614,000 614,000 647,000 566,000 566,000 566,000  524,000 524,000 32,524,000 990,000 485,000 935,000 747,000  
        income tax payable
                     2,075,000 5,450,000 4,325,000 3,050,000 1,920,000 5,145,000 4,445,000 4,576,000 3,357,000 6,378,000 4,172,000 2,989,000 847,000 3,878,000 6,510,000 2,064,000 3,186,000 6,157,000 5,977,000 2,789,000 1,355,000 3,562,000 2,517,000 4,035,000 2,873,000 5,362,000 4,006,000 3,878,000 3,795,000 4,813,000 2,771,000 2,517,000 4,620,000 3,222,000 2,959,000 1,590,000 2,741,000 2,303,000 1,887,000 4,013,000 129,326,000 1,865,000 3,570,000                       
        long-term debt
                         3,456,461,000 3,333,220,000      3,232,599,000 3,073,864,000 2,951,980,000 3,014,364,000 3,153,049,000 3,205,693,000 3,125,650,000 3,079,349,000 3,109,359,000 3,074,616,000 2,987,413,000 2,749,452,000 2,731,551,000 2,726,629,000 2,710,117,000                                        
        revenues:
                                                                                      
        service revenues
                          298,405,000 1,206,981,000 314,512,000 302,131,000 291,413,000 1,128,726,000 295,102,000 283,700,000 266,462,000 1,083,165,000 277,758,000 270,403,000 266,566,000 1,114,153,000 288,574,000 274,581,000 269,973,000 1,026,446,000 266,651,000 259,562,000 229,338,000 938,138,000 245,577,000          201,390,000 195,087,000 189,295,000  190,439,000 176,042,000 182,652,000  187,104,000 180,555,000                   
        product sales
                          188,064,000 754,776,000 175,851,000 184,073,000 184,468,000 685,293,000 145,464,000 151,788,000 220,968,000 673,517,000 163,660,000 167,401,000 139,137,000 969,887,000 204,992,000 296,030,000 284,971,000 2,048,672,000 527,771,000 490,183,000 619,875,000 2,525,594,000 534,433,000  772,427,000 1,522,945,000 1,693,323,000 1,529,547,000 5,749,317,000 1,613,669,000 1,389,569,000 1,036,223,000 936,989,000 929,854,000 756,234,000  1,060,808,000 811,800,000 451,352,000 4,088,140,000 1,638,122,000 1,197,025,000 412,658,000 778,391,000 208,563,000 160,446,000 139,542,000 510,973,000 129,135,000 127,874,000 126,075,000          
        total revenues
                          486,469,000 1,961,757,000 490,363,000 486,204,000 475,881,000 1,814,019,000 440,566,000 435,488,000 487,430,000 1,756,682,000 441,418,000 437,804,000 405,703,000 2,084,040,000 493,566,000 570,611,000 554,944,000 3,075,118,000 794,422,000 749,745,000 849,213,000 3,463,732,000 780,010,000 904,196,000 999,710,000 1,744,766,000 1,901,905,000 1,735,692,000 6,575,255,000 1,824,350,000 1,589,184,000 1,234,616,000 1,138,379,000 1,124,941,000 945,529,000  1,251,247,000 987,842,000 634,004,000 4,828,770,000 1,825,226,000 1,377,580,000 592,774,000 1,475,014,000 394,542,000 320,506,000 296,824,000 1,135,674,000 291,023,000 279,968,000 274,004,000  263,546,000        
        costs and expenses:
                                                                                      
        costs associated with service revenues:
                                                                                      
        operating expenses
                          113,937,000  124,451,000 131,672,000 108,884,000                                                71,358,000 21,645,000 19,685,000 78,298,000 17,908,000 64,609,000   
        depreciation and amortization expense
                          72,287,000 288,999,000 73,424,000 73,613,000 69,897,000 264,232,000 69,178,000 67,601,000 56,864,000 216,736,000 53,946,000 53,651,000 53,142,000 210,210,000 52,301,000 52,765,000 52,457,000 191,708,000 48,599,000 47,936,000 46,230,000 178,921,000 47,597,000 46,662,000 42,926,000 39,686,000 45,576,000 44,681,000 168,286,000 42,418,000 41,640,000 40,296,000 38,539,000 38,185,000 37,929,000  36,786,000 35,548,000 35,989,000 135,709,000 35,143,000 34,830,000 30,046,000 114,293,000 29,534,000 27,860,000 27,342,000  24,994,000 24,839,000 24,189,000  23,902,000        
        total costs associated with service revenues
                          186,224,000 777,173,000 197,875,000 205,285,000 178,781,000                                                        
        cost of product sales
                          176,789,000 705,946,000 167,118,000 170,849,000 176,728,000 651,599,000 138,078,000 144,479,000 207,806,000 633,653,000 155,129,000 157,617,000 128,990,000 907,574,000 193,958,000 281,610,000 262,506,000 1,967,528,000 509,794,000 473,755,000 594,959,000 2,453,997,000 527,217,000 648,766,000 752,254,000 1,486,985,000 1,661,189,000 1,489,837,000 5,460,520,000 1,535,609,000 1,269,448,000 992,367,000 860,942,000 842,588,000 719,221,000  989,868,000 731,861,000 416,795,000 3,864,310,000 1,467,152,000 1,175,916,000 393,009,000 742,972,000 199,023,000 148,061,000 127,927,000 466,276,000 117,759,000 118,283,000 114,218,000          
        asset impairment loss
                          297,317,000                          249,646,000                                  
        goodwill impairment loss
                          31,123,000                     304,453,000     22,132,000                                  
        general and administrative expenses
                          25,996,000  27,817,000 27,981,000 19,774,000                                                10,391,000 3,561,000 3,503,000 11,321,000 1,999,000 7,537,000   
        other depreciation and amortization expense
                          2,119,000 8,875,000 2,276,000 2,251,000 2,118,000                                                        
        total costs and expenses
                          719,568,000 1,598,194,000 395,086,000 406,366,000 377,401,000 1,477,741,000 348,849,000 362,084,000 390,291,000 1,397,573,000 353,464,000 346,587,000 311,138,000 1,693,336,000 392,572,000 478,206,000 455,663,000 2,728,217,000 699,324,000 660,391,000 768,110,000 3,482,853,000 714,136,000 830,153,000 940,248,000 1,694,044,000 2,108,203,000 1,687,371,000 6,261,261,000 1,731,373,000 1,471,833,000 1,178,885,000 1,048,089,000 1,022,911,000 905,756,000  1,164,057,000 903,766,000 578,570,000 4,518,697,000 1,649,748,000 1,337,218,000 527,588,000 1,282,415,000 336,656,000 278,946,000 251,389,000 924,362,000 236,643,000 232,652,000 218,037,000  206,868,000 33,997,000 31,920,000 122,768,000 27,781,000 98,413,000   
        operating income
                          -233,099,000 363,563,000 95,277,000 79,838,000 98,480,000 336,278,000 91,717,000 73,404,000 97,139,000 359,109,000 87,954,000 91,217,000 94,565,000 390,704,000 100,994,000 92,405,000 99,281,000 346,901,000 95,098,000 89,354,000 81,103,000 -19,121,000 65,874,000 74,043,000 59,462,000 50,722,000 -206,298,000 48,321,000 313,994,000 92,977,000 117,351,000 55,731,000 90,290,000 102,030,000 39,773,000  87,190,000 84,076,000 55,434,000 310,073,000 175,478,000 40,362,000 65,186,000 192,599,000 57,886,000 41,560,000 45,435,000 211,312,000 54,380,000 47,316,000 55,967,000  56,678,000 24,309,000 24,715,000 98,024,000 24,543,000 83,037,000 57,230,000  
        interest expense
                          -44,268,000 -186,237,000 -44,825,000 -48,936,000 -47,772,000 -173,083,000 -45,256,000 -45,612,000 -36,414,000 -138,350,000 -35,022,000 -34,229,000 -34,123,000 -131,868,000 -33,448,000 -32,824,000 -32,037,000 -132,281,000 -33,007,000 -33,122,000 -34,417,000 -127,119,000 -31,078,000 -31,288,000 -31,235,000 -24,867,000 -23,820,000 -22,350,000 -83,681,000 -21,565,000 -20,622,000 -20,457,000 -20,583,000 -18,890,000 -18,586,000  -19,791,000 -20,265,000 -20,470,000 -90,818,000 -25,228,000 -24,934,000 -16,865,000 -76,516,000 -19,381,000 -19,452,000 -18,854,000          -5,126,000 -15,860,000 -4,880,000  
        other income
                          787,000 39,876,000 920,000 1,412,000 79,752,000 -5,294,000 -5,126,000 88,000 140,000 -58,783,000 362,000 -201,000 -171,000 61,822,000 1,776,000 -2,152,000 62,268,000 4,499,000 -1,388,000 -474,000 3,678,000 7,341,000 1,407,000 2,203,000 368,000 -19,940,000 -2,812,000 1,368,000 -3,291,000 767,000 -967,000 -5,499,000 -235,000 14,816,000 301,000  -1,961,000 19,240,000 8,604,000 37,739,000 1,696,000 631,000 9,909,000 38,830,000 14,666,000 17,626,000 6,623,000              
        income before income tax expense
                          -276,580,000 217,202,000 51,372,000 32,314,000 130,460,000  41,335,000 27,880,000 60,865,000                 4,964,000 -230,549,000 29,725,000 238,480,000 74,778,000 97,772,000 32,163,000 71,926,000 100,058,000 24,503,000  67,812,000 86,062,000 45,881,000  154,068,000 17,808,000 60,431,000             78,418,000  69,593,000   
        income tax expense
                          1,283,000 11,408,000 3,236,000 2,915,000 4,327,000 9,937,000 2,743,000 1,630,000 2,925,000 11,973,000 2,153,000 4,270,000 2,870,000 14,712,000 4,306,000 3,104,000 2,387,000 10,801,000 4,335,000 1,865,000 4,117,000 12,753,000  4,174,000 2,536,000 622,000 16,261,000 3,471,000 16,879,000 4,497,000 5,167,000 3,647,000 3,616,000 636,000 4,800,000  3,372,000 2,327,000 6,526,000 11,006,000 2,791,000 3,718,000 4,562,000 11,448,000  1,783,000 3,692,000 5,861,000  492,000 2,119,000  2,147,000        
        net income
                          -277,863,000 205,794,000 48,136,000 29,399,000 126,133,000 147,964,000 38,592,000 26,250,000 57,940,000 150,003,000 51,141,000 52,517,000 57,401,000 306,720,000 65,016,000 54,325,000 127,899,000 210,378,000 61,948,000 55,399,000 39,637,000 -284,671,000 33,236,000 32,969,000 24,404,000 4,342,000 -246,810,000 26,254,000 221,601,000 70,281,000 92,605,000 28,516,000 68,310,000 99,422,000 19,703,000  64,440,000 83,735,000 39,355,000 254,018,000 151,277,000 14,090,000 55,869,000 150,298,000 51,213,000 39,697,000 31,123,000 149,530,000 41,169,000 31,553,000 39,451,000  45,167,000 18,852,000 19,264,000 78,418,000 19,970,000 69,593,000 55,143,000  
        basic net income per common unit
                          -2,910  -3,490 150 1,150                                                        
        basic weighted-average common units outstanding
                          107,531,619,000 99,490,495,000 104,264,796,000 93,192,238,000 93,181,781,000 88,825,964,000 93,031,320,000 90,345,469,000 78,642,888,000 78,080,484,000                                                   
        comprehensive income
                          -282,689,000  53,037,000 26,778,000 147,057,000  44,482,000 27,381,000 61,703,000  48,652,000 29,178,000 42,623,000  38,878,000 85,167,000 107,798,000  58,167,000 63,926,000 37,718,000  38,790,000 29,238,000 22,014,000 -4,018,000 -254,001,000 -10,772,000                                 
        receivable from related party
                             279,000 72,000 205,000 81,000 86,000 80,000 317,000 83,000 186,000 2,295,000             2,358,000               1,211,000   786,000 1,126,000                
        deferred income tax asset
                               233,000 1,070,000 1,359,000 1,743,000 2,051,000 2,186,000 2,193,000 502,000 2,858,000 3,144,000 3,460,000 4,330,000 4,429,000 4,902,000 5,057,000 4,083,000 5,769,000 5,088,000 4,424,000 3,832,000 2,080,000  10,479,000 9,141,000 9,671,000 10,176,000 7,683,000 8,573,000 8,626,000 14,360,000 813,813,893,000 10,206,000 9,635,000 9,668,000 12,427,000 12,217,000 10,766,000 11,089,000 10,622,000 11,503,000 11,998,000               
        short-term debt
                           18,500,000 10,500,000 63,000,000 70,000,000 35,000,000 68,000,000 45,000,000 72,000,000 54,000,000 7,000,000  81,000,000 84,000,000 42,000,000 46,000,000 46,000,000 77,000,000 21,400,000                                          
        general partner
                             25,999,000 26,692,000 37,826,000 39,953,000 41,944,000 32,575,000 31,752,000 34,086,000 34,582,000 35,709,000 36,738,000 37,726,000 38,603,000 39,693,000 39,312,000 40,419,000 41,355,000 42,422,000 43,804,000 53,277,000 54,786,000 56,301,000 60,375,000 54,175,000 61,088,000 62,539,000 56,284,000 56,609,000 56,133,000 58,060,000 58,242,000 52,240,000 5,732,753,469,000 47,306,000 47,350,000 47,132,000 47,801,000 48,601,000 45,714,000 41,733,000 41,819,000 39,091,000 38,659,000 38,405,000              
        third parties
                           488,174,000    449,670,000 116,590,000 116,400,000 101,026,000 426,686,000 117,432,000 112,662,000 83,540,000 337,466,000 87,730,000 82,568,000 84,360,000 347,189,000 84,570,000 84,565,000 77,406,000 331,719,000 88,974,000 230,482,000 225,272,000 221,108,000 207,794,000 205,448,000 824,899,000 210,395,000 199,208,000 198,263,000 86,104,000 85,868,000 87,493,000  87,724,000 79,370,000 72,562,000 740,630,000 92,952,000 77,190,000 64,129,000 696,623,000 185,979,000 160,060,000 157,282,000 363,721,000 92,679,000 87,676,000 87,258,000          
        related party
                                   21,681,000   21,681,000 135,565,000 34,904,000 34,570,000 31,287,000 125,736,000 31,394,000 30,972,000 28,659,000 122,677,000 31,517,000 3,151,000 2,011,000 713,000 788,000 697,000 1,039,000 286,000 407,000 130,000 35,644,000 34,075,000 33,844,000  30,466,000 31,135,000 30,760,000 115,291,000 34,143,000 29,738,000 24,321,000   22,384,000               
        total operating expenses
                           488,174,000    449,670,000 116,590,000 116,400,000 101,026,000 448,367,000 117,432,000 112,662,000 105,221,000 473,031,000 122,634,000 117,138,000 115,647,000 472,925,000 115,964,000 115,537,000 106,065,000 454,396,000 120,491,000 115,072,000 117,574,000 142,419,000 135,263,000 125,666,000 529,002,000 135,615,000 134,626,000 120,239,000 121,748,000 119,943,000 121,337,000  118,190,000 110,505,000 103,322,000 442,248,000 127,095,000 106,928,000 88,450,000 357,235,000 91,981,000 85,444,000 81,212,000 312,604,000 82,502,000 79,155,000 71,070,000          
        total general and administrative expenses
                           106,200,000    112,240,000 25,003,000 33,604,000 24,595,000 98,817,000 26,957,000 22,657,000 23,785,000 102,521,000 23,679,000 26,693,000 25,053,000 96,056,000 24,967,000 23,163,000 20,856,000 91,086,000 18,831,000 19,653,000 27,494,000 24,954,000 23,135,000 27,187,000 103,453,000 17,731,000 26,119,000 25,983,000 26,860,000 22,195,000 27,269,000  19,213,000 25,852,000 22,464,000 76,430,000 20,358,000 19,544,000 16,083,000 67,915,000 16,118,000 17,581,000 14,908,000 45,216,000 11,388,000 10,375,000 8,560,000          
        basic and diluted net income per common unit
                           -2,770     150 50 490                                                    
        diluted weighted-average common units outstanding
                           99,531,172,000    88,825,964,000 93,031,320,000 90,345,469,000 78,642,888,000 78,113,002,000                                                   
        other current assets
                            62,766,000 26,526,000 25,979,000 22,508,000 24,805,000 28,265,000 22,432,000 132,686,000 26,231,000 25,913,000 25,719,000 31,176,000 34,083,000 34,193,000 24,677,000 35,944,000 37,523,000 40,265,000 36,786,000 39,452,000 41,188,000 44,626,000 46,351,000 59,600,000 85,872,000 51,489,000 43,685,000 69,101,000 61,162,000 64,605,000 47,031,000 45,348,000 45,115,000 4,279,673,122,000 55,027,000 82,978,000 51,884,000 42,321,000 55,246,000 69,193,000 68,370,000 37,624,000 33,062,000 32,327,000 37,368,000 21,205,000 25,948,000 27,753,000 30,638,000  13,108,000 1,658,000 2,114,000 1,242,000 2,096,000 1,275,000 177,000  
        series a preferred limited partners
                              218,307,000  218,307,000 218,340,000 218,307,000 218,400,000                                                   
        series b preferred limited partners
                              371,634,000  371,613,000 371,613,000                                                     
        series c preferred limited partners
                              166,553,000                                                        
        income from continuing operations before income tax expense
                               157,901,000    161,976,000 53,294,000 56,787,000 60,271,000 320,658,000 69,322,000 57,429,000 129,512,000 224,970,000   47,113,000 -172,756,000  36,440,000 18,574,000               265,024,000    161,746,000  41,480,000 34,815,000 155,767,000  32,284,000 41,708,000  42,904,000        
        income from continuing operations
                               147,964,000    150,003,000 51,141,000 52,517,000 57,401,000 305,946,000 65,016,000 54,325,000 127,125,000 214,169,000 59,117,000 57,187,000 42,996,000 -185,509,000 33,236,000 32,266,000 16,038,000               254,018,000    150,298,000 51,213,000 39,697,000 31,123,000 149,906,000 41,169,000 31,792,000 39,589,000  40,757,000        
        income from discontinued operations, net of tax
                                       774,000   774,000 -3,791,000 2,831,000 -1,788,000 -3,359,000 -99,162,000  703,000 8,366,000                                    
        basic and diluted net income per common unit:
                                                                                      
        continuing operations
                               640    1,270 490 520 570 3,290 680 540 1,460 2,140 610 580 400 -2,890 280 270 60               4,220    2,740 970 740 570 2,840 790 600 750  790        
        discontinued operations
                                       10   10 -40 30 -20 -40 -1,110  10 110                       -10  -10   90        
        total
                               640    1,270 490 520 570 3,300 680 540 1,470 2,100 640 560 360 -4,000 280 280 170                                    
        partners’ equity:
                                                                                      
        operating expenses:
                                                                                      
        general and administrative expenses:
                                                                                      
        payable to related party
                                       14,799,000 16,418,000 20,864,000 16,808,000 15,128,000 14,119,000 14,311,000 13,608,000 8,325,000 19,589,000 10,338,000 11,758,000 13,717,000 17,562,000 15,312,000 6,735,000 12,369,000 15,492,000 12,182,000 23,309,000 24,298,000 20,595,000 1,034,510,639,000 9,087,000 5,099,000 5,638,000 3,441,000  3,081,000 753,000   4,410,000 6,074,000 2,315,000             
        long-term payable to related party
                                       32,080,000 30,550,000 36,894,000 35,220,000 33,537,000 30,489,000 40,432,000 39,441,000 41,139,000 29,637,000 26,736,000 18,806,000 16,004,000 15,141,000 13,672,000 14,502,000 11,871,000 11,411,000 10,733,000 9,651,000 8,975,000 8,330,000 100,887,663,000 7,102,000 6,613,000 6,629,000 6,645,000 6,661,000 6,677,000 5,668,000 5,684,000 5,700,000 5,717,000 5,743,000              
        equity in earnings of joint ventures
                                           4,796,000 2,749,000 3,294,000  -39,970,000 -5,358,000 -10,128,000 -11,143,000 -951,000                                   
        interest income from related party
                                           1,055,000   1,055,000 6,113,000 1,828,000 1,610,000 1,122,000                                    
        less loss attributable to noncontrolling interest
                                           -395,000                                           
        net income attributable to nustar energy l.p.
                                   150,003,000    306,720,000 65,016,000 54,325,000 127,899,000 210,773,000 62,121,000 55,514,000 39,744,000 -273,770,000 33,397,000 33,086,000 24,565,000 4,389,000 -246,737,000 26,351,000 221,461,000 70,158,000 92,599,000 28,502,000                             
        limited partners
                                    1,565,307,000 1,582,224,000 1,625,515,000 1,661,900,000 1,699,483,000 1,731,641,000 1,774,277,000 1,744,810,000 1,788,360,000 1,823,354,000 1,864,824,000 1,921,726,000 2,374,962,000 2,438,133,000 2,501,684,000 2,679,791,000 2,426,602,000 2,755,526,000 2,817,069,000 2,553,995,000 2,561,460,000 2,548,953,000 2,626,231,000 2,636,632,000 2,371,154,000 25,988,732,423,689,000 2,163,973,000 2,165,327,000 2,147,648,000 2,173,462,000 2,205,717,000 2,117,901,000 1,927,108,000 1,926,126,000 1,806,535,000 1,805,633,000 1,813,885,000              
        basic and diluted net income per unit applicable to limited partners:
                                                                                      
        basic weighted-average limited partner units outstanding
                                    78,031,053,000 77,886,219,000 77,886,078,000                                                
        diluted weighted-average limited partner units outstanding
                                    78,062,889,000 77,939,279,000 77,956,824,000                                                
        receivable from related parties
                                           164,000 45,000 144,000 212,000 51,084,000 26,529,000 78,042,000 89,366,000                                    
        investment in joint venture
                                                    68,188,000 69,073,000 66,687,000 67,203,000 67,272,000 69,068,000 68,799,000 68,795,000 69,343,000 6,960,368,728,000 69,761,000 70,137,000 69,626,000                      
        net income per unit applicable to limited partners:
                                                                                      
        weighted-average limited partner units outstanding
                                       77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 77,886,078,000 72,383,578,000 70,756,078,000 70,756,078,000 65,018,301,000 64,612,423,000 64,610,549,000 64,610,549,000 64,610,549,000 62,289,670,000 60,210,549,000  54,460,549,000 54,460,549,000 54,460,549,000                      
        less net income attributable to noncontrolling interest
                                            -173,000 -115,000 -107,000  -161,000 -117,000 -161,000   -97,000 140,000   14,000                             
        less comprehensive loss attributable to noncontrolling interest
                                            -159,000 -117,000 -552,000                                        
        comprehensive income attributable to nustar energy l.p.
                                        38,878,000 85,167,000 107,798,000  58,326,000 64,043,000 38,270,000  39,519,000 30,267,000 22,462,000   -11,794,000                                 
        equity in loss of joint ventures
                                              -4,306,000                                        
        investment in joint ventures
                                           74,223,000 72,872,000 72,908,000 70,342,000 68,735,000 70,812,000 77,354,000 87,572,000 116,139,000              68,813,000 85,938,000 83,816,000 82,067,000 80,366,000 78,503,000 76,890,000 75,688,000 74,077,000 74,103,000 74,602,000 73,794,000  41,183,000        
        note receivable from related party
                                               165,440,000 146,472,000 193,672,000 159,200,000 170,711,000                                   
        total nustar energy l.p. partners’ equity
                                           1,716,210,000 1,768,645,000 1,808,370,000 1,842,378,000 1,902,136,000 2,370,574,000 2,429,132,000 2,497,017,000 2,659,185,000 2,408,269,000 2,751,062,000                                 
        noncontrolling interest
                                             989,000 1,106,000 1,658,000 10,405,000 11,134,000 12,163,000 12,914,000 12,848,000 13,156,000 12,134,000 12,682,000 14,745,000 15,566,000                             
        gain on legal settlement
                                                    -28,738,000                                  
        income tax receivable
                                            3,661,000 4,551,000 3,520,000 826,000 25,000 25,000 1,186,000 995,000 1,952,000 9,221,000 4,148,000                                
        income from continuing operations before income taxexpense
                                            63,452,000 59,052,000                                         
        less income attributable to noncontrolling interest
                                               -10,901,000                                       
        income from continuing operations beforeincome tax (benefit) expense
                                                32,673,000                                      
        income tax (benefit) expense
                                                -563,000                                      
        less comprehensive income attributable to noncontrolling interest
                                                -729,000 -1,029,000 -448,000   1,022,000                                 
        service revenues:
                                                                                      
        total service revenues
                                                 233,633,000 227,283,000 221,821,000 208,582,000 206,145,000 825,938,000 210,681,000 199,615,000 198,393,000                             
        product sales:
                                                                                      
        total product sales
                                                 670,563,000                                     
        less net income attributable tononcontrolling interest
                                                   -47,000 -73,000   123,000 6,000                              
        net income per unit applicable tolimited partners
                                                   -90 -3,560                                  
        less comprehensive income attributableto noncontrolling interest
                                                   66,000 -308,000                                  
        comprehensive income attributable tonustar energy l.p.
                                                   -4,084,000 -253,693,000                                  
        equity in earnings of joint venture
                                                    2,381,000 2,386,000 11,458,000 2,599,000 2,010,000 2,388,000 2,454,000 2,102,000                           
        net income per unit applicable to limited partners
                                                     230 2,780 920 1,270 300 900 1,430 190  1,030 1,380 580  2,600 150 1,010                  
        accumulated other comprehensive income
                                                      -27,407,000 -97,912,000 26,152,000 57,931,000 5,944,000 34,000 6,936,000 465,007,810,000 5,961,000   -14,266,000 11,869,000 25,686,000 23,607,000 26,887,000 27,542,000 18,181,000 7,829,000 6,819,000 7,695,000 7,798,000 933,000  641,000        
        total nustar energy l.p. partners' equity
                                                      2,852,201,000 2,512,367,000 2,644,221,000 2,663,017,000                             
        services revenues:
                                                                                      
        notes payable
                                                             20,000,000 10,500,000 20,000,000 20,533,000 22,120,000 24,959,000 15,798,000 182,800,000  1,247,000 3,096,000 4,895,000              
        equity earnings from joint venture
                                                            3,015,000                          
        fair value hedges:
                                                                                      
        futures – short:
                                                                                      
        cash flow hedges:
                                                                                      
        economic hedges:
                                                                                      
        futures – long:
                                                                                      
        swaps – long:
                                                                                      
        swaps – short:
                                                                                      
        total fair value of open positions exposed to commodity price risk
                                                             -19,051,000                         
        equity earnings from joint ventures
                                                              2,374,000 3,011,000 2,313,000 8,030,000 2,122,000 1,749,000 2,201,000 6,833,000 1,613,000 1,746,000 1,611,000 5,882,000             
        taxes other than income taxes
                                                                16,046,000 15,333,000 22,137,000 15,111,000 12,254,000 10,157,000 12,856,000 9,993,000 10,106,000 10,219,000 12,020,000 10,088,000 8,383,000  13,333,000 3,430,000 2,312,000 4,705,000 2,565,000 4,441,000 3,797,000  
        income taxes payable
                                                                2,836,000 4,504,000 4,169,000 4,404,000 5,371,000 3,442,000 3,717,000 578,000 907,000 2,068,000 1,154,000 3,371,000 3,923,000  1,936,000        
        total services revenues
                                                                 740,630,000    696,623,000 185,979,000 160,060,000 157,282,000 624,701,000 161,888,000 152,094,000 147,929,000          
        income from discontinued operations, net of income tax
                                                                         -376,000             
        less net income applicable to general partner
                                                                 -29,350,000 -9,817,000 -5,885,000 -6,202,000 -21,063,000 -5,842,000 -5,118,000  -16,910,000             
        net income applicable to limited partners
                                                                 224,668,000 141,460,000 8,205,000 49,667,000 129,235,000 45,371,000 34,579,000 26,669,000 132,620,000             
        income per unit applicable to limited partners:
                                                                                      
        weighted-average number of basic units outstanding
                                                                 53,182,741,000 54,460,549,000 54,372,035,000 49,409,749,000 47,158,790,000 46,809,749,000 46,809,749,000 46,809,749,000              
        deferred charges and other assets
                                                                  55,915,000 55,050,000 53,002,000 20,098,000 19,076,000 21,010,000 22,283,000 22,683,000 22,128,000 21,248,000 11,692,000          
        services revenues
                                                                    180,116,000                  
        property and equipment, at cost
                                                                     2,944,116,000 2,866,120,000 2,798,100,000 2,725,056,000 2,694,358,000 2,497,919,000 2,469,183,000 2,436,299,000          
        property and equipment
                                                                     2,492,086,000 2,439,969,000 2,398,287,000 2,351,067,000 2,345,135,000 2,172,582,000 2,166,556,000 2,156,552,000  2,447,096,000 995,900,000 985,645,000 981,360,000     
        income from continuing operations before income tax benefit
                                                                      54,784,000    40,555,000            
        income tax benefit
                                                                      3,571,000              395,000  
        cash distributions per unit applicable to limited partners
                                                                      985 950 915  915 885 885  855 855 800  800    
        deferred tax asset
                                                                        11,081,000              
        deferred tax liability
                                                                        33,880,000              
        less net income applicable general partner
                                                                        -4,454,000              
        assets of businesses held for sale
                                                                                      
        liabilities of businesses held for sale
                                                                                      
        long-term payable to valero gp holdings, llc
                                                                         5,749,000             
        long-term payable to valero energy
                                                                          5,765,000 5,792,000 5,851,000          
        deferred income taxes
                                                                         21,584,000 20,296,000 21,653,000 9,477,000  8,692,000        
        common units
                                                                         1,830,047,000 1,839,881,000 1,844,449,000 1,745,214,000  1,761,620,000 309,337,000 310,142,000 310,507,000 311,259,000 310,589,000 170,655,000  
        subordinated units
                                                                            113,149,000  117,374,000 117,105,000 117,700,000 117,968,000 118,508,000 118,005,000 117,042,000  
        general partner’s equity
                                                                         38,815,000 39,095,000 38,845,000 39,184,000  39,298,000 10,137,000 9,800,000 9,836,000 9,930,000 9,569,000 6,198,000  
        valero energy
                                                                         260,980,000 69,209,000 64,418,000 60,671,000          
        depreciation and amortization
                                                                         100,266,000      8,791,000 8,732,000 33,149,000 7,874,000 26,267,000   
        interest and other income
                                                                         -61,427,000       -5,829,000 -20,950,000     
        weighted-average number of basic and diluted units outstanding
                                                                         46,809,749,000 46,809,749,000 46,809,749,000      23,041,394,000 23,041,394,000 21,706,164,000 19,250,867,000  
        receivable from valero energy
                                                                          21,132,000 20,559,000 19,780,000  20,538,000 19,666,000 18,945,000 19,195,000 21,733,000 15,781,000   
        payable to valero energy
                                                                          12,712,000 10,877,000 9,223,000  11,694,000 4,536,000 3,338,000 4,166,000 4,805,000 9,849,000   
        equity earnings in joint ventures
                                                                          1,464,000 1,844,000   1,541,000        
        interest and other incomes
                                                                           -16,876,000 -15,465,000          
        income from discontinued operations
                                                                           -239,000 -138,000  4,410,000        
        less general partner’s interest and incentive distributions
                                                                           -4,041,000 -4,199,000          
        limited partners’ interest in net income
                                                                          36,859,000 27,512,000 35,252,000  41,275,000 17,005,000 17,788,000 72,491,000 18,481,000 65,634,000 52,306,000  
        income loss per unit applicable to limited partners:
                                                                                      
        equity earnings in joint ventures pipeline company
                                                                            1,206,000          
        weighted-average units outstanding
                                                                            46,809,749,000  46,809,749,000        
        liabilities and partners' equity
                                                                                      
        partners' equity:
                                                                                      
        less general partner's interest and incentive distributions
                                                                                      
        limited partners' interest in net income
                                                                                      
        finished goods inventories
                                                                              13,358,000        
        other noncurrent assets
                                                                              11,469,000 19,935,000 14,212,000  5,958,000    
        accounts payable and other accrued liabilities
                                                                              101,612,000 18,227,000 12,071,000 16,055,000     
        services
                                                                              153,371,000        
        product
                                                                              110,175,000        
        cost of sales
                                                                              101,217,000        
        less accumulated depreciation and amortization
                                                                                -204,936,000 -196,361,000 -171,741,000 -163,884,000 -137,663,000  
        investment in skelly-belvieu pipeline company
                                                                               16,360,000 16,052,000 15,674,000 15,568,000 15,703,000 16,090,000  
        revenues
                                                                               58,306,000 56,635,000 220,792,000 52,324,000 181,450,000 118,458,000  
        equity income from skelly-belvieu pipeline company
                                                                               421,000 378,000 1,344,000 553,000 2,416,000 3,188,000  
        allocation of net income:
                                                                                      
        general partner’s interest in net income
                                                                                -1,476,000 -5,927,000 -1,489,000 -3,959,000 -2,187,000  
        basic and diluted net income per unit applicable to limited partners
                                                                               740 770 3,150 800 3,020 2,720  
        weighted-average number of basic and diluted limited partnership units outstanding
                                                                               23,041,394,000 23,041,394,000      
        other noncurrent assets, net of accumulated amortization of 2,064 and 1,040 as of 2004 and 2003, respectively
                                                                                 12,140,000     
        less net income applicable to the wichita falls business for the month ended january 31, 2002
                                                                                      
        net income applicable to the general and limited partners’ interest
                                                                                 78,418,000  69,593,000 54,493,000  
        accounts payable and accrued liabilities
                                                                                  13,289,000 16,145,000 8,133,000  
        goodwill, net of accumulated amortization of 1,279
                                                                                   4,715,000   
        other noncurrent assets, net of accumulated amortization of 1,040 and 250 as of 2003 and 2002, respectively
                                                                                   4,003,000   
        less net income applicable to the period january 1, 2001 through april 15, 2001
                                                                                      
        receivable from parent
                                                                                    8,482,000  
        goodwill, net of accumulated amortization of 1,279 as of 2002 and 2001
                                                                                    4,715,000  
        other noncurrent assets, net of accumulated amortization of 250 and 90 as of 2002 and 2001, respectively
                                                                                    1,733,000  
        deferred income tax liabilities
                                                                                      
        net parent investment in the wichita falls business
                                                                                      
        income before income tax benefit
                                                                                    55,538,000  
        general partner interest in net income applicable to the period after april 15, 2001
                                                                                      
        limited partners' interest in net income applicable to the period after april 15, 2001
                                                                                      
        basic and diluted net income per unit applicable to the period after april 15, 2001
                                                                                      
        weighted-average number of units outstanding for the period from april 16 to december 31, 2001
                                                                                      
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-06-30 2009-03-31 2008-12-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-12-31 2006-09-30 2006-06-30 2006-03-31 2005-09-30 2005-06-30 2005-03-31 2004-03-31 
                                                                                     
          cash flows from operating activities:
                                                                                     
          net income
        42,742,000 70,391,000 51,195,000 46,141,000 105,936,000 91,603,000 59,633,000 59,199,000 12,312,000 57,518,000 -124,933,000 63,383,000 42,257,000 15,532,000 -96,640,000 29,766,000 -147,641,000 78,408,000 47,811,000 45,951,000 -277,863,000 2,126,000 48,136,000 29,399,000 126,133,000 25,182,000 38,592,000 26,250,000 57,940,000 -11,056,000 51,141,000 52,517,000 57,401,000 59,480,000 65,016,000 54,325,000 127,899,000 53,394,000 61,948,000 55,399,000 39,637,000 -375,280,000 33,236,000 32,969,000 24,404,000 -11,023,000 4,342,000 -246,810,000 26,254,000 30,199,000 70,281,000 92,605,000 28,516,000 51,535,000 68,310,000 99,422,000 19,703,000 37,345,000 64,440,000 83,735,000 39,355,000 32,782,000 151,277,000 14,090,000 55,869,000 28,265,000 51,213,000 39,697,000 31,123,000 37,357,000 41,169,000 31,553,000 39,451,000 45,167,000 18,852,000 19,264,000 19,970,000 
          adjustments to reconcile net income to net cash from operating activities:
                                                                                     
          depreciation and amortization expense
        64,656,000 64,239,000 64,295,000 63,567,000 63,609,000 64,971,000 65,075,000 64,063,000 65,127,000 65,031,000 68,007,000 70,877,000 70,465,000 70,884,000 72,585,000 71,385,000 70,247,000 70,629,000 68,548,000 67,877,000 74,406,000 74,295,000 75,700,000 75,864,000 72,015,000 70,589,000 69,178,000 67,601,000 56,864,000 55,997,000 53,946,000 53,651,000 53,142,000 52,687,000 52,301,000 52,765,000 52,457,000 48,943,000 48,599,000 47,936,000 46,230,000 47,178,000 47,597,000 46,662,000 42,926,000 40,708,000 39,686,000 45,576,000 44,681,000 43,932,000 42,418,000 41,640,000 40,296,000 39,149,000 38,539,000 38,185,000 37,929,000 37,420,000 36,786,000 35,548,000 35,989,000 35,690,000 35,143,000   29,557,000            
          amortization of unit-based compensation
        4,340,000 3,895,000 4,350,000 3,674,000 3,628,000 3,920,000 3,115,000 3,334,000 3,412,000 3,746,000 3,309,000 3,283,000 3,871,000 3,379,000 2,905,000 2,608,000 2,585,000                                                             
          amortization of debt related items
        3,011,000 2,966,000 2,836,000 2,617,000 2,607,000 2,604,000 2,578,000 2,553,000 2,532,000 3,469,000 2,996,000 2,983,000 3,042,000 3,177,000 4,310,000 2,514,000 1,462,000 1,218,000 1,348,000 1,333,000 1,310,000 1,462,000 1,961,000 2,552,000 1,413,000 1,470,000 1,531,000 1,578,000 1,568,000 1,715,000 1,797,000 1,948,000 2,017,000 2,147,000 2,208,000 2,248,000 2,237,000 1,954,000 2,270,000 2,321,000 2,424,000 2,608,000 1,263,000 1,631,000 -1,173,000 -1,298,000 -1,066,000 -1,740,000 -2,912,000 -4,064,000 -3,638,000 -2,717,000 -1,973,000 -1,955,000 -1,944,000 -1,960,000 -1,908,000  -1,805,000 -1,754,000 -1,707,000 -1,661,000 -1,616,000 -1,584,000 -1,586,000             
          gain on sale of assets
          -41,075,000                                                                         
          changes in current assets and current liabilities
        20,714,000 -30,944,000 39,777,000 -30,829,000 32,614,000 -32,102,000 63,779,000 -48,452,000 17,512,000 -29,825,000 59,011,000 -67,730,000 24,397,000 7,374,000 10,728,000 3,611,000 -9,785,000 -6,683,000 -1,853,000 -2,826,000 -33,403,000 47,019,000 -11,490,000 32,042,000 10,691,000 -8,822,000 -2,327,000 23,798,000 -39,142,000 16,193,000 2,797,000 -2,784,000 -12,490,000 30,756,000 28,305,000 -728,000 -7,774,000 81,338,000 13,570,000 26,305,000 -38,795,000 -4,062,000 56,961,000 -13,709,000 73,586,000 -18,503,000 184,838,000 370,000 -76,458,000 -49,026,000 -14,691,000 31,163,000 -232,899,000 106,448,000 62,200,000 -157,089,000 -18,426,000  177,911,000 -185,537,000 -53,600,000 210,254,000 21,157,000 -15,012,000 -83,382,000  -31,782,000 -16,602,000 5,288,000         
          decrease in other long-term assets
        4,681,000   2,398,000 3,294,000   2,982,000 3,644,000   3,059,000 2,381,000                                                                 
          increase in other long-term liabilities
        1,510,000  -848,000   -2,104,000    -1,062,000 588,000 -4,484,000 -1,678,000 411,000 3,908,000 2,653,000 948,000   -118,000 9,275,000                                                         
          other
        -1,920,000 -1,866,000 216,000 -2,372,000 -4,300,000 928,000 151,000 -1,666,000 -4,169,000 736,000 1,545,000 -2,791,000 922,000 -4,786,000 -4,971,000 2,600,000 7,308,000 -578,000 -761,000 -317,000 -658,000 -203,000 -203,000 10,839,000 -11,246,000 6,494,000 -12,094,000 3,710,000 3,717,000 1,329,000 -12,531,000 4,091,000 111,000 2,296,000 -7,684,000 5,182,000 2,150,000 15,915,000 -8,180,000 8,649,000 2,060,000 15,757,000 3,896,000 9,171,000 -742,000 -2,967,000 -8,265,000 -5,686,000 2,250,000 -29,036,000 2,846,000 1,333,000 278,000 659,000 -176,000 -473,000 -50,000  -2,677,000 518,000 124,000 -2,382,000 428,000 856,000 1,596,000 11,697,000 -7,947,000 -290,000 -4,168,000 -9,704,000 4,491,000 -1,582,000 -1,997,000 3,395,000 -39,000 115,000 57,000 
          net cash from operating activities
        139,734,000 107,868,000 154,096,000 87,721,000 164,584,000 113,771,000 191,491,000 76,457,000 145,830,000 94,379,000 192,862,000 68,580,000 145,657,000 133,139,000 122,418,000 119,013,000 151,428,000 154,096,000 113,767,000 137,326,000 103,568,000 180,887,000 119,470,000 120,686,000 123,164,000 95,784,000 102,027,000 125,008,000 83,980,000 122,212,000 99,516,000 113,306,000 101,727,000 148,813,000 138,937,000 114,605,000 122,582,000 203,328,000 114,813,000 137,057,000 63,325,000 106,679,000 146,985,000 87,155,000 144,400,000 27,324,000 239,761,000 41,731,000 -9,613,000 -7,403,000 100,047,000 167,622,000 -165,798,000 181,667,000 167,180,000 -23,596,000 37,249,000 -25,656,000 274,876,000 -90,925,000 22,287,000 253,749,000 203,091,000 31,164,000 -2,823,000 75,830,000 39,405,000 49,463,000 57,974,000 68,832,000 74,596,000 50,331,000 57,052,000 81,582,000 38,516,000 15,300,000 13,176,000 
          cash flows from investing activities:
                                                                                     
          capital expenditures
        -34,644,000 -46,414,000 -46,562,000 -32,449,000 -22,083,000 -29,193,000 -40,012,000 -38,675,000 -32,750,000 -50,167,000 -43,772,000 -46,731,000 -40,463,000 -57,737,000 -43,984,000 -40,075,000 -56,283,000 -98,525,000 -115,082,000 -160,532,000 -159,429,000 -119,012,000 -89,919,000 -110,647,000 -137,874,000 -164,021,000 -111,768,000 -63,117,000 -45,732,000 -58,944,000 -50,053,000 -49,185,000 -46,176,000 -84,137,000 -87,050,000 -80,741,000 -72,880,000 -127,417,000 -110,676,000 -64,386,000 -54,486,000 -82,619,000 
          free cash flows
        105,090,000 61,454,000 107,534,000 55,272,000 142,501,000 84,578,000 151,479,000 37,782,000 113,080,000 44,212,000 149,090,000 21,849,000 105,194,000 75,402,000 78,434,000 78,938,000 95,145,000 55,571,000 -1,315,000 -23,206,000 -55,861,000 61,875,000 29,551,000 10,039,000 -14,710,000 -68,237,000 -9,741,000 61,891,000 38,248,000 63,268,000 49,463,000 64,121,000 55,551,000 64,676,000 51,887,000 33,864,000 49,702,000 75,911,000 4,137,000 72,671,000 8,839,000 24,060,000 146,985,000 87,155,000 144,400,000 27,324,000 239,761,000 41,731,000 -9,613,000 -7,403,000 100,047,000 167,622,000 -165,798,000 181,667,000 167,180,000 -23,596,000 37,249,000 -25,656,000 274,876,000 -90,925,000 22,287,000 253,749,000 203,091,000 31,164,000 -2,823,000 75,830,000 39,405,000 49,463,000 57,974,000 68,832,000 74,596,000 50,331,000 57,052,000 81,582,000 38,516,000 15,300,000 13,176,000 
          change in accounts payable related to capital expenditures
        -5,546,000 3,334,000 4,185,000 5,758,000 -4,308,000 -3,070,000 -1,000,000 5,782,000 -14,498,000 6,728,000 -119,000 104,000 -5,449,000 5,217,000 -353,000 197,000 -15,706,000 -90,000 -28,785,000 -3,257,000 19,401,000 10,947,000 690,000 -7,302,000 -12,018,000 23,631,000 6,421,000 13,671,000 -6,820,000 4,441,000 -2,830,000 -11,000 -12,663,000 4,646,000 152,000 5,510,000 -13,464,000 -6,007,000 24,725,000 -5,255,000 -8,560,000 -2,505,000                                    
          proceeds from insurance recoveries
         12,395,000 3,972,000 5,805,000            78,419,000                                                     
          proceeds from sale or disposition of assets
        42,000     -369,000 112,000 59,190,000 341,000 246,136,000 35,000 174,000 130,000 104,736,000 117,000 5,222,000 565,000 227,838,000 171,000 64,000 79,000 1,480,000 123,000 2,078,000 19,000 13,000 57,000 107,000 1,859,000     7,000 15,818,000 122,000 1,185,000 37,000 11,534,000 14,375,000 66,000 2,539,000 112,735,000   7,103,000 4,541,000   1,641,000 156,000   618,000 1,835,000   229,000 300,000 29,037,000 114,000                 
          net cash from investing activities
        -40,148,000 -42,957,000 -42,365,000 -26,592,000 88,674,000 -28,660,000 -40,900,000 26,297,000 -41,102,000 202,697,000 -34,484,000 -46,453,000 -45,782,000 52,216,000 -44,220,000 -34,656,000 -71,424,000 -98,486,000 82,913,000 -163,725,000 -139,949,000 163,435,000 -92,386,000 -153,373,000 -71,454,000 -139,400,000 -90,290,000 -1,526,058,000 59,307,000 -150,160,000 -52,883,000 -49,196,000 -58,839,000 -74,594,000 -71,223,000 -76,376,000 -229,836,000 -133,387,000 -75,247,000 -55,266,000 -76,331,000 -113,243,000 -53,141,000 -141,459,000 -3,118,000 -323,770,000 160,389,000 -82,205,000 -100,214,000 -90,599,000 -90,522,000 -135,732,000 -126,401,000 -77,823,000 -72,114,000 -93,256,000 -57,022,000  -48,659,000 -9,611,000 -20,083,000 -18,679,000 -48,332,000 -197,442,000 -692,064,000 -80,211,000 -45,980,000 -65,920,000 -46,285,000 -230,543,000 6,408,000 -29,034,000 39,935,000   -6,239,000 -39,449,000 
          cash flows from financing activities:
                                                                                     
          proceeds from long-term debt borrowings
        142,500,000 165,700,000 398,200,000 322,700,000 120,300,000  107,700,000 227,400,000 253,000,000  158,500,000 220,100,000 270,400,000    135,200,000 93,900,000 149,600,000 185,800,000 230,000,000 268,700,000 308,181,000 557,561,000 119,711,000 242,563,000 186,043,000 892,895,000 144,266,000 228,747,000 175,078,000 180,815,000 168,089,000 112,352,000 138,044,000 279,203,000 330,532,000 206,283,000 132,119,000 160,104,000 245,213,000 439,231,000 253,814,000 711,180,000 334,226,000 743,977,000 443,370,000 907,680,000 454,118,000 208,647,000 121,338,000 242,084,000 343,680,000 123,931,000 104,079,000 365,000,000 306,355,000 291,247,000 280,000,000 429,411,000 158,778,000                 
          long-term debt repayments
        -159,600,000 -155,500,000 -311,800,000 -126,100,000 -301,600,000  -177,900,000 -259,300,000 -268,800,000  -255,100,000 -170,200,000 -418,100,000   -600,100,000 -104,615,000 -58,300,000 -253,800,000 -553,200,000 -63,600,000 -531,278,000 -309,977,000 -826,100,000 -79,421,000 -212,800,000 -82,500,000 -915,045,000 -207,194,000 -361,402,000 -226,558,000 -90,483,000 -93,709,000 -135,000,000 -95,118,000 -187,126,000 -83,166,000 -172,501,000 -119,236,000 -142,753,000 -189,280,000 -253,561,000 -813,227,000 -365,750,000 -718,205,000 -361,297,000 -1,027,300,000 -805,934,000 -453,944,000 -419,997,000 -122,160,000 -143,599,000 -82,394,000 -58,130,000 -509,550,000 -406,762,000 -229,871,000  -478,118,000 -225,532,000 -115,390,000 -473,231,000 -280,000,000 -627,553,000 -645,000,000 -797,908,000 -107,500,000 -84,000,000 -88,567,000   -27,000,000 -11,480,000   -466,000  
          distributions to preferred unitholders
        -23,283,000 -23,346,000 -28,160,000 -32,229,000 -32,661,000 -32,806,000 -32,061,000 -31,407,000 -31,025,000 -31,888,000 -31,889,000 -31,887,000 -31,887,000 -31,888,000 -31,888,000 -30,423,000 -30,423,000 -30,424,000 -30,423,000 -30,423,000 -30,423,000 -30,423,000 -27,534,000 -16,033,000 -16,680,000 -12,152,000 -15,985,000 -4,813,000 -5,883,000                                                 
          distributions to common unitholders
        -50,613,000 -50,358,000 -44,362,000 -44,362,000 -44,362,000 -44,125,000 -44,124,000 -44,123,000 -44,041,000 -43,827,000 -43,813,000 -43,812,000 -43,811,000  -43,679,000 -43,677,000 -65,169,000                                                             
          net cash from financing activities
        -96,909,000 -66,428,000 -110,797,000 -62,517,000 -262,688,000 -78,065,000 -147,349,000 -109,825,000 -99,714,000 -299,340,000 -173,386,000 -27,124,000 -225,729,000 -88,519,000 -40,546,000 -85,230,000 -77,089,000 -53,549,000 -197,858,000 26,640,000 47,117,000 -354,766,000 -22,551,000 38,296,000 -60,846,000 34,210,000 -8,301,000 1,402,413,000 -152,050,000 31,911,000 -116,005,000 -91,755,000 -35,475,000 -69,372,000 -57,938,000 -5,930,000 104,011,000 -4,139,000 -64,226,000 -77,118,000 -42,702,000 86,143,000 -110,947,000 -16,977,000 -107,569,000 274,031,000 -328,452,000 35,170,000 129,920,000 54,843,000 -74,962,000 26,314,000 180,526,000 -9,511,000 -42,025,000 129,407,000 -21,605,000  -271,354,000 138,114,000 -33,151,000 -220,782,000 -172,515,000 151,207,000 682,153,000 22,335,000 20,623,000 11,218,000 -17,116,000   -75,803,000 -25,703,000   -16,410,000 24,142,000 
          effect of foreign exchange rate changes on cash
        32,000 10,000 -280,000 140,000 170,000 -43,000 -13,000 587,000 176,000 -47,000 -544,000 252,000 475,000 1,296,000 565,000 458,000 -1,403,000 -1,205,000 420,000 107,000 154,000 -491,000 -298,000 -393,000 -28,000 83,000 988,000 623,000 26,000 -683,000 -985,000 -253,000 4,642,000 -2,410,000 -4,988,000 1,155,000 -6,486,000 -3,576,000 1,270,000 1,805,000 -2,437,000 -3,355,000 -505,000 -3,105,000 -802,000 -1,439,000 1,611,000 1,755,000 106,000 1,442,000 -4,225,000 235,000 989,000 922,000 -1,729,000 1,849,000 -478,000 446,000 3,261,000 4,281,000 -1,562,000 -9,628,000 -2,667,000 991,000 -1,886,000 -4,487,000 -1,902,000 5,623,000 430,000   1,613,000 -1,905,000     
          net increase in cash, cash equivalents and restricted cash
        2,709,000 -1,507,000   -9,260,000 7,003,000   5,190,000 -2,311,000 -15,552,000 -4,745,000 -125,379,000 98,132,000 38,217,000 -415,000 1,512,000 856,000 -758,000 348,000 10,890,000                                                         
          cash, cash equivalents and restricted cash as of the beginning of the period
        12,016,000 23,377,000 14,439,000 162,426,000 24,980,000 13,644,000                                                         
          cash, cash equivalents and restricted cash as of the end of the period
        14,725,000 -1,507,000 654,000 -1,248,000 14,117,000 7,003,000 3,229,000 -6,484,000 19,629,000 -2,311,000 -15,552,000 -4,745,000 37,047,000 98,132,000 38,217,000 -415,000 26,492,000 856,000 -758,000 348,000 24,534,000                                                         
          gain from sale or disposition of assets
                          3,869,000     -1,199,000 -19,000 64,000 4,956,000    -12,000 -6,000 4,000  -1,467,000 -90,000 -75,000  -3,752,000 -64,000 -24,000   458,000 -9,204,000                                 
          gain from insurance recoveries
             -15,741,000    -5,488,000            -78,756,000                                                     
          goodwill impairment loss
                           31,123,000                                                         
          other impairment losses
                                                                                    
          decrease in other long-term liabilities
            -1,729,000   -5,556,000 -662,000                                                                     
          redemption/repurchase of series d preferred units
                                                                                     
          proceeds from issuance of common units, net of issuance costs
         -56,000                      20,000                  -247,000    315,702,000    -10,000 -139,000                     
          payment of tax withholding for unit-based compensation
                 -2,744,000 -8,000 -31,000 -601,000 -1,207,000 -1,000 -8,820,000 -2,193,000 -210,000 -2,000 -6,366,000                                                         
          impairment loss
               46,122,000                                                                     
          increase in other long-term assets
                     2,216,000       -74,000 -705,000 8,900,000           23,000                                            
          proceeds from sale or disposition of assets, net of transaction costs
          12,000 99,000 102,670,000                                                                         
          redemption of series d preferred units
          -344,165,000                                                                           
          net decrease in cash, cash equivalents and restricted cash
                                                                                     
          (gain) income from sale or disposition of assets
                             -830,000       -48,000                                                 
          goodwill impairment losses
                                                                                     
          loss on extinguishment of debt
                                                                                    
          deferred income tax (benefit) expense
                         129,000 -30,000 272,000 -847,000                -535,000     -2,924,000           -551,000 199,000 369,000                       
          decrease (increase) in other long-term assets
                 1,684,000       2,303,000 3,901,000 2,929,000                                                           
          proceeds from term loan, net of discount and issuance costs
                     -6,000                                                               
          proceeds from note offerings, net of issuance costs
                     -1,907,000                                                                
          proceeds from other long-term debt borrowings
                     3,700,000 553,064,000                                                              43,000,000 
          proceeds from short-term debt borrowings
                     52,000,000 54,000,000 75,000,000 97,000,000 81,500,000 80,000,000 82,500,000 226,000,000 230,000,000 303,000,000 183,000,000 299,000,000 266,000,000 192,000,000 183,000,000 145,000,000 134,000,000 201,500,000 190,000,000 269,000,000 163,000,000 369,700,000 170,800,000       15,450,000 56,430,000 2,200,000 31,600,000 1,250,000 84,079,000 91,712,000 141,924,000 117,228,000 147,400,000 42,200,000 156,100,000 121,100,000               
          term loan repayment, including debt extinguishment costs
                     -3,194,000                                                                
          other long-term debt repayments
                     -7,200,000                                                                
          repurchase of series d preferred limited partner units
                                                                                     
          short-term debt repayments
                     -10,000,000 -47,500,000 -60,000,000 -69,500,000 -96,500,000 -94,500,000 -72,000,000 -135,000,000 -233,000,000 -195,000,000 -336,000,000 -160,000,000 -326,000,000 -248,000,000 -145,000,000 -176,000,000 -226,000,000 -137,000,000 -159,500,000 -194,000,000 -269,000,000 -194,000,000 -314,100,000 -149,400,000     -250,000,000 -577,000 -15,450,000 -56,430,000 -2,200,000 -31,600,000 -1,250,000 -84,079,000 -111,712,000  -126,728,000 -147,933,000 -43,787,000 -158,939,000 -111,939,000               
          payments for termination of interest rate swaps
                                                 -17,442,000 -16,255,000    -25,358,000                             
          increase in cash book overdrafts
                   191,000 267,000         2,962,000 409,000   172,000 243,000       9,327,000 1,414,000                           1,440,000   -3,433,000 -1,988,000   345,000         
          asset and goodwill impairment losses
                     225,000,000                                                            
          proceeds from issuance of common units
                                                                                     
          decrease in cash book overdrafts
                       -165,000 -1,194,000  -23,000 -1,110,000 -3,608,000    -1,009,000    -283,000  -1,015,000 -2,367,000 -8,799,000    -14,294,000                -529,000  -3,235,000 -889,000 -4,622,000  2,102,000 606,000 -9,114,000           -2,621,000 -4,273,000     
          asset impairment losses
                                                                                     
          income from sale or disposition of assets
                     34,740,000                                                                
          deferred income tax expense
                             703,000 198,000 300,000 842,000   -268,000 291,000  427,000 2,106,000 456,000 1,432,000 258,000   1,014,000 322,000 -923,000 3,054,000     139,000 -3,651,000   221,000 2,643,000                           
          acquisition
                                                            -52,577,000         -147,222,000 -655,962,000             
          proceeds from issuance of series d preferred units
                             190,000,000                                                       
          payment of issuance costs for series d preferred units
                             -16,000 -4,898,000                                                       
          proceeds from issuance of common units, including contributions from general partner
                                                                                     
          distributions to common unitholders and general partner
                         -64,671,000 -64,658,000 -64,658,000 -64,367,000 -64,228,000 -64,225,000 -57,052,000 -115,272,000 -115,084,000 -115,083,000 -117,118,000 -99,021,000                                                 
          cash consideration for merger
                             -6,524,000                                                        
          (payments for) proceeds from termination of interest rate swaps
                                                                                   
          proceeds from sale of the st. eustatius operations
                                                                                     
          proceeds from note offering, net of issuance costs
                         -8,000 -77,000       20,000               -288,000 296,092,000 -158,000 391,217,000                                 
          deferred income tax benefit
                        -999,000                           -155,000 -1,192,000    -1,042,000                             
          acquisitions
                               15,000,000       -142,500,000             3,000 -245,000                          -28,085,000 
          proceeds from axeon term loan
                                 110,000,000                                                 
          proceeds from issuance of other preferred units, net of issuance costs
                                                                                     
          contributions from general partner
                                140,000   105,000                   6,638,000                        
          proceeds from termination of interest rate swaps
                                                       20,801,000 3,520,000                           
          unit-based compensation expense
                          4,286,000 2,792,000 2,982,000 3,315,000 4,412,000 2,186,000 2,091,000 695,000 2,320,000 2,327,000 2,790,000 2,759,000 1,951,000 1,783,000 1,086,000                                             
          investment in other long-term assets
                                           -1,267,000 -2,177,000         -246,000 -78,000 -2,192,000 -94,000 -541,000 -2,869,000 -4,944,000 -636,000 -69,000 -176,000 -2,128,000 -1,096,000                     
          asset impairment loss
                            297,317,000                  2,067,000                                     
          income from sale of european operations
                                                                                     
          proceeds from sale of european operations
                                                                                     
          net decrease in cash and cash equivalents
                               5,216,000 -9,164,000  4,424,000          -9,729,000  -23,390,000             58,439,000 -110,684,000    -41,856,000    -32,509,000   -14,080,000 -14,620,000           -7,349,000 -2,131,000 
          cash and cash equivalents as of the beginning of the period
                             24,292,000 35,942,000 118,862,000 87,912,000 100,743,000 83,602,000 17,497,000 181,121,000  62,006,000  45,375,000                 
          cash and cash equivalents as of the end of the period
                             -10,935,000 4,235,000 5,216,000 15,128,000 -9,323,000 4,424,000 1,986,000 27,205,000 3,280,000 -70,357,000 -27,898,000 130,917,000 2,437,000 4,788,000 33,454,000 78,183,000 62,226,000 -23,390,000 6,478,000 42,598,000 76,224,000 -17,608,000 -74,386,000 116,513,000 -23,854,000 73,309,000 -3,549,000 37,696,000 -41,717,000 -69,662,000 58,439,000 70,437,000  51,312,000    -41,876,000                   
          net increase in cash and cash equivalents
                                    -8,737,000 3,280,000 -70,357,000 -27,898,000 12,055,000 2,437,000 4,788,000      -58,145,000 76,224,000 -17,608,000 -74,386,000 32,911,000 -23,854,000 73,309,000 -3,549,000 20,199,000 -41,717,000    95,255,000 51,312,000       4,660,000    13,467,000 12,146,000 384,000 -4,997,000 2,109,000 14,189,000 -52,893,000 69,379,000 20,066,000    
          gain associated with the linden acquisition
                                         -56,277,000                                         
          distributions of equity in earnings of joint ventures
                                         2,500,000 1,708,000 2,785,000 728,000 2,366,000 2,169,000 1,135,000 4,652,000                                 
          proceeds from issuance of preferred units, net of issuance costs
                                 166,758,000                                                   
          gain on sale or disposition of assets
                                                              -114,000    -110,000 -21,022,000 -28,000                 
          equity in earnings of joint ventures
                                                                                     
          increase in note receivable from axeon
                                                                                     
          distributions of equity in earnings of joint venture
                                                      3,098,000   4,977,000 2,668,000 3,806,000 2,923,000  2,450,000                       
          distributions to unitholders and general partner
                                      -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -98,051,000 -89,076,000 -89,076,000 -89,076,000 -81,475,000 -81,339,000 -79,616,000 -79,616,000 -79,616,000 -78,754,000 -73,392,000 -73,392,000  -65,838,000 -65,838,000 -65,838,000 -65,837,000 -60,574,000 -60,573,000 -54,956,000 -52,064,000 -49,879,000 -47,695,000 -47,695,000   -45,823,000 -43,950,000   -19,944,000 -18,408,000 
          asset and goodwill impairment loss
                                                                                   
          equity in (earnings) loss of joint ventures
                                             -3,059,000                                        
          equity in loss of joint ventures
                                               -3,294,000 4,306,000                                     
          (gain) loss on sale or disposition of assets
                                                                                     
          gain on legal settlement
                                                                                   
          increase in note receivable from related party
                                             -13,328,000 -30,200,000 47,200,000 -34,472,000 -63,489,000 75,000,000                                
          equity in loss (earnings) of joint ventures
                                                 13,341,000 5,358,000 10,128,000 11,143,000                                 
          reliability capital expenditures
                                                   -11,725,000 -5,742,000 -15,483,000 -8,702,000 -5,913,000 -6,805,000 -8,541,000 -12,235,000 -13,201,000 -7,372,000 -15,635,000 -13,665,000 -10,003,000 -11,259,000  -16,424,000 -10,549,000 -5,942,000 -27,668,000 -11,083,000 -9,214,000 -7,704,000 -16,779,000 -11,597,000 -7,337,000 -4,620,000   -8,992,000 -6,164,000   -1,425,000 -1,717,000 
          strategic capital expenditures
                                                   -98,906,000 -46,822,000 -74,334,000 -100,937,000 -104,942,000 -93,479,000 -83,161,000 -75,329,000 -69,947,000 -65,874,000 -62,737,000 -60,108,000 -51,644,000 -44,779,000                     
          proceeds from the san antonio refinery sale
                                                   112,715,000                                 
          gain on sale or disposition of assets, including insurance recoveries
                                                         -145,000 119,000                           
          proceeds from sale of asphalt operations
                                                                                    
          proceeds from senior note offering, net of issuance costs
                                                     -10,000 247,408,000     -143,000        -2,000 -82,000               
          equity in earnings of joint venture
                                                       -2,381,000 -2,386,000 -4,461,000 -2,599,000 -2,010,000 -2,388,000  -2,454,000                       
          east coast asphalt operations acquisition
                                                                                     
          other acquisitions
                                                                                     
          cash and cash equivalents as of the beginning of year
                                                                                     
          cash and cash equivalents as of the end of year
                                                                                     
          proceeds from insurance claims
                                                                                    
          benefit from deferred income tax
                                                                616,000  -45,000                   
          equity earnings from joint venture
                                                                -3,015,000                     
          distributions of equity earnings from joint venture
                                                                2,400,000                     
          proceeds from insurance settlement
                                                                 526,000 694,000 2,053,000 8,109,000             
          cash and cash equivalents as of end of the period
                                                                20,150,000    12,866,000                 
          benefit for deferred income tax
                                                                                     
          equity earnings from joint ventures
                                                                  -2,374,000 -3,011,000 -2,313,000 -1,958,000 -2,122,000 -1,749,000 -2,201,000 -1,863,000 -1,613,000 -1,746,000 -1,611,000         
          distributions of equity earnings from joint ventures
                                                                 2,950,000 2,750,000 2,500,000 1,500,000 2,335,000 500,000             
          strategic and other capital expenditures
                                                                  -33,220,000 -30,152,000 -22,364,000 -32,920,000 -37,758,000 -43,014,000 -32,782,000 -64,042,000 -45,100,000 -59,521,000 -42,255,000         
          acquisition of east coast asphalt operations
                                                                                     
          benefit from deferred income taxes
                                                                    2,967,000  -999,000 801,000 585,000             
          benefit for deferred income taxes
                                                                                     
          gains on sales of assets
                                                                      -177,000               
          proceeds from sale of assets
                                                                      509,000 2,008,000 4,360,000  3,442,000 756,000 586,000         
          proceeds from long-term debt borrowings, net of issuance costs
                                                                      156,685,000 424,398,000 1,207,849,000             
          cash and cash equivalents at the beginning of the period
                                                                      89,838,000  68,838,000  36,054,000 16,147,000  
          cash and cash equivalents at the end of the period
                                                                      -20,423,000 -14,080,000 75,218,000  12,146,000 384,000 63,841,000  14,189,000 -52,893,000 105,433,000 20,066,000 12,814,000 8,798,000  
          depreciation and amortization
                                                                        30,046,000   27,860,000 27,342,000 26,244,000 24,994,000 24,839,000 24,189,000 23,902,000 8,791,000 8,732,000 7,874,000 
          other non-cash gains
                                                                        -4,250,000             
          investment in other noncurrent assets
                                                                         2,000 -30,000 -34,000   -6,554,000 -1,512,000     
          proceeds from notes payable
                                                                        218,000,000             
          repayments of notes payable
                                                                        -40,257,000 -76,247,000 -1,849,000 -1,799,000 -2,458,000         
          changes in current assets and liabilities
                                                                                     
          kaneb acquisition, net of cash acquired
                                                                                     
          proceeds from sale of held separate businesses
                                                                                     
          proceeds from dispositions of other assets
                                                                                     
          distributions in excess of equity earnings from joint ventures
                                                                             -359,000        
          distributions from joint ventures
                                                                             1,491,000 1,283,000 1,278,000     
          proceeds from sale of net profit interest in coal mine
                                                                                     
          adjustments to reconcile net income to net cash
                                                                                     
          provided by operating activities:
                                                                                     
          long-term debt borrowings
                                                                           145,215,000 121,247,000  25,000,000       
          changes in operating assets and liabilities:
                                                                                     
          decrease (increase) in receivable from valero energy
                                                                             427,000 -858,000     250,000  
          decrease (increase) in accounts receivable
                                                                             -5,690,000        
          decrease (increase) in inventories
                                                                             -8,415,000        
          decrease (increase) in other current assets
                                                                             4,846,000        
          increase in payable to valero holdings gp, llc
                                                                                     
          increase in payable to valero energy
                                                                                 7,158,000   -5,044,000 
          increase in accrued interest payable
                                                                                     
          increase in accounts payable and other accrued liabilities
                                                                                     
          increase in taxes other than income taxes
                                                                             -1,860,000 1,916,000       
          expansion capital expenditures
                                                                                -9,428,000   -2,860,000 -9,840,000 
          repayment of long-term debt
                                                                                    -450,000 
          general partner contributions
                                                                                     
          supplemental cash flow information:
                                                                                     
          cash paid for interest
                                                                                     
          cash paid for income taxes
                                                                                     
          decrease in accrued interest payable
                                                                                -6,679,000     
          strategic growth capital expenditures
                                                                                     
          other acquisition
                                                                               -12,827,000     
          proceeds from sale of australia and new zealand subsidiaries
                                                                              -6,000 1,450,000 68,628,000     
          proceeds from sale of other assets
                                                                                     
          cash paid during the period for interest
                                                                              26,087,000 11,675,000 25,179,000 24,819,000 648,000 11,546,000 11,451,000 
          cash paid during the period for income taxes
                                                                              3,217,000 896,000 1,839,000     
          equity income from joint ventures
                                                                               -1,844,000 -1,293,000     
          decrease in accounts receivable
                                                                               -1,374,000 31,738,000  -278,000 1,280,000 1,824,000 
          increase in inventories
                                                                                     
          increase in other current assets
                                                                               2,969,000 -3,412,000   -872,000 -821,000 
          decrease in accounts payable and other accrued liabilities
                                                                               -11,131,000 -27,314,000   -9,870,000  
          pre-acquisition costs – kaneb
                                                                                   -1,954,000  
          decrease in receivable from valero energy
                                                                                2,093,000     
          decrease in inventories
                                                                                2,870,000     
          decrease in payable to valero energy
                                                                                -3,577,000   -828,000  
          decrease in taxes other than income taxes
                                                                                -295,000   -2,393,000 -1,876,000 
          distributions in excess of equity income from joint ventures
                                                                                246,000     
          long-term borrowings
                                                                                34,000,000     
          increase in receivable from valero energy
                                                                                    -5,952,000 
          increase in accounts receivable
                                                                                     
          increase in finished goods inventories
                                                                                     
          increase in accounts payable, accrued interest payable and other accrued liabilities
                                                                                     
          proceeds from sales of other assets
                                                                                     
          long-term borrowings, net of issuance costs
                                                                                 703,194,000 6,000,000 4,000,000  
          equity income from skelly-belvieu pipeline company
                                                                                   -378,000 -553,000 
          distributions of equity income from skelly-belvieu pipeline company
                                                                                    553,000 
          pre-acquisition costs for kaneb mergers
                                                                                     
          distributions in excess of equity income from skelly-belvieu pipeline company
                                                                                    135,000 
          transaction costs related to the proposed acquisition of kaneb services, llc and kaneb pipeline partners, l.p.
                                                                                     
          proceeds from dispositions of property and equipment and other assets
                                                                                     
          proceeds from 6.05% senior note offering, net of discount and issuance costs
                                                                                     
          proceeds from 6.875% senior note offering, net of discount and issuance costs
                                                                                     
          redemption of common units held by uds logistics, llc
                                                                                     
          general partner contributions, net of redemption
                                                                                     
          proceeds from sale of common units to the public, net of issuance costs
                                                                                     
          non-cash adjustment related to the transfer of the wichita falls business to valero l.p. by valero energy:
                                                                                     
          property and equipment
                                                                                     
          accrued liabilities and taxes other than income taxes
                                                                                     
          deferred income tax liabilities
                                                                                     
          net parent investment
                                                                                     
          increase in accounts payable and accrued liabilities
                                                                                    -2,856,000 
          proceeds from sale of property, plant and equipment
                                                                                    58,000 
          proceeds from 6.05% senior note placement, net of discount and issuance costs
                                                                                     
          general partner contribution, net of redemption
                                                                                     
          cash and cash equivalents as of the beginning of period
                                                                                    15,745,000 
          cash and cash equivalents as of the end of period
                                                                                    13,614,000 
          distribution to valero energy and affiliates (uds in 2001), including reimbursement of capital expenditures
                                                                                     
          repayment of debt due to parent
                                                                                     
          non-cash activities – adjustment related to the transfer of the wichita falls business to valero l.p. by valero energy:
                                                                                     
          property, plant and equipment
                                                                                     
          maintenance capital expenditures
                                                                                     
          distributions to parent and affiliates
                                                                                     
          partners’ contributions
                                                                                     
          net proceeds from sale of common units to the public
                                                                                     
          distribution to parent and affiliates for reimbursement of capital expenditures