XML 218 R197.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 (Parenthetical) (Detail) - Upstream Contracts comprised in right-of-use assets [member] - IFRS 16 [member] - USD ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of information about consolidated entities [line items] |  |  |
Upstream wells related equipment contracts comprised in right-of-use assets | $ 696 | $ 524 | $ 423
Upstream support equipment and facilities contracts comprised in right-of-use assets | 521 | 351 | 271
Accumulated depreciation of all Upstream contracts comprised in right-of-use assets | $ (762) | $ (566) | $ (383)

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 comprised in right-of-use assets. + References No definition available. + Details
Name: | ypf_AccumulatedDepreciationOfAllUpstreamContractsComprisedInRightOfUseAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Upstream support equipment and facilities contracts comprised in right-of-use assets. + References No definition available. + Details
Name: | ypf_UpstreamSupportEquipmentAndFacilitiesContractsComprisedInRightOfUseAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Upstream wells related equipment contracts comprised in right-of-use assets. + References No definition available. + Details
Name: | ypf_UpstreamWellsRelatedEquipmentContractsComprisedInRightOfUseAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ypf_UpstreamContractsComprisedInRightOfUseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NewIFRSsAxis=ypf_IFRS16Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |