XML 131 R179.htm IDEA: XBRL DOCUMENT
v3.20.1

Employee Benefit Plans and Similar Obligations - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Repurchase of own shares issued, shares | 411,623 | 250,795 | 263,298
Repurchase of own shares issued, value | $ 280 | $ 120 | $ 100
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 | $ 98 | 142 | 69
Plan 2014-17 [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, 2014 |  |
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 | 26
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 | 59
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 | $ 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 | $ 189 |  |
Share-based Plans [member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Amount charged to expense in relation with share-based plans | $ 493 | $ 308 | $ 162
Number of shares delivered under plan | 609,910 | 538,252 | 502,996
Retirement Plan [member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 133 | $ 87 | $ 80
Performance Bonus Programs and Performance Evaluation [Member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 3,790 | $ 2,141 | $ 1,650

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

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

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_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_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: |