XML 144 R127.htm IDEA: XBRL DOCUMENT
v3.23.1

Income Tax - Summary of Breakdown of Income Tax Liability (Parentheticals) (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Break down of income tax liability [Line Items] |  |  |
Tax liabilities | $ 27 | $ 13 | $ 9
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 | 6 | 5 | 6
Remaining Installments of the Regimes [Member] | Hydrocarbon Wells Abandonment Costs [member] |  |  |
Break down of income tax liability [Line Items] |  |  |
Tax liabilities | $ 26 | $ 29 | $ 42

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 2022-03-24 -Paragraph 54 -Subparagraph n -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_n&doctype=Standard -URIDate 2022-03-24 + 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: |