XML 121 R99.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Instruments by Category - Summary of Gains and Losses on Financial Instruments (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Disclosure of detailed information about financial instruments [line items] |  |  |
Interest income | $ 7,363 | $ 7,665 | $ 3,033
Interest loss | (65,821) | (48,136) | (28,717)
Net financial accretion | (8,794) | (5,592) | 7,627
Net exchange differences | 36,102 | 47,935 | 54,459
Fair value gains on financial assets at fair value through profit or loss | 3,862 | (1,449) | 2,596
Result from derivative financial instruments | (860) | (293) | 933
Results from transactions with financial assets | 9,786 |  |
Result from financial instruments exchange | 1,330 |  |
Result from debt exchange | (2,097) |  |
Result from net monetary position | 7,828 | 5,904 | 1,594
Net financial results | (11,301) | 6,034 | 41,525
Financial and non-financial Assets / Liabilities at amortized cost [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Interest income | 7,363 | 7,665 | 3,033
Interest loss | (65,821) | (48,136) | (28,717)
Net financial accretion | (8,794) | (5,592) | 7,627
Net exchange differences | 36,102 | 47,935 | 54,459
Result from debt exchange | (2,097) |  |
Result from net monetary position | 7,828 | 5,904 | 1,594
Net financial results | (25,419) | 7,776 | 37,996
Financial Assets / Liabilities at fair value through profit or loss [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Fair value gains on financial assets at fair value through profit or loss | 3,862 | (1,449) | 2,596
Result from derivative financial instruments | (860) | (293) | 933
Results from transactions with financial assets | 9,786 |  |
Result from financial instruments exchange | 1,330 |  |
Net financial results | $ 14,118 | $ (1,742) | $ 3,529

X
- Definition Adjustments for gains (losses) on changes in the fair value of derivatives to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: At fair value [member]; Derivatives [member]; Profit (loss)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2020-01-01 -Paragraph 20 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2020-en-r&anchor=para_20&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_AdjustmentsForGainsLossesOnChangeInFairValueOfDerivatives
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 income or cost associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_85&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinanceIncomeCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gain (loss) recognised on derecognised financial assets as of the date of the transfer of the assets. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 42G -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_42G_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_GainLossOfDerecognisedFinancialAssetsAtDateOfTransfer
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) on financial assets at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 20 -Subparagraph a -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_20_a_i&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 23 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_23_d&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 28 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_28_e&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph B13 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_B13_f&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_InterestExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 23 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_23_c&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 28 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_28_e&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph B13 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_B13_e&doctype=Appendix&subtype=B -URIDate 2020-01-01 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_112_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_RevenueFromInterest
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for gains losses on debt exchange. + References No definition available. + Details
Name: | ypf_AdjustmentsForGainsLossesOnDebtExchange
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gain (loss) on derivative financial instruments. + References No definition available. + Details
Name: | ypf_GainLossOnDerivativeFinancialInstruments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net Financial Accretion + References No definition available. + Details
Name: | ypf_NetFinancialAccretion
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net foreign exchange gain (loss). + References No definition available. + Details
Name: | ypf_NetForeignExchangeGainLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Result from net monetary position. + References No definition available. + Details
Name: | ypf_ResultFromNetMonetaryPosition
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |