XML 200 R184.htm IDEA: XBRL DOCUMENT
v3.25.1

Balances and Transactions with Related Parties - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of transactions between related parties [line items] |  |  |
Description of reorganized structure and positions of key personnel | dependent on the President and CEO, restructuring the Executive Committee’s Vice Presidencies (“VPs”) into 14, including the re-categorization of 3 Executive Managers Departments as VPs and removing 11 advisors |  |
Selling, general and administrative expense [member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Non-current provisions | $ 40 |  |
Income from equity interests in associates and joint ventures [Member] | YPF EE [member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Non-current provisions | 26 |  |
Income from equity interests in associates and joint ventures [Member] | CT Barragan [Member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Non-current provisions | $ 8 |  |
Value Generation Plan [Member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Percentage Of Eligible Employees For Share based Payment Arrangement | 100.00% |  |
CHNC [member] |  |  |
Disclosure of transactions between related parties [line items] |  |  |
Purchase of gas and crude oil | $ 508 | $ 453 | $ 442
Net balance payable | $ 63 | $ 38 | $ 46
Proportion of explotation concession of Loma Campana | 50.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_DisclosureOfTransactionsBetweenRelatedPartiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of non-current provisions, including provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph l -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_l&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NoncurrentProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint operation attributable to the entity. [Refer: Total for all joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for the purchase of oil and gas assets. [Refer: Oil and gas assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 16 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_16&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PurchaseOfOilAndGasAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Description of reorganized structure and positions of key personnel. + References No definition available. + Details
Name: | ypf_DescriptionOfReorganizedStructureAndPositionsOfKeyPersonnel
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net balance payable. + References No definition available. + Details
Name: | ypf_NetBalancePayable
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of eligible employees for share based payment arrangement. + References No definition available. + Details
Name: | ypf_PercentageOfEligibleEmployeesForShareBasedPaymentArrangement
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ypf_ComprehensiveIncomeLocationAxis=ifrs-full_SellingGeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_ComprehensiveIncomeLocationAxis=ypf_IncomeFromEquityInterestsInAssociatesAndJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_JointVenturesAxis=ypf_CTBarraganMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ypf_ValueGenerationPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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