XML 137 R115.htm IDEA: XBRL DOCUMENT
v3.21.1

Right-of-use Assets -Summary of Evolution of the Group's Right-of-use Assets (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure of quantitative information about right-of-use assets [line items] |  |
Depreciation of right-of-use assets | $ 17,873 | $ 10,509
Capitalization of amortization of right-of-use assets in property, plant and equipment | 3,789 | $ 2,021
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 | (21,103) |
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 | $ (2,110) |

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 2020-01-01 -Paragraph 53 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_53_a&doctype=Standard -URIDate 2020-01-01 + 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 domain 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: |