XML 212 R178.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Summary of Capitalized Costs, Along with the related Accumulated Depreciation and Allowances (Detail) - ARS ($) $ in Millions | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
--- | --- | --- | ---
Argentina [member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Mineral property, wells and related equipment | $ 770,461 | $ 621,717 | $ 451,900
Support equipment and facilities | 22,171 | 18,263 | 16,920
Drilling and work in progress | 40,567 | 36,966 | 45,715
Unproved oil and gas properties | 6,189 | 4,788 | 6,473
Total capitalized costs | 839,388 | 681,734 | 521,008
Accumulated depreciation and valuation allowances | (600,086) | (473,814) | (327,579)
Net capitalized costs | 239,302 | 207,920 | 193,429
Other foreign [Member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Mineral property, wells and related equipment |  |  | 4,312
Unproved oil and gas properties | 558 | 526 | 451
Total capitalized costs | 558 | 526 | 4,763
Accumulated depreciation and valuation allowances |  |  | (3,811)
Net capitalized costs | 558 | 526 | 952
Worldwide [Member] |  |  |
Disclosure of information about consolidated structured entities [Line Items] |  |  |
Mineral property, wells and related equipment | 770,461 | 621,717 | 456,212
Support equipment and facilities | 22,171 | 18,263 | 16,920
Drilling and work in progress | 40,567 | 36,966 | 45,715
Unproved oil and gas properties | 6,747 | 5,314 | 6,924
Total capitalized costs | 839,946 | 682,260 | 525,771
Accumulated depreciation and valuation allowances | (600,086) | (473,814) | (331,390)
Net capitalized costs | $ 239,860 | $ 208,446 | $ 194,381

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 Accumulated depreciation and valuation allowances. + References No definition available. + Details
Name: | ypf_AccumulatedDepreciationAndValuationAllowances
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Drilling and work in progress. + References No definition available. + Details
Name: | ypf_DrillingAndWorkInProgress
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross capitalized cost. + References No definition available. + Details
Name: | ypf_GrossCapitalizedCost
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Mineral property, wells and related equipment. + References No definition available. + Details
Name: | ypf_MineralPropertyWellsAndRelatedEquipment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net capitalized cost. + References No definition available. + Details
Name: | ypf_NetCapitalizedCost
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Support equipment and facilities. + References No definition available. + Details
Name: | ypf_SupportEquipmentAndFacilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unproved oil and gas properties. + References No definition available. + Details
Name: | ypf_UnprovedOilAndGasProperties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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: |