XML 114 R85.htm IDEA: XBRL DOCUMENT
v3.20.1

Acquisitions and Dispositions - Summary of Capital Structure After Issuance of Shares (Detail) - YPF EE [member] - shares |  | 12 Months Ended
--- | --- | ---
Mar. 20, 2018 | Dec. 31, 2017
Disclosure of classes of share capital [line items] |  |
Number of Shares |  | 3,747,070,355
Interest holding in the capital stock | 100.00% |
YPF [member] |  |
Disclosure of classes of share capital [line items] |  |
Number of Shares |  | 2,723,826,879
Interest holding in the capital stock | 72.69218% |
Kind of Share |  | A
OPESSA [member] |  |
Disclosure of classes of share capital [line items] |  |
Number of Shares |  | 86,476,112
Interest holding in the capital stock | 2.30783% |
Kind of Share |  | A
Group [member] |  |
Disclosure of classes of share capital [line items] |  |
Number of Shares |  | 2,810,302,991
Interest holding in the capital stock | 75.00001% |
Kind of Share |  | A
GE [member] |  |
Disclosure of classes of share capital [line items] |  |
Number of Shares |  | 936,767,364
Interest holding in the capital stock | 24.99999% |
Kind of Share |  | B

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

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_106_d&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of type of shares. + References No definition available. + Details
Name: | ypf_DescriptionOfTypeOfShares
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion of ownership interest in shares by related party. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestInSharesByRelatedParty
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
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_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_OPESSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_GroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_GEFSGlobalEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |