XML 188 R154.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Contractual Commitments - Operating Lease Commitments - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure of geographical areas [line items] |  |  |
Contracts of work and other services | $ 7,667 | $ 7,612 | $ 7,364
Rental of real estate and equipment | 2,306 | 1,698 | 746
Contingent installments | $ 5,361 | $ 5,914 | $ 6,618
Property, Plant and Equipment under Operating Leases [Member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Lease agreements of average term | 3 years |  |
Lease agreements of additional renewed average term | One |  |
Transportation Of Hydrocarbons [Member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Lease agreements of average term | 5 years |  |
Lease agreement of land for the installation and operation of service stations [member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Lease agreements of average term | 10 years |  |

X
- Definition The amount of contingent rents recognised as an expense for operating leases. [Refer: Contingent rents recognised as expense] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2019-01-01 -Name IAS -Number 17 -IssueDate 2017-01-01 -Paragraph 35 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=17&date=2017-03-02&anchor=para_35_c&doctype=Standard&book=B -URIDate 2017-03-09 + Details
Name: | ifrs-full_ContingentRentsRecognisedAsExpenseClassifiedAsOperatingLease
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition The amount of payments on leases and subleases recognised as an expense by the lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2019-01-01 -Name IAS -Number 17 -IssueDate 2017-01-01 -Paragraph 35 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=17&date=2017-03-02&anchor=para_35_c&doctype=Standard&book=B -URIDate 2017-03-09 + Details
Name: | ifrs-full_LeaseAndSubleasePaymentsRecognisedAsExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The portion of operating lease payments that the lessee is or can be required to make, excluding contingent rent, costs for services and taxes to be paid by, and reimbursed to, the lessor, together with any amounts guaranteed by the lessee or by a party related to the lessee recognised as an expense. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2019-01-01 -Name IAS -Number 17 -IssueDate 2017-01-01 -Paragraph 35 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=17&date=2017-03-02&anchor=para_35_c&doctype=Standard&book=B -URIDate 2017-03-09 + Details
Name: | ifrs-full_MinimumOperatingLeasePayments
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Description of lease agreements additional renewal term. + References No definition available. + Details
Name: | ypf_DescriptionOfLeaseAgreementsAdditionalRenewalTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of lease agreements term. + References No definition available. + Details
Name: | ypf_DescriptionOfLeaseAgreementsTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_PropertyPlantAndEquipmentUnderOperatingLeasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_TransportationOfHydrocarbonsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ifrs-full_LandMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |