XML 100 R79.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

General Information, Structure and Organization of the Group's Business - Additional Information (Detail) - YPF EE [member] | Apr. 13, 2023
--- | ---
Enel Americas SA [Member] |
Disclosure of classes of share capital [line items] |
Percentage of ownership in subsidiary acquired | 57.14%
Pan America Sur SA [Member] |
Disclosure of classes of share capital [line items] |
Percentage of ownership interest in subsidiary company disposed off | 29.84%

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

X
- Definition Percentage of ownership interest in subsidiary acquired. + References No definition available. + Details
Name: | ypf_PercentageOfOwnershipInterestInSubsidiaryAcquired
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of ownership interest in subsidiary company disposed off. + References No definition available. + Details
Name: | ypf_PercentageOfOwnershipInterestInSubsidiaryCompanyDisposedOff
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | ypf_AcquireeAxis=ypf_EnelAmericasSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_AcquireeAxis=ypf_PanAmericaSurSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |