XML 164 R142.htm IDEA: XBRL DOCUMENT
v3.21.1

Lease liabilities - Summary of lease liabilities and discount rates (Detail) - ARS ($) $ in Millions | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | ---
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 46,270 | $ 61,780 | $ 23,059
0 to 1 year [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 5,370 | $ 3,778 |
Effective average monthly rate used | 0.93% | 0.56% |
1 to 2 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 10,544 | $ 7,634 |
Effective average monthly rate used | 0.76% | 0.73% |
2 to 3 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 6,602 | $ 11,813 |
Effective average monthly rate used | 0.79% | 0.72% |
3 to 4 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 9,610 | $ 5,404 |
Effective average monthly rate used | 0.87% | 0.70% |
4 to 5 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 2,674 | $ 10,732 |
Effective average monthly rate used | 0.92% | 0.70% |
5 to 9 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 7,917 | $ 2,498 |
Effective average monthly rate used | 0.92% | 0.78% |
More than 9 years [member] |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |
Lease liabilities | $ 3,553 | $ 19,921 |
Effective average monthly rate used | 0.82% | 0.98% |

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph 47 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_47_b&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The weighted average lessee's incremental borrowing rate applied to lease liabilities recognised in the statement of financial position at the date of initial application of IFRS 16. The incremental borrowing rate is the rate of interest that a lessee would have to pay to borrow over a similar term, and with a similar security, the funds necessary to obtain an asset of a similar value to the right-of-use asset in a similar economic environment. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph C12 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_C12_a&doctype=Appendix&subtype=C -URIDate 2020-01-01 + Details
Name: | ifrs-full_WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Disclosure of quantitative information about lease liabilities. + References No definition available. + Details
Name: | ypf_DisclosureOfQuantitativeInformationAboutLeaseLiabilitiesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_LaterThanFiveYearsAndNotLaterThanNineYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_LaterThanNineYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |