XML 217 R196.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Argentina [member] |  |  |
Disclosure of information about consolidated entities [line items] |  |  |
Mineral property, wells and related equipment | $ 53,052 | $ 49,698 | $ 47,792
Support equipment and facilities | 2,257 | 1,827 | 1,644
Drilling and work in progress | 3,774 | 2,638 | 1,949
Unproved oil and gas properties | 264 | 173 | 221
Total capitalized costs | 59,347 | 54,336 | 51,606
Accumulated depreciation and valuation allowances | (48,382) | (43,440) | (41,679)
Net capitalized costs | 10,965 | 10,896 | 9,927
Worldwide [member] |  |  |
Disclosure of information about consolidated entities [line items] |  |  |
Mineral property, wells and related equipment | 53,052 | 49,698 | 47,792
Support equipment and facilities | 2,257 | 1,827 | 1,644
Drilling and work in progress | 3,774 | 2,638 | 1,949
Unproved oil and gas properties | 264 | 173 | 221
Total capitalized costs | 59,347 | 54,336 | 51,606
Accumulated depreciation and valuation allowances | (48,382) | (43,440) | (41,679)
Net capitalized costs | $ 10,965 | $ 10,896 | $ 9,927

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: |