XML 119 R103.htm IDEA: XBRL DOCUMENT
v3.25.1

Financial Instruments by Category - Additional Information (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Level 3 [member] | Estimated Fair Value of Loans [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Estimated fair value of loans | $ 8,811 | $ 7,547 | $ 5,812

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 Estimated fair value of loans. + References No definition available. + Details
Name: | ypf_EstimatedFairValueOfLoans
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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