XML 144 R110.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Investments in Associates and Joint Ventures - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2017
Y-GEN I and Y-GEN II - Investment in Associates and Joint Ventures [Line Items] |
Description of contract maturity term for sale of offered energy | Between 5 and 10 years
YPF EE [member] |
Y-GEN I and Y-GEN II - Investment in Associates and Joint Ventures [Line Items] |
Percentage of shareholding owned | 66.67%
Guayama PR Holdings of the General Electric Group [member] |
Y-GEN I and Y-GEN II - Investment in Associates and Joint Ventures [Line Items] |
Percentage of shareholding owned | 33.33%

X
- Definition The proportion of ownership interests in a subsidiary held by non-controlling interests. [Refer: Subsidiaries [member]; Non-controlling interests] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2017-01-01 -Paragraph 12 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2017-03-01&anchor=para_12_c&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of contract maturity term for sale of offered energy. + References No definition available. + Details
Name: | ypf_DescriptionOfContractMaturityTermForSaleOfOfferedEnergy
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investments In Associates And Joint Ventures [Line Items] + References No definition available. + Details
Name: | ypf_InvestmentsInAssociatesAndJointVenturesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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