XML 154 R138.htm IDEA: XBRL DOCUMENT
v3.25.1

Income Tax - Summary of Breakdown of Income Tax Liability (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Breakdown of Income Tax Liability [Abstract] |  |  |
Income tax liability, non-current | $ 2 | $ 4 | $ 26
Income tax liability, current | $ 126 | $ 31 | $ 27

X
- Definition The amount of current tax for current and prior periods to the extent unpaid. Current tax is the amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph n -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_n&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentTaxLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The non-current amount of current tax liabilities. [Refer: Current tax liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph n -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_n&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentTaxLiabilitiesNoncurrent
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Breakdown of income tax liability. + References No definition available. + Details
Name: | ypf_BreakdownOfIncomeTaxLiabilityAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration