XML 199 R165.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Employee Benefit Plans and Share-Based Payments - Summary of Share Based Compensation Plan (Plan 2014-2017) (Detail) - Plan 2014-17 [Member] $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 ARS ($) | Dec. 31, 2017 $ / shares | Dec. 31, 2016 ARS ($) | Dec. 31, 2016 $ / shares | Dec. 31, 2015 ARS ($) | Dec. 31, 2015 $ / shares
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |  |  |  |  |
Amount at the beginning of the year | 99,278 |  | 234,130 |  | 356,054 |
- Granted | 6,269 |  | 6,978 |  |  |
- Settled | (105,201) |  | (123,926) |  | (118,927) |
- Expired | (346) |  | (17,904) |  | (2,997) |
Amount at end of year |  |  | 99,278 |  | 234,130 |
Expense recognized during the year | $ | $ 8 |  | $ 28 |  | $ 53 |
Fair value of shares on grant date (in dollars) | $ / shares |  | $ 33.41 |  | $ 33.41 |  | $ 33.41

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_d&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_i&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_vi&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercised in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_iv&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options expired in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_v&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
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 2017-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_b_ii&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average share price at the date of exercise for share options that are exercised in a share-based payment arrangement. [Refer: Share-based payment arrangements [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2017-01-01 -Paragraph 45 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=2&date=2017-03-01&anchor=para_45_c&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsInSharebasedPaymentArrangementExercisedDuringPeriodAtDateOfExercise
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share Based Payment Arrangement Options Grants In Period Weighted Average Grant Date Fair Value + References No definition available. + Details
Name: | ypf_ShareBasedPaymentArrangementOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | ypf_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

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