XML 112 R96.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Risk Management - Summary of Maximum Exposure to Credit Risk (Detail) $ in Millions | Dec. 31, 2024 USD ($)
--- | ---
Cash and cash equivalents [member] |
Disclosure of credit risk exposure [line items] |
Maximum exposure to credit risk | $ 1,118
Investments in financial assets [member] |
Disclosure of credit risk exposure [line items] |
Maximum exposure to credit risk | 390
Other financial assets [member] |
Disclosure of credit risk exposure [line items] |
Maximum exposure to credit risk | $ 1,780

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

X
- Definition The amount that best represents the maximum exposure to credit risk without taking into account any collateral held or other credit enhancements (for example, netting agreements that do not qualify for offset in accordance with IAS 32). [Refer: Credit risk [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 35K -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_35K_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_MaximumExposureToCreditRisk
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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

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

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