XML 226 R204.htm IDEA: XBRL DOCUMENT
v3.21.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Costs Incurred for Oil and Gas Producing Activities (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Argentina [member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Acquisition of unproved properties | $ 715 | $ 4,171 | $ 276
Acquisition of proved properties |  |  | 166
Exploration costs | 2,348 | 9,115 | 7,283
Development costs | 61,441 | 132,289 | 53,553
Total costs incurred | 64,504 | 145,575 | 61,278
Other foreign [Member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Exploration costs | 141 | 771 | 381
Total costs incurred | 141 | 771 | 381
Worldwide [member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Acquisition of unproved properties | 715 | 4,171 | 276
Acquisition of proved properties |  |  | 166
Exploration costs | 2,489 | 9,886 | 7,664
Development costs | 61,441 | 132,289 | 53,553
Total costs incurred | $ 64,645 | $ 146,346 | $ 61,659

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_DisclosureOfInformationAboutConsolidatedStructuredEntitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Acquisition of proved properties. + References No definition available. + Details
Name: | ypf_AcquisitionOfProvedProperties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Acquisition of unproved properties. + References No definition available. + Details
Name: | ypf_AcquisitionOfUnprovedProperties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Costs Incurred in oil and gas productivity. + References No definition available. + Details
Name: | ypf_CostsIncurredInOilAndGasProductivity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Additions of Upstream contracts comprised in right-of-use assets + References No definition available. + Details
Name: | ypf_DevelopmentCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exploration Costs. + References No definition available. + Details
Name: | ypf_ExplorationCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_AR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_OtherForeignMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_WorldwideMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |