XML 180 R164.htm IDEA: XBRL DOCUMENT
v3.25.1

Costs - Detailed Information of Inventory Costs (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of details of inventory costs [abstract] |  |  |  |  |  |
Inventories at the beginning of the fiscal year |  | $ 1,683 | [1] | $ 1,738 | [1] | $ 1,500
Purchases |  | 4,531 |  | 5,106 |  | 6,212
Production costs | [2] | 9,252 |  | 8,703 |  | 7,704
Translation effect |  | (10) |  | (29) |  | (13)
Inventories write-down |  | (21) |  |  |  |
Adjustment for inflation | [3] | 28 |  | 18 |  | 19
Reclassifications | [4] | (7) |  |  |  |
Inventories at the end of the fiscal year | [1] | (1,546) |  | (1,683) |  | (1,738)
Total |  | $ 13,910 |  | $ 13,853 |  | $ 13,684
[1] | As of December 31, 2024, 2023 and 2022, the carrying amount of inventories does not exceed their net realizable value.
[2] | See Note 27.
[3] | Corresponds to adjustment for inflation of opening balances of inventories of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income.
[4] | Corresponds to the balances of our subsidiary YPF Brasil reclassified to the “Assets held for sale” line item in the statement of financial position, see Note 3 “Sale of equity participation in YPF Brasil” section.

X
- Definition The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_99&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_103&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CostOfSales
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 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 details of inventory costs. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailsOfInventoryCostsAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Inventory inflation adjustment. + References No definition available. + Details
Name: | ypf_InventoryInflationAdjustment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Inventory production costs. + References No definition available. + Details
Name: | ypf_InventoryProductionCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Inventory purchases. + References No definition available. + Details
Name: | ypf_InventoryPurchases
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Inventory translation effect. + References No definition available. + Details
Name: | ypf_InventoryTranslationEffect
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reclassification of inventories. + References No definition available. + Details
Name: | ypf_ReclassificationOfInventories
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration