XML 64 R52.htm IDEA: XBRL DOCUMENT v3.20.2
Revenue Recognition (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Dec. 31, 2019
Disaggregation of Revenue [Line Items]          
Contract receivable $ 102,900   $ 102,900   $ 214,500
Deferred revenue 3,012   3,012   $ 7,905
Revenues 515,301 $ 1,409,409 1,719,384 $ 2,600,744  
Refining          
Disaggregation of Revenue [Line Items]          
Revenues 455,301 1,347,557 1,603,427 2,493,621  
Refining | Gasoline          
Disaggregation of Revenue [Line Items]          
Revenues 135,370 372,352 421,968 660,552  
Refining | Distillates          
Disaggregation of Revenue [Line Items]          
Revenues 189,760 646,907 773,468 1,202,799  
Refining | Other Refined Products          
Disaggregation of Revenue [Line Items]          
Revenues 129,086 327,939 393,253 629,385  
Refining | Merchandise          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Refining | Transportation and terminalling services          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Refining | Other Revenues          
Disaggregation of Revenue [Line Items]          
Revenues 1,085 359 14,738 885  
Logistics          
Disaggregation of Revenue [Line Items]          
Revenues 42,132 50,146 101,282 95,355  
Logistics | Gasoline          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Logistics | Distillates          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Logistics | Other Refined Products          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Logistics | Merchandise          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Logistics | Transportation and terminalling services          
Disaggregation of Revenue [Line Items]          
Revenues 42,132 50,146 101,282 95,355  
Logistics | Other Revenues          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Retail          
Disaggregation of Revenue [Line Items]          
Revenues 79,621 120,749 182,434 220,580  
Retail | Gasoline          
Disaggregation of Revenue [Line Items]          
Revenues 47,157 86,248 120,004 156,011  
Retail | Distillates          
Disaggregation of Revenue [Line Items]          
Revenues 8,642 10,547 17,092 19,556  
Retail | Other Refined Products          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Retail | Merchandise          
Disaggregation of Revenue [Line Items]          
Revenues 23,382 23,469 44,411 44,078  
Retail | Transportation and terminalling services          
Disaggregation of Revenue [Line Items]          
Revenues 0 0 0 0  
Retail | Other Revenues          
Disaggregation of Revenue [Line Items]          
Revenues $ 440 $ 485 $ 927 $ 935