XML 188 R167.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Contractual Commitments - Project Investment Agreements - Additional Information (Detail) - USD ($) $ in Millions |  |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | ---
Nov. 03, 2023 | Jan. 04, 2021 | Apr. 29, 2020 | Oct. 01, 2017 | Dec. 31, 2023 | May 25, 2021 | Apr. 30, 2021
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Interest in the concession post-agreement |  |  | 40.00% |  |  |  |
Date Of Conclusion Of Exploratory Term | Nov. 03, 2023 |  |  |  |  |  |
Exploration agreement in the Charagua block [member] | YPFB Chaco SA [Member] | Amendment To The Oil And Services Contract [Member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Percentage of interest in joint operation assigned |  |  |  |  |  | 40.00% |
Charagua Block Bolivia [member] | Mixed Economy Company [member] | YPFB Chaco SA [Member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  | 19.60% |  |  |
Province of Neuquén [member] | Narambuena Exploration Project Area [member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  |  | 50.00% |  |
Percentage of legal interest allocated to CDNC in Sierra Negra exploitation |  |  |  |  | 7.00% |  |
Percentage of contribution in a joint investment |  |  |  |  | 100.00% |  |
YPF E&P [member] | Charagua Block Bolivia [member] | Mixed Economy Company [member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  | 29.40% |  |  |
Yacimientos Petroliferos Fiscales Bolivianos [member] | COVID-19 [member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Extension of First Exploratory Expiration Term |  | May 26, 2021 |  |  |  |  |
Yacimientos Petroliferos Fiscales Bolivianos [member] | Charagua Block Bolivia [member] | Mixed Economy Company [member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  | 51.00% |  |  |
Compania De Desarrollo NoConvencional SRL [Member] |  |  |  |  |  |  |
Schedule of Project Investment Agreements [Line Items] |  |  |  |  |  |  |
Investment in joint venture stage one and stage tow contribution |  |  |  |  |  |  | $ 114.4

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 2023-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types: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 2023-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2023-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of the voting rights in a joint operation held by the entity. [Refer: Joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProportionOfVotingRightsHeldInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date of conclusion of exploratory term. + References No definition available. + Details
Name: | ypf_DateOfConclusionOfExploratoryTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Extension of First Exploratory Expiration Term. + References No definition available. + Details
Name: | ypf_ExtensionOfFirstExploratoryExpirationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Interest in the concession post-agreement. + References No definition available. + Details
Name: | ypf_InterestInTheConcessionPostagreement
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment in joint venture stage one and stage two contribution. + References No definition available. + Details
Name: | ypf_InvestmentInJointVentureStageOneAndStageTowContribution
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of interest in joint operation assigned. + References No definition available. + Details
Name: | ypf_PercentageOfInterestInJointOperationAssigned
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Schedule of Project Investment Agreements [Line Items] + References No definition available. + Details
Name: | ypf_ScheduleOfProjectInvestmentAgreementsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ypf_AssigneeAxis=ypf_YpfbChacoSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_AgreementAxis=ypf_AmendmentToTheOilAndServicesContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_CovidNineteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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