XML 124 R107.htm IDEA: XBRL DOCUMENT
v3.23.1

Right-of-use Assets -Summary of Evolution of the Group's Right-of-use Assets (Parenthetical) (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of quantitative information about right-of-use assets [line items] |  |  |
Depreciation of right-of-use assets | $ 214 | $ 201 | $ 254
Capitalization of amortization of right-of-use assets in property, plant and equipment | $ 57 | 44 | $ 54
Cost [member] | Machinery and equipment [member] |  |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |  |
Cost decrease due to liquefaction barge with exmar |  | 277 |
Accumulated depreciation [member] | Machinery and equipment [member] |  |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |  |
Cost decrease due to liquefaction barge with exmar |  | $ 28 |

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 53 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Capitalization of amortization of right-of-use assets. + References No definition available. + Details
Name: | ypf_CapitalizationOfAmortizationOfRightofuseAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cost decrease due to liquefaction barge with Exmar, + References No definition available. + Details
Name: | ypf_CostDecreaseDueToLiquefactionBargeWithExmar
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_GrossCarryingAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_MachineryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_AccumulatedDepreciationAndAmortisationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |