XML 134 R110.htm IDEA: XBRL DOCUMENT
v3.19.1

Investments in Associates and Joint Ventures - Summary of Investments Information (Parenthetical) (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2018
YPF EE [member] |
Disclosure of transactions between related parties [line items] |
The Group indirect holding in capital stock through YPF EE | 22.49%

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_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFEEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |