XML 214 R197.htm IDEA: XBRL DOCUMENT
v3.23.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Summary of Standardized Measure of Discounted Future Net Cash Flows (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Argentina [member] |  |  |
Disclosure of discounted future net cash flow [line items] |  |  |
Future cash inflows | $ 48,580 | $ 50,843 | $ 24,651
Future production costs | (22,076) | (22,509) | (13,428)
Future development costs | (10,936) | (8,957) | (7,671)
Future income tax expenses | (3,808) | (5,286) | (160)
10% annual discount for estimated timing of cash flows | (4,658) | (5,036) | (1,259)
Total standardized measure of discounted future net cash flows | 7,102 | 9,055 | 2,133
Worldwide [member] |  |  |
Disclosure of discounted future net cash flow [line items] |  |  |
Future cash inflows | 48,580 | 50,843 | 24,651
Future production costs | (22,076) | (22,509) | (13,428)
Future development costs | (10,936) | (8,957) | (7,671)
Future income tax expenses | (3,808) | (5,286) | (160)
10% annual discount for estimated timing of cash flows | (4,658) | (5,036) | (1,259)
Total standardized measure of discounted future net cash flows | $ 7,102 | $ 9,055 | $ 2,133

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

X
- Definition Amount of estimated future accumulated cash outflow for costs to be incurred in developing proved oil and gas reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Form 20-F -Section Item 18 -Subsection Instruction 2 + Details
Name: | srt_FutureNetCashFlowsRelatingToProvedOilAndGasReservesDevelopmentCosts
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of estimated future accumulated cash outflow for income tax, based on the future income less future expense derived from production and sale of proved oil and gas reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Form 20-F -Section Item 18 -Subsection Instruction 2 + Details
Name: | srt_FutureNetCashFlowsRelatingToProvedOilAndGasReservesIncomeTaxExpense
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of estimated future accumulated cash outflow for costs to be incurred in producing proved oil and gas reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Form 20-F -Section Item 18 -Subsection Instruction 2 + Details
Name: | srt_FutureNetCashFlowsRelatingToProvedOilAndGasReservesProductionCosts
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of discount on future accumulated cash inflow, after deducting future accumulated cash outflow for development and production costs and future income tax, from sale of proved oil and gas reserves, using a discount rate of 10 percent a year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Form 20-F -Section Item 18 -Subsection Instruction 2 + Details
Name: | srt_FutureNetCashFlowsRelatingToProvedOilAndGasReservesTenPercentAnnualDiscountForEstimatedTimingOfCashFlows
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. Disclosure of discounted future net cash flow. + References No definition available. + Details
Name: | ypf_DisclosureOfDiscountedFutureNetCashFlowLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Standardized measure of discounted future net cash flows relating to proved oil and gas reserve. + References No definition available. + Details
Name: | ypf_StandardizedMeasureOfDiscountedFutureNetCashFlowsRelatingToProvedOilAndGasReserve
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_AR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_WorldwideMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |