XML 179 R162.htm IDEA: XBRL DOCUMENT
v3.23.1

Contractual Commitments - Agreements of Extension of Concessions - Additional Information (Detail) - USD ($) $ in Thousands |  |  |  | 7 Months Ended | 8 Months Ended
--- | --- | --- | --- | --- | ---
Feb. 03, 2023 | Aug. 01, 2022 | May 04, 2022 | Dec. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2022
Aguarague [member] | Memorandum Of Agreement [Member] | Extension Of Concession [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Payments of contractual commitments fee | $ 14,200 |  |  |  |  |
Term of extension | 10 years |  |  |  |  |
CAN 114 [Member] | Extension Of The Exploratory Period [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Term of extension |  |  |  |  | 2 years |
MLO 123 [Member] | Extension Of The Exploratory Period [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Term of extension |  |  |  |  |  | 2 years
Can 100 [member] | Extension Of The Exploratory Period [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Term of extension |  |  |  | 2 years |  |
CAN 102 [Member] | Extension Of The Exploratory Period [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Term of extension |  |  | 1 year |  |  |
Province of Santa Cruz [member] | Letter of Intent [Member] |  |  |  |  |  |
Unconventional exploration concessions |  |  |  |  |  |
Additional Capital Commitement |  | $ 100,000 |  |  |  |
Maximum Royalty Percentage |  | 7.50% |  |  |  |
New provisions, other provisions |  | $ 10,230 |  |  |  |

X
- Definition The amount of capital commitments for which the entity has entered into a contract. [Refer: Capital commitments] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ContractualCapitalCommitments
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 members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfGeographicalAreasLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount recognised for new other provisions. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NewProvisionsOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Additional capital commitement. + References No definition available. + Details
Name: | ypf_AdditionalCapitalCommitement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum royalty percentage. + References No definition available. + Details
Name: | ypf_MaximumRoyaltyPercentage
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of extension. + References No definition available. + Details
Name: | ypf_TermOfExtension
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

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

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

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

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

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

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

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

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

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