XML 77 R60.htm IDEA: XBRL DOCUMENT
v3.23.1

Cash and Cash Equivalents (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Text block [abstract] |
Summary of Cash and Cash Equivalents |
|  | 2022 |  |  |  |  |  | 2021 |  |  |  |  |  | 2020 |
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 |
|  |  | 773 |  |  |  |  |  |  |  | 611 |  |  |  |  |  |  |  | 650 |
(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 Disclosure of detailed cash and cash equivalents. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedCashAndCashEquivalentsExplanatory
Namespace Prefix: | ypf_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Text block [abstract] + References No definition available. + Details
Name: | ypf_TextBlockAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration