XML 182 R161.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Investments in Joint Agreements - Information about Joint venture production exploration (Parenthetical) (Detail) - Total Austral S.A. and Pan American Energy LLC [member] | Aug. 11, 2023
--- | ---
Aguada Pichana Oeste (APO) [member] |
Disclosure of joint operations [line items] |
Percentage increase in ownership interest in joint operation | 10.00%
Aguada Pichana Este [Member] |
Disclosure of joint operations [line items] |
Percentage decrease in ownership interest in joint operation | 5.60%

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

X
- Definition Percentage decrease in ownership interest in joint operation. + References No definition available. + Details
Name: | ypf_PercentageDecreaseInOwnershipInterestInJointOperation
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage increase in ownership interest in joint operation. + References No definition available. + Details
Name: | ypf_PercentageIncreaseInOwnershipInterestInJointOperation
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_TotalAustralSAAndPanAmericanEnergyLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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