XML 153 R119.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Provisions - Summary of Changes in Group's Provisions (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure of Financial Results [line items] |  |  |
Liabilities associated to assets held for disposal | $ 4,193 | $ 0 | $ 0
Tax claims reclassified to taxes payable |  | (75) |
Maxus Entities' agreements |  | 2,932 |
Hydrocarbon Wells Abandonmnet Cost [member] |  |  |
Disclosure of Financial Results [line items] |  |  |
Abandonment of hydrocarbon well obligation costs | (4,913) | 2,243 | (1,281)
Liabilities associated to assets held for disposal | (96) |  |
Hydrocarbon Wells Abandonmnet Cost [member] | Magallanes area [member] |  |  |
Disclosure of Financial Results [line items] |  |  |
Abandonment of hydrocarbon well obligation costs |  | (8) | (226)
Hydrocarbon Wells Abandonmnet Cost [member] | Puesto Cortadera [member] |  |  |
Disclosure of Financial Results [line items] |  |  |
Abandonment of hydrocarbon well obligation costs |  |  | $ (8)
Other liabilities [member] |  |  |
Disclosure of Financial Results [line items] |  |  |
Other liabilities of contractual claims | $ (2,098) | $ (950) |

X
- Definition The increase (decrease) in property, plant and equipment resulting from transfers and changes that the entity does not separately disclose in the same statement or note. [Refer: Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 16 -IssueDate 2017-01-01 -Paragraph 73 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=16&date=2017-03-01&anchor=para_73_e&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesPropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of liabilities included in disposal groups classified as held for sale. [Refer: Liabilities; Disposal groups classified as held for sale [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2017-01-01 -Paragraph 38 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=5&date=2017-03-01&anchor=para_38&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 54 -Subparagraph p -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_54_p&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities that are subordinate to other liabilities with respect to claims. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_55&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_SubordinatedLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of Financial Results [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfFinancialResultsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Entities agreements, current. + References No definition available. + Details
Name: | ypf_EntitiesAgreementsCurrent
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Taxes payable due in tax claims. + References No definition available. + Details
Name: | ypf_TaxesPayableDueInTaxClaims
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_HydrocarbonWellsAbandonmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |