XML 120 R98.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Instruments by Category - Summary of Financial Assets and Liabilities by Category of Financial Instrument and Reconciliation (Detail) - ARS ($) $ in Millions | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | ---
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets at amortized cost | $ 190,532 | $ 218,122 | $ 152,026
Financial Assets at fair value through profit or loss | 44,468 | 15,408 | 18,733
Subtotal Financial Assets | 235,000 | 233,530 | 170,759
Non-financial Assets | 35,029 | 29,892 | 17,250
Total | 270,029 | 263,422 | 188,009
Financial Liabilities at amortized cost | 875,818 | 740,433 | 423,436
Subtotal financial liabilities | 875,818 | 740,433 | 423,436
Non-financial liabilities | 5,874 | 1,180 | 511
Total | 881,692 | 741,613 | 423,947
Other receivables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets at amortized cost | 15,391 | 19,078 | 14,860
Subtotal Financial Assets | 15,391 | 19,078 | 14,860
Non-financial Assets | 35,029 | 29,892 | 17,250
Total | 50,420 | 48,970 | 32,110
Trade receivables [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets at amortized cost | 136,057 | 139,982 | 98,930
Subtotal Financial Assets | 136,057 | 139,982 | 98,930
Total | 136,057 | 139,982 | 98,930
Investment in financial assets [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets at amortized cost | 19,052 |  |
Financial Assets at fair value through profit or loss | 9,882 | 8,370 | 10,941
Subtotal Financial Assets | 28,934 | 8,370 | 10,941
Total | 28,934 | 8,370 | 10,941
Cash and cash equivalents [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Assets at amortized cost | 20,032 | 59,062 | 38,236
Financial Assets at fair value through profit or loss | 34,586 | 7,038 | 7,792
Subtotal Financial Assets | 54,618 | 66,100 | 46,028
Total | 54,618 | 66,100 | 46,028
Lease liabilities [Member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Liabilities at amortized cost | 46,270 | 61,780 |
Subtotal financial liabilities | 46,270 | 61,780 |
Total | 46,270 | 61,780 |
Loans [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Liabilities at amortized cost | 678,306 | 526,760 | 335,078
Subtotal financial liabilities | 678,306 | 526,760 | 335,078
Total | 678,306 | 526,760 | 335,078
Other Liabilities [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Liabilities at amortized cost | 12,023 | 2,013 | 1,271
Subtotal financial liabilities | 12,023 | 2,013 | 1,271
Total | 12,023 | 2,013 | 1,271
Accounts payable [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Financial Liabilities at amortized cost | 139,219 | 149,880 | 87,087
Subtotal financial liabilities | 139,219 | 149,880 | 87,087
Non-financial liabilities | 5,874 | 1,180 | 511
Total | $ 145,093 | $ 151,060 | $ 87,598

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 assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose the entity’s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_25&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35H -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35H&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35I -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35I&doctype=Standard -URIDate 2020-01-01 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35M -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35M&doctype=Standard -URIDate 2020-01-01 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35N -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35N&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity’s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity’s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 25 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_25&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of financial liabilities at amortised cost. The amortised cost is the amount at which financial liabilities 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. [Refer: Financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 8 -Subparagraph g -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_8_g&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 8 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_8_f&doctype=Standard&book=b -URIDate 2020-01-01 + Details
Name: | ifrs-full_FinancialLiabilitiesAtAmortisedCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Financial and non-financial assets + References No definition available. + Details
Name: | ypf_FinancialAndNonFinancialAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financial and Non Financial Liabilities + References No definition available. + Details
Name: | ypf_FinancialAndNonFinancialLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Non-financial liabilities. + References No definition available. + Details
Name: | ypf_NonFinancialLiabilities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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

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

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ifrs-full_LeaseLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ypf_Loans1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ypf_OtherLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfLiabilitiesAxis=ypf_AccountsPayable1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |