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

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_NewIFRSsAxis=ypf_IFRS16Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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