XML 172 R148.htm IDEA: XBRL DOCUMENT
v3.19.1

Investment in Joint Operations - Information about Joint venture production exploration (Parenthetical) (Detail) - YPF [member] - Bajo del Toro [member] | 12 Months Ended
--- | ---
Dec. 31, 2018
Disclosure of joint operations [line items] |
Participation | 50.00%
Direct participation [member] |
Disclosure of joint operations [line items] |
Participation | 26.00%
Indirect participation [member] |
Disclosure of joint operations [line items] |
Participation | 24.00%

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

X
- Definition The proportion of ownership interest in a joint operation attributable to the entity. [Refer: Joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2018-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2018-03-01&anchor=para_21_a_iv&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Details
Name: | ifrs-full_MeasurementAxis=ypf_DirectParticipationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MeasurementAxis=ypf_IndirectParticipationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |