XML 187 R166.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Contractual Commitments - Agreements of Extension of Concessions - Additional Information (Detail) - USD ($) $ in Millions | Mar. 07, 2023 | Feb. 03, 2023
--- | --- | ---
Aguarague [member] | Memorandum Of Agreement [Member] | Extension of Exploitation Concessions [Member] |  |
Unconventional exploration concessions |  |
Payments of contractual commitments fee |  | $ 14.2
Term of extension |  | 10 years
Offshore exploration permit CAN 102 [Member] | Extension Of The Exploratory Period [Member] |  |
Unconventional exploration concessions |  |
Term of extension | 1 year |

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 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + 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 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_ExtensionOfExploitationConcessionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_OffshoreExplorationPermitCANOneHundredAndTwoMember
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: |