XML 146 R112.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Investments in Associates and Joint Ventures - Summary of Investments Information (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2017
Central Dock Sud SA [member] |
Disclosure of transactions between related parties [line items] |
The Group indirect holding in capital stock through Inversora Dock Sud S.A. | 29.99%

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

X
- Definition Proportion of indirect ownership interest in associates. + References No definition available. + Details
Name: | ypf_ProportionOfIndirectOwnershipInterestInAssociates
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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