XML 139 R123.htm IDEA: XBRL DOCUMENT
v3.25.1

Assets Held for Sale and Associated Liabilities - Summary of the Main Assets Held For Sale and Associated Liabilities (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Property, plant and equipment | $ 18,736 | $ 17,712 | $ 17,510
Assets | 29,391 | 25,035 | 25,912
Liabilities | 17,521 | $ 15,984 | $ 15,360
Assets and liabilities classified as held for sale [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Assets | 1,537 |  |
Liabilities | 2,136 |  |
Assets and liabilities classified as held for sale [member] | Upstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Assets | 1,506 |  |
Liabilities | 2,118 |  |
Assets and liabilities classified as held for sale [member] | Downstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Assets | 31 |  |
Liabilities | 18 |  |
Assets and liabilities classified as held for sale [member] | Hydrocarbon Wells Abandonment Obligations - Mature Fields Project [Member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Provision | 2,051 |  |
Assets and liabilities classified as held for sale [member] | Hydrocarbon Wells Abandonment Obligations - Mature Fields Project [Member] | Upstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Provision | 2,051 |  |
Assets and liabilities classified as held for sale [member] | Environmental Liabilities - Mature Fields Project [Member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Provision | 53 |  |
Assets and liabilities classified as held for sale [member] | Environmental Liabilities - Mature Fields Project [Member] | Upstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Provision | 53 |  |
Assets and liabilities classified as held for sale [member] | Mature Fields Project [Member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Liabilities | 14 |  |
Assets and liabilities classified as held for sale [member] | Mature Fields Project [Member] | Upstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Liabilities | 14 |  |
Assets and liabilities classified as held for sale [member] | YPF Brazil [Member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Assets | 21 |  |
Liabilities | 18 |  |
Assets and liabilities classified as held for sale [member] | YPF Brazil [Member] | Downstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Assets | 21 |  |
Liabilities | 18 |  |
Assets and liabilities classified as held for sale [member] | Mature Fields Project [Member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Property, plant and equipment | 1,506 |  |
Assets and liabilities classified as held for sale [member] | Mature Fields Project [Member] | Upstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Property, plant and equipment | 1,506 |  |
Assets and liabilities classified as held for sale [member] | Gas Stations [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Property, plant and equipment | 10 |  |
Assets and liabilities classified as held for sale [member] | Gas Stations [member] | Downstream [member] |  |  |
Assets Held For Sale And Associated Liabilities [Line Items] |  |  |
Property, plant and equipment | $ 10 |  |

X
- Definition The amount of a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_c&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -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_Assets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of a present obligation of the entity to transfer an economic resource as a result of past events. Economic resource is a right that has the potential to produce economic benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_a&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_e&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 28 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_28_d&doctype=Standard -URIDate 2024-03-27 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2024-01-01 -Paragraph 23 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2024-en-r&anchor=para_23&doctype=Standard -URIDate 2024-03-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2024-01-01 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2024-en-r&anchor=para_93_b&doctype=Standard -URIDate 2024-03-27 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -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_Liabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of tangible assets that: (a) are held for use in the production or supply of goods or services, for rental to others, or for administrative purposes; and (b) are expected to be used during more than one period. Note that right-of-use assets are not included. [Contrast: Property, plant and equipment including right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- References No definition available. + Details
Name: | ypf_AssetsHeldForSaleAndAssociatedLiabilitiesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ifrs-full_SegmentsAxis=ypf_UpstreamMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ypf_DownstreamMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_YpfBrazilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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