XML 138 R122.htm IDEA: XBRL DOCUMENT
v3.25.1

Investments in Associates and Joint Ventures - Summary of the investments in associates and joint ventures on a disaggregated basis (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | $ 1,960 | $ 1,676 | $ 1,905 | $ 1,529
YPF EE [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 875 | 735 | 776 |
MEGA [Member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 182 | 133 | 164 |
Profertil [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 345 | 339 | 449 |
OLCLP [Member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 43 | 34 | 25 |
CT Barragan [Member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 230 | 250 | 268 |
Other Companies [Member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 81 | 47 | 57 |
Oldelval [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 63 | 55 | 58 |
Termap [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 20 | 15 | 20 |
Oiltanking [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 38 | 25 | 26 |
CDS [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | 31 | 26 | 28 |
YPF Gas [member] |  |  |  |
Disclosure of Investments in Associates and Joint Ventures [line items] |  |  |  |
Investments in subsidiaries, joint ventures and associates reported in separate financial statements | $ 52 | $ 17 | $ 34 |

X
- Definition The amount of investments in subsidiaries, joint ventures and associates in an entity's separate financial statements. [Refer: Total for all associates [member]; Total for all joint ventures [member]; Total for all subsidiaries [member]; Investments in subsidiaries reported in separate financial statements] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2024-01-01 -Paragraph 10 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2024-en-r&anchor=para_10&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InvestmentsInSubsidiariesJointVenturesAndAssociates
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure of investments in associates and joint ventures. + References No definition available. + Details
Name: | ypf_DisclosureOfInvestmentsInAssociatesAndJointVenturesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_MEGAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_ProfertilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_OLCLPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_CTBarraganMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_OtherCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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