XML 142 R126.htm IDEA: XBRL DOCUMENT
v3.25.1

Inventories - Summary of Inventories (Parenthetical) (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($)
Disclosure of inventories [abstract] |
Write-downs (reversals of write-downs) of inventories | $ 21

X
- Definition The amount recognised resulting from the write-down of inventories to net realisable value or reversals of those write-downs. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 98 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_98_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_WritedownsReversalsOfInventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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