XML 159 R138.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Lease liabilities - Summary of lease liabilities activity (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Lease liabilities [abstract] |  |  |
Balance at the beginning of the year | $ 566 | $ 542 | $ 551
Leases increases | 404 | 306 | 284
Financial accretions | 77 | 75 | 57
Leases decreases | (23) | (15) | (46)
Payments | (359) | (341) | (302)
Net exchange and translation differences |  | (2) | (1)
Result from net monetary position | 1 | 1 | (1)
Balance at the end of year | $ 666 | $ 566 | $ 542

X
- Definition The cash outflow for leases. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 53 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_g&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CashOutflowForLeases
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | ifrs-full_LeaseLiabilitiesAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Additions to lease liabilities. + References No definition available. + Details
Name: | ypf_AdditionsToLeaseLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Deletions to lease liabilities. + References No definition available. + Details
Name: | ypf_DeletionsToLeaseLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Increase decrease through exchange and translation differences, lease liabilities. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseThroughExchangeAndTranslationDifferencesLeaseLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase decrease through net monetary position, lease liabilities. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseThroughNetMonetaryPositionLeaseLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Interest expenses on lease liabilities incurred. + References No definition available. + Details
Name: | ypf_InterestExpensesOnLeaseLiabilitiesIncurred
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration