XML 206 R184.htm IDEA: XBRL DOCUMENT
v3.21.1

Employee Benefit Plans and Similar Obligations - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Repurchase of own shares issued, shares | 737,378 | 411,623 | 250,795
Repurchase of own shares issued, value | $ 550 | $ 280 | $ 120
Plan 2015-18 [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, 2015 |  |
Amount charged to expense in relation with share-based plans |  |  | 12
Plan 2016-19 [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, 2016 |  |
Amount charged to expense in relation with share-based plans |  | 21 | 54
Plan 2017-20 [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 |  |
Amount charged to expense in relation with share-based plans | $ 37 | 98 | 142
Plan 2018-21 [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 |  |
Amount charged to expense in relation with share-based plans | $ 127 | 212 | 100
Plan 2019-22 [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 |  |
Amount charged to expense in relation with share-based plans | $ 293 | 189 |
Plan 2020-23 [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 |  |
Share-based Plans [member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Amount charged to expense in relation with share-based plans | $ 541 | $ 493 | $ 308
Number of shares delivered under plan | 769,312 | 609,910 | 538,252
Retirement Plan [member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 211 | $ 133 | $ 87
Performance Bonus Programs and Performance Evaluation [Member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 4,231 | $ 3,790 | $ 2,141

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 2020-01-01 -Paragraph IG23 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2020-en-r&anchor=para_IG23&doctype=Implementation%20Guidance -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2020-01-01 -Paragraph 45 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2020-en-r&anchor=para_45_a&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 45 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2020-en-r&anchor=para_45_a&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_102&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 99 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_99&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 104 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_104&doctype=Standard -URIDate 2020-01-01 + 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 from share-based payment transactions with employees. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_112_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_106_d&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The decrease in equity resulting from the purchase of treasury shares. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_106_d&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_PurchaseOfTreasuryShares
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
- Definition Treasury Stock Shares Acquired 1 + References No definition available. + Details
Name: | ypf_TreasuryStockSharesAcquired1
Namespace Prefix: | ypf_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

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

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_ShareBasedBenefitPlanTwoThousandTwentyAndTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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