XML 152 R135.htm IDEA: XBRL DOCUMENT
v3.23.1

Lease liabilities - Additional information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Lease liabilities [abstract] |  |  |
Financial expenses resulting from lease contracts | $ 75 | $ 57 | $ 84
Financial expenses on leases included in Financial Accreation | 61 | 46 | 70
Financial expenses on leases capitalized in Property, plant and equipment | 14 | 11 | 14
Total charges recorded in comprehensive income and capitalizations | $ 238 | $ 115 | $ 167

X
- Definition The amount of interest costs that an entity incurs in connection with the borrowing of funds that are directly attributable to the acquisition, construction or production of a qualifying asset and which form part of the cost of that asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_InterestCostsCapitalised
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of interest expense on lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 53 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_InterestExpenseOnLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 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

X
- Definition Total charges recorded in comprehensive income and capitalizations. + References No definition available. + Details
Name: | ypf_TotalChargesRecordedInComprehensiveIncomeAndCapitalizations
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration