XML 142 R121.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Investments in Financial Assets - Summary of Investments in Financial Assets (Detail) - USD ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | $ 8 | $ 201 | $ 25
Current |  | 264 | 319 | 497
Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current |  | 8 | 201 | 25
Current |  | 150 | 245 | 399
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 |  | 114 | 74 | 98
Public securities [member] | Investments in financial assets at amortized cost, category [member] |  |  |  |
Disclosure of financial assets [line items] |  |  |  |
Non-current | [1] | 0 | 201 | 22
Current | [1] | 99 | 162 | 332
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] | 114 | 74 | 98
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 |  | 8 | 0 | 3
Current |  | 4 | 3 | 8
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] | $ 47 | $ 80 | $ 59
[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 2023-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard -URIDate 2023-03-23 + 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: |