XML 154 R132.htm IDEA: XBRL DOCUMENT
v3.21.1

Income Tax - Summary of Calculation of Income Tax Expense Accrued (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Calculation of the income tax expense accrued [line items] |  |
Reversal of tax loss carryforwards |  | $ (5,175)
Interest expenses related to cost deduction for hydrocarbon wells abandonment |  | $ (10,610)
YPF [member] |  |
Calculation of the income tax expense accrued [line items] |  |
Tax revaluation | $ (4,562) |
YTEC [member] |  |
Calculation of the income tax expense accrued [line items] |  |
Tax revaluation | $ (42) |

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

X
- Definition Tax effect from contingencies associated to cost deduction for wells abandonment. + References No definition available. + Details
Name: | ypf_TaxEffectFromContingenciesAssociatedToCostDeductionForWellsAbandonment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Tax effect from interest cost associated to cost deduction for wells abandonment. + References No definition available. + Details
Name: | ypf_TaxEffectFromInterestCostAssociatedToCostDeductionForWellsAbandonment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=ypf_YpfMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=ypf_YtecMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |