XML 77 R56.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Inventories (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Text block [abstract] |
Summary of Inventories |
|  | 2023 |  |  |  | 2022 |  |  |  | 2021 |  |
Finished goods |  | 1,052 |  |  |  | 1,144 |  |  |  | 1,024 |  |
Crude oil and natural gas |  | 507 |  |  |  | 449 |  |  |  | 366 |  |
Products in process |  | 45 |  |  |  | 51 |  |  |  | 34 |  |
Raw materials, packaging materials and others |  | 79 |  |  |  | 94 |  |  |  | 76 |  |
|  | 1,683 |  | (1) |  | 1,738 |  | (1) |  | 1,500 |  | (1)
(1) | As of December 31, 2023, 2022 and 2021, the cost of inventories does not exceed their net realizable value.

X
- Definition Disclosure of detailed information of inventories. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedInformationOfInventoriesExplanatory
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