XML 136 R119.htm IDEA: XBRL DOCUMENT
v3.23.1

Cash and Cash Equivalents - Summary of Cash and Cash Equivalents (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Disclosure of cash and cash equivalents [line items] |  |  |  |  |
Cash and banks | [1] | $ 369 | $ 223 | $ 177 |
Short-term investments | [2] | 68 | 94 | 62 |
Financial assets at fair value with changes in results | [3] | 336 | 294 | 411 |
Total |  | $ 773 | $ 611 | $ 650 | $ 1,106
[1] | Includes balances granted as collateral. See Note 34.e).
[2] | Includes term deposits and other invetsments with the BNA for 10 and 24 as of December 31, 2021 and 2020, respectively.
[3] | See Note 6.

X
- Definition The amount of cash and bank balances held at central banks. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndBankBalancesAtCentralBanks
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B13 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 54 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition A classification of cash equivalents representing short-term investments. [Refer: Cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ShorttermInvestmentsClassifiedAsCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash and cash equivalents at fair value through profit or loss. + References No definition available. + Details
Name: | ypf_CashAndCashEquivalentsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represents cash and cash equivalents. + References No definition available. + Details
Name: | ypf_DisclosureOfCashAndCashEquivalentsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration