XML 125 R171.htm IDEA: XBRL DOCUMENT
v3.20.1

Contractual Commitments - Summary of detailed information about operating lease rental expense (Detail) - Operating lease commitments [Member] - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017
Disclosure of geographical areas [line items] |  |
Minimum payments | $ 4,988 | $ 2,306
Contingent installments | 7,326 | 5,361
Rental expenses related to operating leases | $ 12,314 | $ 7,667

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 Contingent rents recognized as expense classified as operating lease. + References No definition available. + Details
Name: | ypf_ContingentRentsRecognizedAsExpenseClassifiedAsOperatingLease
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Minimum operating leases payment. + References No definition available. + Details
Name: | ypf_MinimumOperatingLeasesPayment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Renal expense related to operating lease. + References No definition available. + Details
Name: | ypf_RenalExpenseRelatedToOperatingLease
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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