XML 151 R134.htm IDEA: XBRL DOCUMENT
v3.23.1

Lease liabilities - Summary of lease liabilities and discount rates (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 566 | $ 542 | $ 551 | $ 1,033
0 to 1 year [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 39 | $ 32 | $ 64 |
Effective average monthly rate used | 1.07% | 0.80% | 0.93% |
1 to 2 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 198 | $ 116 | $ 125 |
Effective average monthly rate used | 1.54% | 1.03% | 0.76% |
2 to 3 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 144 | $ 150 | $ 79 |
Effective average monthly rate used | 1.23% | 1.15% | 0.79% |
3 to 4 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 81 | $ 109 | $ 115 |
Effective average monthly rate used | 1.28% | 1.25% | 0.87% |
4 to 5 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 43 | $ 42 | $ 32 |
Effective average monthly rate used | 0.95% | 0.96% | 0.92% |
5 to 9 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 45 | $ 86 | $ 94 |
Effective average monthly rate used | 0.79% | 0.89% | 0.92% |
More than 9 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 16 | $ 7 | $ 42 |
Effective average monthly rate used | 0.82% | 0.80% | 0.82% |

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 2022-03-24 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph C12 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_C12_a&doctype=Appendix&subtype=C -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types: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: |