XML 196 R162.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Employee Benefit Plans and Share-Based Payments - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Amount charged to expense in relation with share-based plans | $ 162 | $ 153 | $ 124
Repurchase of own shares issued, shares | 263,298 | 171,330 | 382,985
Repurchase of own shares issued, value | $ 100 | $ 50 | $ 120
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 |  |
Number of shares delivered under plan | 502,996 | 520,031 | 623,350
Retirement Plan [Member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 80 | $ 80 | $ 50
Performance Bonus Programs and Performance Evaluation [Member] |  |  |
Disclosure Of Employee Benefit Plans And Similar Obligations [Line Items] |  |  |
Total charges | $ 1,650 | $ 1,272 | $ 1,020

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 2017-01-01 -Paragraph IG23 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_IG23&doctype=Implementation%20Guidance -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_a&doctype=Standard -URIDate 2017-03-09 + 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 2017-01-01 -Paragraph 45 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_a&doctype=Standard -URIDate 2017-03-09 + 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 2017-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_102&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 99 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_99&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 104 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_104&doctype=Standard -URIDate 2017-03-09 + 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 2017-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_112_c&doctype=Standard -URIDate 2017-03-09 + 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 2017-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_106_d&doctype=Standard -URIDate 2017-03-09 + 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 2017-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_106_d&doctype=Standard -URIDate 2017-03-09 + 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_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: |