| Contract with Customer, Asset and Liability [Table Text Block] |
The following table provides information about contract assets and contract liabilities from contracts with customers: | | | | | | | | | | | | | | | | | | | | | | | | | 2020 | | | | 2019 | | | | Contract Assets | | Contract Liabilities | | Contract Assets | | Contract Liabilities | | (Thousands of Dollars) | | | | | | | | Balance as of January 1: | | | | | | | | | Current portion | $ | 2,140 | | | $ | (21,083) | | | $ | 2,066 | | | $ | (21,579) | | | Noncurrent portion | 1,003 | | | (40,289) | | | 539 | | | (38,945) | | | Held for sale | — | | | — | | | — | | | (25,357) | | | Total | 3,143 | | | (61,372) | | | 2,605 | | | (85,881) | | | | | | | | | | | Activity: | | | | | | | | | Additions | 2,670 | | | (34,156) | | | 2,674 | | | (24,537) | | | Transfer to accounts receivable | (2,258) | | | — | | | (2,638) | | | — | | Transfer to revenues, including amounts reported in discontinued operations | (125) | | | 29,848 | | | — | | | 46,757 | | | | | | | | | | | Total | 287 | | | (4,308) | | | 36 | | | 22,220 | | | | | | | | | | | Balance as of June 30: | | | | | | | | | Current portion | 2,218 | | | (20,235) | | | 1,483 | | | (23,688) | | | Noncurrent portion | 1,212 | | | (45,445) | | | 1,158 | | | (39,973) | | | Total | $ | 3,430 | | | $ | (65,680) | | | $ | 2,641 | | | $ | (63,661) | |
|
| Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table Text Block] |
The following table presents our estimated revenue from contracts with customers for remaining performance obligations that has not yet been recognized, representing our contractually committed revenue as of June 30, 2020 (in thousands of dollars): | | | | | | | | | | 2020 (remaining) | | $ | 303,381 | | | 2021 | | 447,265 | | | 2022 | | 350,120 | | | 2023 | | 259,775 | | | 2024 | | 189,709 | | | Thereafter | | 279,738 | | | Total | | $ | 1,829,988 | |
|
| Disaggregation of Revenue [Table Text Block] |
The following table disaggregates our revenues: | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | | | Six Months Ended June 30, | | | | 2020 | | 2019 | | 2020 | | 2019 | | (Thousands of Dollars) | | | | | | | | Pipeline segment: | | | | | | | | | Crude oil pipelines | $ | 79,110 | | | $ | 77,293 | | | $ | 170,832 | | | $ | 145,771 | | Refined products and ammonia pipelines (excluding lessor revenues) | 86,173 | | | 92,534 | | | 189,307 | | | 177,640 | | Total pipeline segment revenues from contracts with customers | 165,283 | | | 169,827 | | | 360,139 | | | 323,411 | | | Lessor revenues | 825 | | | 2,666 | | | 1,650 | | | 5,333 | | | Total pipeline segment revenues | 166,108 | | | 172,493 | | | 361,789 | | | 328,744 | | | | | | | | | | | Storage segment: | | | | | | | | | Throughput terminals | 32,199 | | | 23,170 | | | 70,922 | | | 44,856 | | | Storage terminals (excluding lessor revenues) | 76,880 | | | 77,039 | | | 151,046 | | | 148,660 | | Total storage segment revenues from contracts with customers | 109,079 | | | 100,209 | | | 221,968 | | | 193,516 | | | Lessor revenues | 10,328 | | | 10,194 | | | 20,656 | | | 20,387 | | | Total storage segment revenues | 119,407 | | | 110,403 | | | 242,624 | | | 213,903 | | | | | | | | | | Fuels marketing segment: | | | | | | | | Revenues from contracts with customers | 54,025 | | | 89,549 | | | 127,927 | | | 177,628 | | | | | | | | | | | Consolidation and intersegment eliminations | — | | | — | | | (9) | | | (4) | | | | | | | | | | | Total revenues | $ | 339,540 | | | $ | 372,445 | | | $ | 732,331 | | | $ | 720,271 | |
|