XML 108 R92.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Risk Management - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Provision for doubtful trade receivables | $ 61 |  |
Provision for other doubtful receivables | 26 |  |
Guarantees granted by third parties | $ 1,013 | $ 945 | $ 873
Exchange rate to convert pesos to U.S. dollars variation | 28.00% |  |
Percentage of variable rate financial loans to total loans | 6.00% |  |
Credit risk other financial assets national government and direct agencies accounts [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Credit and investments with the National Government, direct agencies and companies with government participation | $ 732 |  |
Percentage of credit and investments with the National Government, direct agencies and companies with government participation | 22.00% |  |
Interest rate risk [member] | BADLAR [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 1 |  |
Variable interest rate | 10.00% |  |
Interest rate risk [member] | SOFR [Member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 521 |  |
Interest rate risk [member] | SOFR [Member] | Bottom of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 0.90% |  |
Interest rate risk [member] | SOFR [Member] | Top of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 8.50% |  |
Liquidity risk [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Amount available for liquidity | $ 1,118 |  |
Cash | 304 |  |
Other liquid financial assets | 814 |  |
Other investments freely available | $ 390 |  |

X
- Definition The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_BorrowingsAdjustmentToInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of cash on hand and demand deposits. [Refer: Cash on hand] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Cash
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_DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems
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
- Definition The amount of cash and cash equivalents that the entity does not separately disclose in the same statement or note. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_45&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount available for liquidity. + References No definition available. + Details
Name: | ypf_AmountAvailableForLiquidity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financial loans accrued. + References No definition available. + Details
Name: | ypf_FinancialLoansAccrued
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Foreign exchange rate percentage. + References No definition available. + Details
Name: | ypf_ForeignExchangeRatePercentage
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Guarantees Granted by Third Parties + References No definition available. + Details
Name: | ypf_GuaranteesGrantedByThirdParties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other investments freely available. + References No definition available. + Details
Name: | ypf_OtherInvestmentsFreelyAvailable
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition percentage of credit and investments with the National Government, direct agencies and companies with government participation + References No definition available. + Details
Name: | ypf_PercentageOfCreditAndInvestmentsWithTheNationalGovernmentDirectAgenciesAndCompaniesWithGovernmentParticipation
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of variable rate financial loans to total loans. + References No definition available. + Details
Name: | ypf_PercentageOfVariableRateFinancialLoansToTotalLoans
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Provision for doubtful trade receivables. + References No definition available. + Details
Name: | ypf_ProvisionForDoubtfulTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Provision for other doubtful receivables + References No definition available. + Details
Name: | ypf_ProvisionForOtherDoubtfulReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_InternalCreditGradesAxis=ypf_NationalGovernmentAndDirectAgenciesAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_InterestRateRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ypf_BadlarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ypf_SofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_LiquidityRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |