XML 84 R63.htm IDEA: XBRL DOCUMENT v3.23.2
INVENTORY (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Inventory [Line Items]    
Inventory $ 215,672 $ 135,473
Crude oil    
Inventory [Line Items]    
Inventory 64,552 59,131
Refined products    
Inventory [Line Items]    
Inventory 149,838 74,311
Re-refined products    
Inventory [Line Items]    
Inventory 1,282 2,031
Total hydrocarbon inventories    
Inventory [Line Items]    
Inventory $ 215,672 $ 135,473