XML 157 R135.htm IDEA: XBRL DOCUMENT
v3.21.1

Income Tax - Summary of Breakdown of Deferred Tax (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Breakdown of deferred tax [line Items] |  |  |
Adjustment for inflation of the opening deferred liabilities of subsidiaries with the Peso as functional currency | $ (1,957) | $ (1,523) | $ (3,432)
IFRS9 [member] | Financial assets impaired [member] |  |  |
Breakdown of deferred tax [line Items] |  |  |
Impairment of financial assets | $ 127 |  |

X
- Definition The amount of impairment loss on financial assets. [Refer: Financial assets; Impairment loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 20 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_20_e&doctype=Standard&book=b -URIDate 2020-01-01 + Details
Name: | ifrs-full_ImpairmentLossOnFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustment to offset deferred tax liabilities of subsidiaries with the Peso as functional currency. + References No definition available. + Details
Name: | ypf_AdjustmentToOffsetDeferredTaxLiabilitiesOfSubsidiariesWithThePesoAsFunctionalCurrency
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Breakdown of deferred tax. + References No definition available. + Details
Name: | ypf_BreakdownOfDeferredTaxLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_EffectOfOverlayApproachReclassificationAxis=ypf_IFRS9Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ImpairmentOfFinancialAssetsAxis=ifrs-full_FinancialAssetsImpairedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |