XML 146 R130.htm IDEA: XBRL DOCUMENT
v3.25.1

Investments in Financial Assets - Summary of Investments in Financial Assets (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | $ 0 | $ 8 | $ 201
Current |  | 390 | 264 | 319
Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | 0 | 8 | 201
Current |  | 0 | 150 | 245
Investments in financial assets at fair value through profit or loss, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | 0 | 0 | 0
Current |  | 390 | 114 | 74
Public securities [member] | Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current | [1] | 0 | 0 | 201
Current | [1] | 0 | 99 | 162
Public securities [member] | Investments in financial assets at fair value through profit or loss, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current | [1] | 0 | 0 | 0
Current | [1] | 381 | 114 | 74
Private securities - NO and stock market promissory notes [member] | Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | 0 | 8 | 0
Current |  | 0 | 4 | 3
Private securities - NO and stock market promissory notes [member] | Investments in financial assets at fair value through profit or loss, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Current |  | 9 |  |
Term Deposits [Member] | Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current | [2] | 0 | 0 | 0
Current | [2] | $ 0 | $ 47 | $ 80
[1] | See Note 36.
[2] | Corresponds to term deposits with the BNA.

X
- Definition The amount of current financial assets. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_DisclosureOfFinancialAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of non-current financial assets. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_25&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NoncurrentFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_CategoriesOfFinancialAssetsAxis=ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfFinancialAssetsAxis=ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ypf_PublicSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ypf_PrivateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ypf_TermDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |