XML 128 R104.htm IDEA: XBRL DOCUMENT
v3.19.1

Property, Plant and Equipment - Summary of Cost for Exploratory Wells (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2018 ARS ($) Well Project | Dec. 31, 2017 ARS ($) | Dec. 31, 2016 ARS ($)
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [line items] |  |  |
Amount | $ 63,681 | $ 28,629 | $ 24,944
Exploration well [member] |  |  |
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [line items] |  |  |
Amount | $ 1,031 |  |
Number of projects | Project | 4 |  |
Number of Wells | Well | 9 |  |
Exploration well [member] | From 1 to 5 years [member] |  |  |
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [line items] |  |  |
Amount | $ 656 |  |
Number of projects | Project | 3 |  |
Number of Wells | Well | 8 |  |
Exploration well [member] | More than 5 years [member] |  |  |
Disclosure Of Property Plant And Equipment Capitalized Cost Evolution [line items] |  |  |
Amount | $ 375 |  |
Number of projects | Project | 1 |  |
Number of Wells | Well | 1 |  |

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 2018-01-01 -Paragraph 82 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_82_b&doctype=Standard -URIDate 2018-03-16 + 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: | srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis=ypf_ExplorationWellMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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