XML 141 R125.htm IDEA: XBRL DOCUMENT
v3.25.1

Inventories - Summary of Inventories (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | --- | ---
Disclosure of inventories [line items] |  |  |  |  |  |  |
Inventories | $ 1,546 | [1] | $ 1,683 | [1] | $ 1,738 | [1] | $ 1,500
Finished goods [Member] |  |  |  |  |  |  |
Disclosure of inventories [line items] |  |  |  |  |  |  |
Inventories | 925 |  | 1,052 |  | 1,144 |  |
Crude oil and natural gas [member] |  |  |  |  |  |  |
Disclosure of inventories [line items] |  |  |  |  |  |  |
Inventories | 456 |  | 507 |  | 449 |  |
Products in process [member] |  |  |  |  |  |  |
Disclosure of inventories [line items] |  |  |  |  |  |  |
Inventories | 49 |  | 45 |  | 51 |  |
Raw materials, packaging materials and others [member] |  |  |  |  |  |  |
Disclosure of inventories [line items] |  |  |  |  |  |  |
Inventories | $ 116 |  | $ 79 |  | $ 94 |  |
[1] | As of December 31, 2024, 2023 and 2022, the carrying amount of inventories does not exceed their net realizable value.

X
- Definition The amount of current inventories. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 2 -IssueDate 2024-01-01 -Paragraph 36 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2024-en-r&anchor=para_36_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_g&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_68&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Inventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure of inventories [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfInventoriesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_FinishedGoodsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_CrudeOilAndCommercializedNaturalGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_ProductsInProcessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_RawMaterialsPackagingMaterialsAndOthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |