XML 114 R93.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Financial Instruments by Category - Summary of Gains and Losses on Financial Instruments (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Interest income | $ 325 |  | $ 319 | $ 164
Interest loss | (776) |  | (712) | (749)
Net financial accretion | (364) |  | (275) | (167)
Net exchange differences | 1,325 |  | 541 | 248
Results on financial assets at fair value with changes in profit or loss | 289 |  | 118 | 105
Result from derivative financial instruments | 7 |  | (9) | (10)
Export Increase Program | 22 | [1] | 0 | 0
Result from transactions with financial assets | 32 |  | 0 | 0
Result from debt exchange | 0 |  | 0 | 21
Result from net monetary position | 37 |  | 146 | 117
Net financial results | 897 |  | 128 | (271)
Financial and non-financial Assets / Liabilities at amortized cost [member] |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Interest income | 325 |  | 319 | 164
Interest loss | (776) |  | (712) | (749)
Net financial accretion | (364) |  | (275) | (167)
Net exchange differences | 1,561 |  | 638 | 294
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 | 0 |  | 0 | 0
Result from transactions with financial assets | 0 |  | 0 | 0
Result from debt exchange | 0 |  | 0 | 21
Result from net monetary position | 37 |  | 146 | 117
Net financial results | 783 |  | 116 | (320)
Financial Assets / Liabilities at fair value through profit or loss [member] |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |
Interest income | 0 |  | 0 | 0
Interest loss | 0 |  | 0 | 0
Net financial accretion | 0 |  | 0 | 0
Net exchange differences | (236) |  | (97) | (46)
Results on financial assets at fair value with changes in profit or loss | 289 |  | 118 | 105
Result from derivative financial instruments | 7 |  | (9) | (10)
Export Increase Program | 22 |  | 0 | 0
Result from transactions with financial assets | 32 |  | 0 | 0
Result from debt exchange | 0 |  | 0 | 0
Result from net monetary position | 0 |  | 0 | 0
Net financial results | $ 114 |  | $ 12 | $ 49
[1] | See Note 35.g).

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 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 2023-01-01 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_85&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 42G -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_42G_a&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 20 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_a_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_e&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B13 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_f&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 23 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InterestExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 23 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_c&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2023-01-01 -Paragraph 28 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_e&doctype=Standard -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B13 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_e&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RevenueFromInterest
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustments for gains losses on debt exchange. + References No definition available. + Details
Name: | ypf_AdjustmentsForGainsLossesOnDebtExchange
Namespace Prefix: | ypf_
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 Financial Accretion + References No definition available. + Details
Name: | ypf_NetFinancialAccretion
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: |