XML 218 R202.htm IDEA: XBRL DOCUMENT
v3.25.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Summary of Capitalized Costs, Along with the related Accumulated Depreciation and Allowances (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Argentina [member] |  |  |
Disclosure of information about consolidated entities [line items] |  |  |
Mineral property, wells and related equipment | $ 28,164 | $ 53,052 | $ 49,698
Support equipment and facilities | 2,138 | 2,257 | 1,827
Drilling and work in progress | 3,916 | 3,774 | 2,638
Unproved oil and gas properties | 186 | 264 | 173
Total capitalized costs | 34,404 | 59,347 | 54,336
Accumulated depreciation and valuation allowances | (23,602) | (48,382) | (43,440)
Net capitalized costs | 10,802 | 10,965 | 10,896
Worldwide [member] |  |  |
Disclosure of information about consolidated entities [line items] |  |  |
Mineral property, wells and related equipment | 28,164 | 53,052 | 49,698
Support equipment and facilities | 2,138 | 2,257 | 1,827
Drilling and work in progress | 3,916 | 3,774 | 2,638
Unproved oil and gas properties | 186 | 264 | 173
Total capitalized costs | 34,404 | 59,347 | 54,336
Accumulated depreciation and valuation allowances | (23,602) | (48,382) | (43,440)
Net capitalized costs | $ 10,802 | $ 10,965 | $ 10,896

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfInformationAboutConsolidatedStructuredEntitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated Depreciation of all Upstream contracts + References No definition available. + Details
Name: | ypf_AccumulatedDepreciationAndValuationAllowances
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Drilling Contracts + References No definition available. + Details
Name: | ypf_DrillingAndWorkInProgress
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross capitalized cost. + References No definition available. + Details
Name: | ypf_GrossCapitalizedCost
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition All Upstream contracts excepted for Drilling Contracts + References No definition available. + Details
Name: | ypf_MineralPropertyWellsAndRelatedEquipment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net capitalized cost. + References No definition available. + Details
Name: | ypf_NetCapitalizedCost
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Support equipment and facilities. + References No definition available. + Details
Name: | ypf_SupportEquipmentAndFacilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unproved oil and gas properties. + References No definition available. + Details
Name: | ypf_UnprovedOilAndGasProperties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_AR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_WorldwideMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |