XML 140 R106.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Property, Plant and Equipment - Summary of Capitalized Cost for Exploratory Wells (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 ARS ($) Well Project | Dec. 31, 2016 ARS ($) | Dec. 31, 2015 ARS ($)
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [Line Items] |  |  |
Amount | $ 28,629 | $ 24,944 | $ 16,016
From 1 to 5 years [member] |  |  |
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [Line Items] |  |  |
Amount | $ 413 |  |
Number of projects | Project | 3 |  |
Number of Wells | Well | 3 |  |

X
- Definition The amount of costs associated with financing activities of the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 82 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_82_b&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_FinanceCosts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of property plant and equipment capitalized cost evolution. + References No definition available. + Details
Name: | ypf_DisclosureOfPropertyPlantAndEquipmentCapitalizedCostEvolutionLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of projects. + References No definition available. + Details
Name: | ypf_NumberOfProjects
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of wells. + References No definition available. + Details
Name: | ypf_NumberOfWells
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |