XML 223 R202.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Summary of Changes in the Standardized Measure of Discounted Future Net Cash Flows (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure Of Future Net Cash Flow [Abstract] |  |  |
Beginning of year | $ 7,102 | $ 9,055 | $ 2,133
Sales and transfers, net of production costs | (1,819) | (3,173) | (850)
Net change in sales and transfer prices, net of future production costs | (1,624) | (2,862) | 3,396
Changes in reserves and production rates (timing) | (1,390) | (574) | 5,013
Net changes for extensions, discoveries and improved recovery | 2,782 | 4,722 | 3,329
Changes in estimated future development and abandonment costs | (3,734) | (3,481) | (1,946)
Development costs incurred during the year that reduced future development costs | 1,996 | 1,439 | 990
Accretion of discount | 984 | 806 | 241
Net change in income taxes | 211 | 1,148 | (3,255)
Others | (1) | 22 | 4
End of year | $ 4,507 | $ 7,102 | $ 9,055

X
- Definition Amount of increase (decrease) in standardized measure of discounted future net cash flow as a result of change in sales and transfer prices and in production (lifting) costs related to future production. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Form 20-F -Section Item 18 -Subsection Instruction 2 -Publisher SEC + Details
Name: | srt_NetIncreaseDecreaseInSalesAndTransferPricesAndProductionCosts
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of discounted future accumulated cash inflow relating to proved oil and gas reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Form 20-F -Section Item 18 -Subsection Instruction 2 -Publisher SEC + Details
Name: | srt_StandardizedMeasureOfDiscountedFutureNetCashFlowsRelatingToProvedOilAndGasReserves
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Accretion of discount1. + References No definition available. + Details
Name: | ypf_AccretionOfDiscount1
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Development costs incurred during year that reduced future development costs. + References No definition available. + Details
Name: | ypf_DevelopmentCostsIncurredDuringYearThatReducedFutureDevelopmentCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of future net cash flow. + References No definition available. + Details
Name: | ypf_DisclosureOfFutureNetCashFlowAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase decrease in estimated future development and abandonment costs. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseInEstimatedFutureDevelopmentAndAbandonmentCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase decrease in extensions discoveries and improved recovery. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseInExtensionsDiscoveriesAndImprovedRecovery
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase decrease in income tax expense estimates on future cash flow related to proved oil and gas reserves. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseInIncomeTaxExpenseEstimatesOnFutureCashFlowRelatedToProvedOilAndGasReserves
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase decrease in reserves and production rates. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseInReservesAndProductionRates
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sales and transfers net of production costs. + References No definition available. + Details
Name: | ypf_SalesAndTransfersNetOfProductionCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Standardized measure of discounted future net cash flow of proved oil and gas reserves other adjustments. + References No definition available. + Details
Name: | ypf_StandardizedMeasureOfDiscountedFutureNetCashFlowOfProvedOilAndGasReservesOtherAdjustments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration