XML 150 R134.htm IDEA: XBRL DOCUMENT
v3.25.1

Provisions - Summary of Changes in Group's Provisions (Parenthetical) (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of provisions [line items] |  |  |
Abandonment of hydrocarbon wells cost | $ 169 | $ 507 | $ 268
Hydrocarbon wells abandonment obligations [Member] | Assets and liabilities classified as held for sale [member] |  |  |
Disclosure of provisions [line items] |  |  |
Provisions | 2,023 |  |
Environmental liabilities [Member] | Assets and liabilities classified as held for sale [member] |  |  |
Disclosure of provisions [line items] |  |  |
Provisions | 54 |  |
Trust Settlement Agreement [Member] |  |  |
Disclosure of provisions [line items] |  |  |
Amount reclassified as current provision due to the Trust Settlement Agreement | 286 |  |
Hydrocarbon Wells Abandonmnet Cost [member] |  |  |
Disclosure of provisions [line items] |  |  |
Abandonment of hydrocarbon wells cost | 169 | $ 507 | $ 268
Hydrocarbon Wells Abandonmnet Cost [member] | Dispute relating to the tax deduction of hydrocarbon well abandonment costs for periods 2014-2017 [member] |  |  |
Disclosure of provisions [line items] |  |  |
Recovery of Liabilities of Dispute relating to tax Deduction | 30 |  |
Hydrocarbon Wells Abandonmnet Cost [member] | Other contingent liabilities [member] | Dispute relating to the tax deduction of hydrocarbon well abandonment costs for periods 2014-2017 [member] | Administracion Federal De Ingresos Publicos [member] |  |  |
Disclosure of provisions [line items] |  |  |
Increase decrease through transfers and other changes other provisions | 22 |  |
Transportadora De Gas Del Norte SA [member] |  |  |
Disclosure of provisions [line items] |  |  |
Other liabilities | $ 134 |  |

X
- Definition The increase (decrease) in other provisions resulting from transfers and changes that the entity does not separately disclose in the same statement or note. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 37 -IssueDate 2024-01-01 -Paragraph 84 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2024-en-r&anchor=para_84&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in property, plant and equipment resulting from transfers and changes that the entity does not separately disclose in the same statement or note. [Refer: Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 16 -IssueDate 2024-01-01 -Paragraph 73 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2024-en-r&anchor=para_73_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesPropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of liabilities that the entity does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities of uncertain timing or amount, including provisions for employee benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph l -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_l&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Provisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount reclassified as current provision due to the trust settlement agreement. + References No definition available. + Details
Name: | ypf_AmountReclassifiedAsCurrentProvisionDueToTheTrustSettlementAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of provisions. + References No definition available. + Details
Name: | ypf_DisclosureOfProvisionsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Liabilities Decrease Through Balances Recovered in Current Period. + References No definition available. + Details
Name: | ypf_LiabilitiesDecreaseThroughBalancesRecoveredInCurrentPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_AssetsAndLiabilitiesClassifiedAsHeldForSaleAxis=ifrs-full_AssetsAndLiabilitiesClassifiedAsHeldForSaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ypf_AgreementAxis=ypf_TrustSettlementAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=ifrs-full_OtherContingentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ypf_AdministracionFederalDeIngresosPublicosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_TransportadoraDeGasDelNorteSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |