XML 155 R139.htm IDEA: XBRL DOCUMENT
v3.25.1

Income Tax - Summary of Breakdown of Income Tax Liability (Parentheticals) (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Break down of income tax liability [Line Items] |  |  |
Tax liabilities | $ 126 | $ 31 | $ 27
Installments of the Regularization Regimes Associated with the Dispute Over the Cost Deduction for Hydrocarbon Well Abandonment [Member] | Hydrocarbon Wells Abandonment Costs [member] | Twelve Instalments [member] |  |  |
Break down of income tax liability [Line Items] |  |  |
Tax liabilities | 1 | 1 | 6
Remaining Installments of the Regimes [Member] | Hydrocarbon Wells Abandonment Costs [member] |  |  |
Break down of income tax liability [Line Items] |  |  |
Tax liabilities | $ 2 | $ 4 | $ 26

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
- References No definition available. + Details
Name: | ypf_BreakDownOfIncomeTaxLiabilityLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ypf_DetailsAxis=ypf_InstallmentsOfTheRegularizationRegimesAssociatedWithTheDisputeOverTheCostDeductionForHydrocarbonWellAbandonmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_DetailsOneAxis=ypf_HydrocarbonWellsAbandonmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_InstalmentsAxis=ypf_TwelveInstalmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_DetailsAxis=ypf_RemainingInstallmentsOfTheRegimesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |