XML 201 R185.htm IDEA: XBRL DOCUMENT
v3.25.1

Employee Benefit Plans and Similar Obligations - Additional Information (Detail) $ / shares in Units, shares in Millions, $ in Millions |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | ---
Apr. 30, 2024 $ / shares | Apr. 30, 2024 shares | Dec. 31, 2024 USD ($) shares $ / shares | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Top of range [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Percentage contribution to mutual fund retirement plan |  |  | 10.00% |  |
Bottom of range [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Percentage contribution to mutual fund retirement plan |  |  | 3.00% |  |
Plan 2019-2022 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Share-based benefit plan grant date |  |  | July 1, 2019 |  |
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Plan 2020-2023 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Share-based benefit plan grant date |  |  | July 1, 2020 |  |
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Plan 2021-2024 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Share-based benefit plan grant date |  |  | July 1, 2021 |  |
Number of share options granted in share-based payment arrangement |  |  |  | 50,037 |
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Plan 2022-2025 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Number of share options granted in share-based payment arrangement |  |  | 890 | 69,176 | 962,150
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Plan 2023 - 2026 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Share-based benefit plan grant date |  |  | August 1, 2023 |  |
Number of share options granted in share-based payment arrangement |  |  | 48,785 | 778,756 |
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Plan 2024 - 2027 [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period |  |  | 3 years |  |
Share-based benefit plan grant date |  |  | August 1, 2024 |  |
Description of maximum term of options granted for share-based payment arrangement |  |  | 3 years |  |
Value Generation Plan [Member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Share-based benefit plan validity period | The PSARs expire five years after their grant and begin to vest in the third year, subject to the fulfillment of certain conditions, including performance milestones related to the price of the Company’s common shares ranging from a minimum of US$ 30 per common share up to US$ 60 per common share. |  |  |  |
Number of share options granted in share-based payment arrangement | shares |  | 4.6 | 4.6 |  |
Description of maximum term of options granted for share-based payment arrangement | The PSARs expire five years after their grant and begin to vest in the third year, subject to the fulfillment of certain conditions, including performance milestones related to the price of the Company’s common shares ranging from a minimum of US$ 30 per common share up to US$ 60 per common share. |  |  |  |
Weighted average share price | $ 16.17 |  | $ 28.6 |  |
Weighted average remaining contractual life of outstanding share options | 3 years |  |  |  |
Weighted average exercise price of share options granted in share-based payment arrangement | $ 8.75 |  |  |  |
Expense from share-based payment transactions | $ |  |  | $ 33 |  |
Value Generation Plan [Member] | Top of range [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Weighted average share price | 60 |  |  |  |
Value Generation Plan [Member] | Bottom of range [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Weighted average share price | $ 30 |  |  |  |
Retirement Plan [member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Total charges | $ |  |  | 4 | $ 3 | $ 4
Performance Bonus Programs and Performance Evaluation [Member] |  |  |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |  |  |
Total charges | $ |  |  | $ 154 | $ 111 | $ 122

X
- Definition The date on which share-based payment arrangements are granted. [Refer: Types of share-based payment arrangements [domain]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph IG23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_IG23&doctype=Implementation%20Guidance -URIDate 2024-03-27 + Details
Name: | ifrs-full_DateOfGrantOfSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of the maximum term of options granted for a type of share-based payment arrangement that existed at any time during the period. An entity with substantially similar types of share-based payment arrangements may aggregate this information. [Refer: Types of share-based payment arrangements [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DescriptionOfMaximumTermOfOptionsGrantedForSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The expense of all forms of consideration given by an entity in exchange for a service rendered by employees or for the termination of employment. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_102&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_99&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 104 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_104&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_EmployeeBenefitsExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense arising from share-based payment transactions in which the goods or services received did not qualify for recognition as assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 51 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_51_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of share options granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options granted in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average remaining contractual life of outstanding share options. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_WeightedAverageRemainingContractualLifeOfOutstandingShareOptions2019
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average share price. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2024-01-01 -Paragraph 45 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2024-en-r&anchor=para_45_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_WeightedAverageSharePrice2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure Of Employee Benefit Plan [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfEmployeeBenefitPlanLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of salary contribution to mutual fund retirement plan. + References No definition available. + Details
Name: | ypf_PercentageOfSalaryContributionToMutualFundRetirementPlan
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ypf_ShareBasedBenefitPlanTwoThousandTwentyFourToTwoThousandTwentySevenMember
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_DefinedBenefitPlansAxis=ypf_RetirementPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_DefinedBenefitPlansAxis=ypf_PerformanceBonusProgramsAndPerformanceEvaluationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |