XML 98 R101.htm IDEA: XBRL DOCUMENT
v3.20.1

Financial Instruments by Category - Summary of Company's Financial Assets Measured at Fair Value (Detail) - ARS ($) $ in Millions | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | $ 15,408 | $ 18,733 | $ 31,987
Investment in financial assets [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 8,370 | 10,941 | 12,936
Cash and cash equivalents [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 7,038 | 7,792 | 19,051
Public securities [member] | Investment in financial assets [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 8,370 | 10,941 | 12,936
Mutual funds [member] | Cash and cash equivalents [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 7,038 | 7,792 | 19,051
Level 1 [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 15,408 | 18,733 | 31,987
Level 1 [member] | Investment in financial assets [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 8,370 | 10,941 | 12,936
Level 1 [member] | Cash and cash equivalents [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 7,038 | 7,792 | 19,051
Level 1 [member] | Public securities [member] | Investment in financial assets [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | 8,370 | 10,941 | 12,936
Level 1 [member] | Mutual funds [member] | Cash and cash equivalents [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets | $ 7,038 | $ 7,792 | $ 19,051

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

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 2019-01-01 -Paragraph 8 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2019-en-r&anchor=para_8_a&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_InvestmentsAndFinancialAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_CashAndCashEquivalentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ypf_PublicSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ypf_MutualFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level1OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |