XML 135 R113.htm IDEA: XBRL DOCUMENT
v3.21.1

Property, Plant and Equipment - Summary of Cost for Exploratory Wells (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 ARS ($) Well Project | Dec. 31, 2019 ARS ($) | Dec. 31, 2018 ARS ($)
Disclosure of Property, Plant and Equipment Cost for Exploratory Wells under Assessment [line items] |  |  |
Amount | $ 138,753 | $ 91,533 | $ 63,681
Exploration wells [member] | From 1 to 5 years [member] |  |  |
Disclosure of Property, Plant and Equipment Cost for Exploratory Wells under Assessment [line items] |  |  |
Amount | $ 2,536 |  |
Number of projects | Project | 2 |  |
Number of Wells | Well | 2 |  |

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 2020-01-01 -Paragraph 82 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_82_b&doctype=Standard -URIDate 2020-01-01 + 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 cost for exploratory wells under assessment. + References No definition available. + Details
Name: | ypf_DisclosureOfPropertyPlantAndEquipmentCostForExploratoryWellsUnderAssessmentLineItems
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: |