XML 182 R166.htm IDEA: XBRL DOCUMENT
v3.25.1

Expenses by Nature - Detailed Information about Expenses by Nature (Parenthetical) (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Expense By Nature [Line Items] |  |  |
Export withholdings | $ 237 | $ 89 | $ 251
Research and development expense | 40 | 23 | 27
Expense relating to short term lease | 43 | 75 | 63
Expense relating to lease underlying asset | 92 | 104 | 104
Turnover tax | 594 | $ 541 | $ 567
Expense from cash-settled share-based payment transactions | $ 33 |  |

X
- Definition The amount of expense arising from cash-settled share-based payment transactions in which the goods or services received did not qualify for recognition as assets. [Refer: Expense from share-based payment transactions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ExpenseFromCashsettledSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expenditure directly attributable to research or development activities, recognised in profit or loss. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 38 -IssueDate 2024-01-01 -Paragraph 126 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2024-en-r&anchor=para_126&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ResearchAndDevelopmentExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Expense relating to lease underlying asset. + References No definition available. + Details
Name: | ypf_ExpenseRelatingToLeaseUnderlyingAsset
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Expense relating to short term lease. + References No definition available. + Details
Name: | ypf_ExpenseRelatingToShortTermLease
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Export withholdings. + References No definition available. + Details
Name: | ypf_ExportWithholdings
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Turnover tax. + References No definition available. + Details
Name: | ypf_TurnoverTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration