XML 162 R146.htm IDEA: XBRL DOCUMENT
v3.25.1

Lease liabilities - Summary of lease liabilities and discount rates (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 776 | $ 666 | $ 566 | $ 542
0 to 1 year [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 53 | $ 87 | $ 39 |
Effective average monthly rate used | 1.15% | 1.55% | 1.07% |
1 to 2 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 248 | $ 142 | $ 198 |
Effective average monthly rate used | 0.89% | 1.17% | 1.54% |
2 to 3 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 140 | $ 210 | $ 144 |
Effective average monthly rate used | 0.89% | 1.02% | 1.23% |
3 to 4 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 149 | $ 46 | $ 81 |
Effective average monthly rate used | 0.82% | 0.97% | 1.28% |
4 to 5 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 55 | $ 118 | $ 43 |
Effective average monthly rate used | 0.69% | 0.90% | 0.95% |
5 to 9 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 112 | $ 38 | $ 45 |
Effective average monthly rate used | 0.66% | 0.81% | 0.79% |
More than 9 years [member] |  |  |  |
Disclosure of quantitative information about lease liabilities [line Items] |  |  |  |
Lease liabilities | $ 19 | $ 25 | $ 16 |
Effective average monthly rate used | 0.73% | 0.75% | 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 2024-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_47_b&doctype=Standard -URIDate 2024-03-27 + 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 2024-01-01 -Paragraph C12 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_C12_a&doctype=Appendix&subtype=C -URIDate 2024-03-27 + Details
Name: | ifrs-full_WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022: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: |