XML 117 R101.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Instruments by Category - Summary of Gains and Losses on Financial Instruments (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Financial income |  | $ 134 | $ 334 |  | $ 320
Financial costs |  | (1,169) | (1,149) |  | (988)
Net exchange differences |  | 70 | 1,325 |  | 541
Results on financial assets at fair value with changes in profit or loss |  | 232 | 289 |  | 118
Result from derivative financial instruments |  | (1) | 7 |  | (9)
Export Increase Program | [1] | 3 | 22 |  | 0
Result from transactions with financial assets |  | (3) | 32 | [2] | 0
Result from net monetary position |  | 39 | 37 |  | 146
Net financial results |  | (695) | 897 |  | 128
Financial and non-financial assets / liabilities at amortized cost [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Financial income |  | 134 | 334 |  | 320
Financial costs |  | (1,169) | (1,149) |  | (988)
Net exchange differences |  | 101 | 1,561 |  | 638
Results on financial assets at fair value with changes in profit or loss |  | 0 | 0 |  | 0
Result from derivative financial instruments |  | 0 | 0 |  | 0
Export Increase Program | [1] | 0 | 0 |  | 0
Result from transactions with financial assets |  | 0 | 0 | [2] | 0
Result from net monetary position |  | 39 | 37 |  | 146
Net financial results |  | (895) | 783 |  | 116
Financial assets / liabilities at fair value through profit or loss [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Financial income |  | 0 | 0 |  | 0
Financial costs |  | 0 | 0 |  | 0
Net exchange differences |  | (31) | (236) |  | (97)
Results on financial assets at fair value with changes in profit or loss |  | 232 | 289 |  | 118
Result from derivative financial instruments |  | (1) | 7 |  | (9)
Export Increase Program | [1] | 3 | 22 |  | 0
Result from transactions with financial assets |  | (3) | 32 | [2] | 0
Result from net monetary position |  | 0 | 0 |  | 0
Net financial results |  | $ 200 | $ 114 |  | $ 12
[1] | See Note 36.h).
[2] | See Note 29.

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of costs associated with financing activities of the entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 82 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_82_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinanceCosts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinanceIncome
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of income or cost associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_85&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_FinanceIncomeCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gain (loss) recognised on derecognised financial assets as of the date of the transfer of the assets. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 42G -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_42G_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainLossOfDerecognisedFinancialAssetsAtDateOfTransfer
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) on financial assets at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 20 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_20_a_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Export increase programme other income. + References No definition available. + Details
Name: | ypf_ExportIncreaseProgrammeOtherIncome
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gain (loss) on derivative financial instruments. + References No definition available. + Details
Name: | ypf_GainLossOnDerivativeFinancialInstruments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net foreign exchange gain (loss). + References No definition available. + Details
Name: | ypf_NetForeignExchangeGainLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Result from net monetary position. + References No definition available. + Details
Name: | ypf_ResultFromNetMonetaryPosition
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |