XML 111 R89.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Risk Management - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Aggregate value of financial assets at fair value through profit or loss | $ 44,468 | $ 15,408 | $ 18,733
Provision for doubtful trade receivables | 19,380 |  |
Provision for other doubtful receivables | 1,204 |  |
Guarantees granted by third parties | 38,302 | 42,026 | 24,377
Executed guarantees received |  |  |
Financial assets at amortized cost | $ 190,532 | $ 218,122 | $ 152,026
Credit risk other financial assets national government and direct agencies accounts [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Percentage of maximum exposure to credit risk | 33.00% |  |
Maximum exposure to credit risk | $ 60,316 |  |
Interest rate risk [member] | U.S. Dollar [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Percentage of financial loans denominated in foreign currency | 94.00% |  |
Interest rate risk [member] | LIBOR [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 44,836 |  |
Interest rate risk [member] | LIBOR [member] | Bottom of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 0.88% |  |
Interest rate risk [member] | LIBOR [member] | Top of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 8.50% |  |
Interest rate risk [member] | BADLAR [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 24,298 |  |
Interest rate risk [member] | BADLAR [member] | Bottom of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 0.10% |  |
Interest rate risk [member] | BADLAR [member] | Top of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 9.85% |  |
Other price risk [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Aggregate value of financial assets at fair value through profit or loss | $ 44,468 |  |
Liquidity risk [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Amount available for liquidity | 54,618 |  |
Cash | 14,843 |  |
Other liquid financial assets | 39,775 |  |
Financial assets at amortized cost | $ 19,052 |  |

X
- Definition The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_7&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_BorrowingsAdjustmentToInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of cash on hand and demand deposits. [Refer: Cash on hand] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_45&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_Cash
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 The amount of financial assets at amortised cost. The amortised cost is the amount at which financial assets are measured at initial recognition minus principal repayments, plus or minus the cumulative amortisation using the effective interest method of any difference between that initial amount and the maturity amount, and adjusted for any impairment. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 8 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_8_f&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialAssetsAtAmortisedCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of financial assets that are measured at fair value and for which gains (losses) are recognised in profit or loss. A financial asset shall be measured at fair value through profit or loss unless it is measured at amortised cost or at fair value through other comprehensive income. A gain (loss) on a financial asset measured at fair value shall be recognised in profit or loss unless it is part of a hedging relationship, it is an investment in an equity instrument for which the entity has elected to present gains and losses in other comprehensive income or it is a financial asset measured at fair value through other comprehensive income. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 8 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_8_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount that best represents the maximum exposure to credit risk without taking into account any collateral held or other credit enhancements (for example, netting agreements that do not qualify for offset in accordance with IAS 32). [Refer: Credit risk [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35K -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35K_a&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 36 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_36_a&doctype=Standard&book=b -URIDate 2020-01-01 + Details
Name: | ifrs-full_MaximumExposureToCreditRisk
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of cash and cash equivalents that the entity does not separately disclose in the same statement or note. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_45&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_OtherCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount available for liquidity. + References No definition available. + Details
Name: | ypf_AmountAvailableForLiquidity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Executed Guarantees Received + References No definition available. + Details
Name: | ypf_ExecutedGuaranteesReceived
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial loans accrued. + References No definition available. + Details
Name: | ypf_FinancialLoansAccrued
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Guarantees Granted by Third Parties + References No definition available. + Details
Name: | ypf_GuaranteesGrantedByThirdParties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of financial loans denominated in foreign currency. + References No definition available. + Details
Name: | ypf_PercentageOfFinancialLoansDenominatedInForeignCurrency
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of maximum exposure to credit risk. + References No definition available. + Details
Name: | ypf_PercentageOfMaximumExposureToCreditRisk
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Provision for doubtful trade receivables. + References No definition available. + Details
Name: | ypf_ProvisionForDoubtfulTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Provision for other doubtful receivables + References No definition available. + Details
Name: | ypf_ProvisionForOtherDoubtfulReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_InternalCreditGradesAxis=ypf_NationalGovernmentAndDirectAgenciesAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_CurrencyAxis=currency_USD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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