XML 219 R198.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Costs Incurred for Oil and Gas Producing Activities (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Argentina [member] |  |  |
Disclosure of information about consolidated entities [Line Items] |  |  |
Acquisition of unproved properties | $ 0 | $ 0 | $ 0
Exploration costs | 156 | 80 | 44
Development costs | 4,370 | 3,138 | 1,938
Total costs incurred | 4,526 | 3,218 | 1,982
Other foreign [Member] |  |  |
Disclosure of information about consolidated entities [Line Items] |  |  |
Exploration costs | 1 | 2 | 2
Total costs incurred | 1 | 2 | 2
Worldwide [member] |  |  |
Disclosure of information about consolidated entities [Line Items] |  |  |
Acquisition of unproved properties | 0 | 0 | 0
Exploration costs | 157 | 82 | 46
Development costs | 4,370 | 3,138 | 1,938
Total costs incurred | $ 4,527 | $ 3,220 | $ 1,984

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 Acquisition of unproved properties. + References No definition available. + Details
Name: | ypf_AcquisitionOfUnprovedProperties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Costs Incurred in oil and gas productivity. + References No definition available. + Details
Name: | ypf_CostsIncurredInOilAndGasProductivity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Additions of Upstream contracts comprised in right-of-use assets + References No definition available. + Details
Name: | ypf_DevelopmentCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exploration Costs. + References No definition available. + Details
Name: | ypf_ExplorationCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_OtherForeignMember
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: |