XML 151 R130.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Income Tax - Summary of Breakdown of Deferred Tax (Detail) - USD ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax assets | $ 2,130 | $ 510 | $ 613
Total deferred tax liabilities | (3,354) | (2,226) | (2,399)
Total Net deferred tax | (1,224) | (1,716) | (1,786)
Provisions and Other Non Deductible Liabilities [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax assets | 113 | 154 | 380
Miscellaneous Deferred Tax Assets [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax assets | 1 | 1 | 16
Property, plant and equipment [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax liabilities | (2,017) | (1,028) | (1,532)
Tax Losses Carryforward and Other Tax Credits [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax assets | 1,782 | 167 | 27
Adjustment For Tax Inflation [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax liabilities | (1,078) | (965) | (644)
Lease liabilities [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax assets | 234 | 188 | 190
Right-of-use assets [Member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax liabilities | (221) | (180) | (184)
Miscellaneous Deferred Tax Liabilities [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Total deferred tax liabilities | $ (38) | $ (53) | $ (39)

X
- Definition The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DeferredTaxLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of deferred tax assets net of deferred tax liabilities, when the absolute amount of deferred tax assets is greater than the absolute amount of deferred tax liabilities. [Refer: Deferred tax assets; Deferred tax liabilities] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NetDeferredTaxAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of deferred tax liabilities net of deferred tax assets, when the absolute amount of deferred tax liabilities is greater than the absolute amount of deferred tax assets. [Refer: Deferred tax assets; Deferred tax liabilities] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph g -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NetDeferredTaxLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_ProvisionsAndOtherNonDeductibleLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_MiscellaneousDeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_PropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ypf_TaxLossesCarryforwardAndOtherTaxCreditsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ypf_AdjustmentForTaxInflationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ypf_TemporaryDifferenceRelatingToLeaseLiabilitesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis=ypf_TemporaryDifferenceRelatingToRightOfUseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ypf_MiscellaneousDeferredTaxLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |