XML 105 R83.htm IDEA: XBRL DOCUMENT
v3.21.1

Acquisitions and Dispositions - Additional Information (Detail) $ in Millions, $ in Millions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 14, 2021 | May 14, 2020 ARS ($) | Apr. 16, 2020 ARS ($) | Mar. 05, 2020 | Oct. 08, 2019 | Aug. 02, 2019 USD ($) | Jun. 26, 2019 USD ($) | Jun. 25, 2019 USD ($) | Dec. 20, 2018 USD ($) | Dec. 17, 2018 | Sep. 05, 2018 | Jun. 11, 2018 USD ($) | Mar. 20, 2018 USD ($) | Feb. 23, 2017 USD ($) | Oct. 14, 2016 USD ($) | Jan. 31, 2020 ARS ($) | Mar. 31, 2017 | Dec. 31, 2019 ARS ($) | Dec. 31, 2018 ARS ($) | Nov. 29, 2021 MMBoe | Dec. 31, 2020 ARS ($) | Apr. 22, 2020 USD ($) | Jan. 31, 2020 USD ($) | May 29, 2019 USD ($) MMBoe | Feb. 11, 2019 | Nov. 02, 2018 USD ($) | Dec. 31, 2017 ARS ($) | Nov. 22, 2017 USD ($) | Jul. 25, 2016 USD ($)
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 526,760 | $ 335,078 |  | $ 678,306 |  |  |  |  |  | $ 191,063 |  |
YPF [member] | CAN 100 exploration permit (offshore) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Change in ownership stake, percentage | 35.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount received by YPF |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 22.0 |  |  |  |  |  |  |
Bajo del Piche, Barranca de Los Loros, El Medanito and El Santiagueño areas [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  |  |  |  | $ 22.3 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,523 |  |  |  |  |  |  |  |  |  |  |
Disposal percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |
Cerro Bandera [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 284 |  |  |  |  |  |  |  |  |  |
Bajo del Toro [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 871 |  |  |  |  |  |  |  |  |  |
Aguada del Chañar area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Exploratory mining property |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 4,055 |  |  |  |  |  |  |  |  |  |  |
Aguada del Chañar area [Member] | IEASA [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount quoted |  |  |  |  |  |  |  | $ 96.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Bandurria Sur Area [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  | $ 4,420 |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 6,356 |  |  |  |  |  |  |  |  |  |  |  |  |
Disposal percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11.00% |  |  |  |  |  |  |  |
Bandurria Sur Area [member] | Schlumberger Oilfield Eastern Ltd. [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total price of the transaction |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 105.0 |  |  |  |  |  |
Agreement for the exploitation of the Aguada Pichana and Aguada de Castro Areas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit from exploitation agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,167 |  |  |  |  |  |  |  |  |  |
Equinor Argentina BV [member] | YPF [member] | CAN 100 exploration permit (offshore) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Voting interest percentage |  |  |  |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF S.A. and PetroUruguay S.A. | Aguada la Arena area |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest transfer percentage |  |  |  |  |  |  |  |  |  | 20.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest transfer amount |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 18.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest percentage |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF S.A. and PetroUruguay S.A. | Rio Neuquen [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest transfer percentage |  |  |  |  |  |  |  |  |  |  | 33.33% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subscription price |  |  |  |  |  |  |  |  |  |  |  |  | $ 275.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution made at closing date |  |  |  |  |  |  |  |  |  |  |  |  | 135.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution made 12 months after the closing date of the transaction |  |  |  |  |  |  |  |  |  |  |  |  | $ 140.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit on revaluation |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,980 |  |  |  |  |  |  |  |  |  |
Profit on dilution on interest in YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,552 |  |  |  |  |  |  |  |  |  |
YPF EE | 24 months from the closing date [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price evaluation percentage |  |  |  |  |  |  |  |  |  |  |  |  | 33.33% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF EE | Subsequent Years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price evaluation percentage |  |  |  |  |  |  |  |  |  |  |  |  | 16.67% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF EE - YPF SA |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  |  |  | 75.00001% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF And Equinor [member] | CAN-100 [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  |  | $ 1,457 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF And Equinor [member] | CAN 100 Area [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity Interest transfer Percentage | 15.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
BAndurria Sur Area- Bandurria Sur Investments SA [member] [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  | 60.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
BAndurria Sur Area- Bandurria Sur Investments SA [member] [member] | YPF [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  | 11.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disposal percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11.00% |  |  |  |  |  |
BAndurria Sur Area- Bandurria Sur Investments SA [member] [member] | Bandurria Sur Block [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  |  |  | 11.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price subject to the evolution of the electric market prices |  |  |  |  |  |  |  |  |  |  |  |  | $ 35.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revaluation of residual interest |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10,114 |  |  |  |  |  |  |  |  |  |
YPF EE | GEFS Global Energy B V [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  |  |  | 24.99% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss on reversal of net profit of balance accrued from investment translation |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,572 |  |  |  |  |  |  |  |  |  |
YPF [member] | CAN 100 exploration permit (offshore) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Efectivizing of Participation Interest Percentage Held |  |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF [member] | Bandurria Sur Area [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  | 40.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF [member] | YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  |  |  | 72.69218% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit on revaluation |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,879 |  |  |  |  |  |  |  |  |  |
Profit on dilution on interest in YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,451 |  |  |  |  |  |  |  |  |  |
Profit from dilution of participation in the equity of YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,438 |  |  |  |  |  |  |  |  |  |
OPESSA [member] | YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  |  |  | 2.30783% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit on revaluation |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 101 |  |  |  |  |  |  |  |  |  |
Profit on dilution on interest in YPF EE |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 101 |  |  |  |  |  |  |  |  |  |
PEPASA [member] | Petrobras Argentina S.A. [member] | Aguada la Arena area |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Capital and voting rights held |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 67.20% |  |  |  |  |  |  |  |  |  |
PEPASA [member] | YPF S.A. [member] | Aguada la Arena area |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Guaranteed loan granted equivalent to the acquisition price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 140.0
Rio Neuquen [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33.33% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 72.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage cancelled through a payment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33.33% |  |  |  |  |  |  |  |  |  |  |  |
Aguada de la Arena [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 80.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 68.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage cancelled through a payment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 80.00% |  |  |  |  |  |  |  |  |  |  |  |
Oil Combustibles SA [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total price of the transaction |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 85.0 |  |  |
Net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 63.0 |  |  |
CTEB [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Voting interest percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 50.00% |  |  |  |  |
Top of increased of installed capacity | MMBoe |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 567 |  |  |  |  |
Ownership interest, value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 282.0 |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 229.0 |  |  |  |  |
Price adjsutment for consideration |  |  |  |  |  |  | $ 10.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
CTEB [member] | Scenario Forecast [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Top of increased of installed capacity | MMBoe |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 840 |  |  |  |  |  |  |  |  |
CTEB [member] | IEASA [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings |  |  |  |  |  |  | 170.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds From Capital Contribution. |  |  |  |  |  |  | $ 100.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF And Oilstone Energia S.A [member] | Cerro Bandera [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total price of the transaction |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 14.0 |
YPF And Oilstone Energia S.A [member] | Al Sur del Dorsal, Anticlinal Campamento, Dos Hermanas y Ojo de Agua [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  | $ 12.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss from assignment agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 558 |  |  |  |  |  |  |  |  |  |  |
YPF And Capetrol Argentina SA [Member] | Río Mayo and Sarmiento areas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about Acquisitions and Dispositions [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total price of the transaction |  |  |  |  |  | $ 1.1 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business disposition percentage of equity interest |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
YPF Profit from assignment agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 187 |  |  |  |  |  |  |  |  |  |  |

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B64 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B64_f&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of assets, other than cash or cash equivalents, in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 40 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_40_d&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_AssetsOtherThanCashOrCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_55&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of cash and cash equivalents in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]; Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 40 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_40_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of consideration paid or received in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 40 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_40_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ConsiderationPaidReceived
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount, at acquisition date, of contingent consideration arrangements recognised as consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B64 -Subparagraph g -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B64_g_i&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_ContingentConsiderationRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fair value, at the acquisition date, of equity interests of the acquirer transferred as consideration in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B64 -Subparagraph f -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B64_f_iv&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_EquityInterestsOfAcquirer
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount recognised as of the business combination's acquisition date for goodwill. [Refer: Goodwill; Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B64 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B64&doctype=Appendix&subtype=B -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph IE72 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_IE72&doctype=Illustrative%20Examples -URIDate 2020-01-01 + Details
Name: | ifrs-full_GoodwillRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The increase (decrease) in a contingent consideration asset (liability) relating to a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B67 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B67_b_i&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_IncreaseDecreaseInContingentConsiderationAssetLiability
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of assets related to mining activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 16 -IssueDate 2020-01-01 -Paragraph 37 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2020-en-r&anchor=para_37&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_MiningAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2020-01-01 -Paragraph B64 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2020-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint operation attributable to the entity. [Refer: Joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2020-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2020-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2020-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph 19B -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of the voting rights in an associate held by the entity. [Refer: Associates [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2020-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2020-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2020-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ProportionOfVotingPowerHeldInAssociate
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Award won for assignments. + References No definition available. + Details
Name: | ypf_AmountQuotedOnBidForAssignments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business acquisition percentage of equity interest. + References No definition available. + Details
Name: | ypf_BusinessAcquisitionPercentageOfEquityInterest
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Change in ownership Stake + References No definition available. + Details
Name: | ypf_ChangeInOwnershipStake
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent Price Evaluation Percentage + References No definition available. + Details
Name: | ypf_ContingentPriceEvaluationPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disposal percentage of assignment. + References No definition available. + Details
Name: | ypf_DisposalPercentageOfAssignment
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Equity interests in operating concessions participation cancelled percentage. + References No definition available. + Details
Name: | ypf_EquityInterestsInOperatingConcessionsParticipationCancelledPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity interests in operating concessions participation percentage. + References No definition available. + Details
Name: | ypf_EquityInterestsInOperatingConcessionsParticipationPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of aforementioned investments. + References No definition available. + Details
Name: | ypf_FairValueOfAforementionedInvestments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Guaranteed loan equilent to the acquisition price. + References No definition available. + Details
Name: | ypf_GuaranteedLoanEquivalentToTheAcquisitionPrice
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Increasing percentage of participation interest. + References No definition available. + Details
Name: | ypf_IncreasingPercentageOfParticipationInterest
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Top of increased of installed capacity. + References No definition available. + Details
Name: | ypf_InstalledCapacity
Namespace Prefix: | ypf_
Data Type: | num:energyItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loss From Assignment Agreement. + References No definition available. + Details
Name: | ypf_LossFromAssignmentAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Loss on reversal of net profit of balance accrued from investment translation. + References No definition available. + Details
Name: | ypf_LossOnReversalOfNetProfitOfBalanceAccruedFromInvestmentTranslation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net assets acquired + References No definition available. + Details
Name: | ypf_NetAssetsAcquired
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Ownership Interest In Joint Operation. + References No definition available. + Details
Name: | ypf_OwnershipInterestInJointOperation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Participation interest transfer amount. + References No definition available. + Details
Name: | ypf_ParticipationInterestTransferAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of equity interest effective held. + References No definition available. + Details
Name: | ypf_PercentageOfEquityInterestEffectiveHeld
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of participation interest held. + References No definition available. + Details
Name: | ypf_PercentageOfParticipationInterestHeld
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proceeds From Capital Contribution. + References No definition available. + Details
Name: | ypf_ProceedsFromCapitalContribution
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Profit from assignment agreement. + References No definition available. + Details
Name: | ypf_ProfitFromAssignmentAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Profit from dilution of participation in the equity. + References No definition available. + Details
Name: | ypf_ProfitFromDilutionOfParticipationInEquity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Profit From Exploitation Agreement. + References No definition available. + Details
Name: | ypf_ProfitFromExploitationAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Profit on dilution on interest + References No definition available. + Details
Name: | ypf_ProfitOnDilutionOnInterest
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Profit on revaluation. + References No definition available. + Details
Name: | ypf_ProfitOnRevaluation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proportion of ownership interest in shares by related party. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestInSharesByRelatedParty
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion of Ownership Interest Transfer Percentage. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestTransferPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revaluation of residual interest. + References No definition available. + Details
Name: | ypf_RevaluationOfResidualInterest
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ypf_YPFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TypeOfTermAxis=ypf_Can100ExplorationPermitoffshoreMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_AssetsAndLiabilitiesClassifiedAsHeldForSaleAxis=ypf_BajoDelPicheBarrancaDeLosLorosElMedanitoAndElSantiagueoAreasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_CerroBanderaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_BajoDelToroMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_AguadaDelChaarAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ypf_IeasaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_BandurriaSurAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ypf_SchlumbergerOilfieldEasternLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointOperationsAxis=ypf_AguadaPichanaAndAguadaDeCastroAreasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointOperationsAxis=ypf_EquinorArgentinaBvMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YPFSAAndPetroUruguaySAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_EquityInAguadaLaArenaAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_RioNeuquenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YPFEEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_WithInTwoYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_SubsequentYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YPFEEYPFSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YpfAndEquinorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ypf_Can100Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_Can100AreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_BandurriaSurInvestmentsSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_BandurriaSurBlockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFEEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_GEFSGlobalEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_OPESSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_PampaEnergiaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ypf_PetrobrasArgentinaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_ParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_RioNeuquenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_AguadaDeLaArenaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_OilCombustiblesSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_CtebMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_EventAfterReportingAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_YpfAndOilstoneEnergiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_AlSurdelDorsalAnticlinalCampamentoDosHermanasyOjodeAguaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_YPFAndCapetrolArgentinaS.A.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_RoMayoAndSarmientoAreasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |