XML 192 R175.htm IDEA: XBRL DOCUMENT
v3.23.1

Employee Benefit Plans and Similar Obligations - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Plan 2017-2020 [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, 2017 |  |
Plan 2018-2021 [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, 2018 |  |
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 |  |
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 |  |
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 |  |
Plan 2022-2025 [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, 2022 |  |
Retirement Plan [member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 4 | $ 3 | $ 3
Performance Bonus Programs and Performance Evaluation [Member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 122 | $ 73 | $ 58

X
- Definition The date on which share-based payment arrangements are granted. [Refer: Share-based payment arrangements [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph IG23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_IG23&doctype=Implementation%20Guidance -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_a&doctype=Standard -URIDate 2022-03-24 + 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: Share-based payment arrangements [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_a&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 104 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_104&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_EmployeeBenefitsExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ypf_ShareBasedBenefitPlanTwoThousandAndSeventeenToTwentyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ypf_ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember
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_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: |