XML 112 R90.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Risk Management - Schedule of Estimated Impact on Consolidated Comprehensive Income that an Increase or Decrease of 100 Basis Points in Interest Rate (Detail) - Interest rate risk [member] $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 ARS ($)
Positive variation impact on net income after income tax [Member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Increase (+) / decrease (-) in the interest rates (basis points) | 100.00%
Income/(loss) for fiscal year ended December 31, 2020 | $ (766)
Negative variation impact on net income after income tax [Member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Increase (+) / decrease (-) in the interest rates (basis points) | (100.00%)
Income/(loss) for fiscal year ended December 31, 2020 | $ 766

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

X
- Definition Income loss on change in value of interest rate basis spreads net of tax. + References No definition available. + Details
Name: | ypf_IncomeLossOnChangeInValueOfInterestRateBasisSpreadsNetOfTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of increase or decrease in interest rates basis points. + References No definition available. + Details
Name: | ypf_PercentageOfIncreaseOrDecreaseInInterestRatesBasisPoints
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_InterestRateRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ypf_PositiveVariationImpactOnNetIncomeAfterIncomeTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ypf_NegativeVariationImpactOnNetIncomeAfterIncomeTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |