XML 103 R82.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Acquisitions and Disposals - Additional Information (Detail) | Jan. 05, 2024
--- | ---
YCLH Holdings, Inc. [member] | Approval by the Secretary of State of the State of Delaware for the Dissolution of Subsidiary Companies [member] |
Disclosure of detailed information about Acquisitions and Disposals [Line Items] |
Percentage of ownership of YPF Holdings, Inc. in the subsidiary | 100.00%

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_DisclosureOfBusinessCombinationsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of ownership of YPF Holdings, Inc. in the subsidiary. + References No definition available. + Details
Name: | ypf_PercentageOfOwnershipOfYPFHoldingsIncInThesubsidiary
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

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