XML 186 R169.htm IDEA: XBRL DOCUMENT
v3.23.1

Main Regulations and Other - Additional Information (Detail) $ / shares in Units, $ in Millions, $ in Millions |  |  |  |  |  |  |  |  |  |  | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Feb. 22, 2023 | Dec. 01, 2022 ARS ($) | Aug. 16, 2022 ARS ($) | Nov. 11, 2021 | Jul. 07, 2021 | Jan. 01, 2021 | Aug. 26, 2020 | Jul. 31, 2020 | Mar. 04, 2020 | Dec. 23, 2019 | Dec. 31, 2022 USD ($) Wells | Dec. 31, 2021 USD ($) $ / shares | Dec. 31, 2020 USD ($) $ / shares | Dec. 31, 2019 $ / shares | Dec. 31, 2018 $ / shares | Dec. 31, 2022 ARS ($) | May 19, 2020 $ / bbl | May 09, 2020
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consent expression term |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Distribution license |  |  |  |  |  |  |  |  |  |  | 35 or 45-year period |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  | 25.33% | 34.55% | 29.36% |  |  |  |  |
Provisional Compensation |  |  |  |  |  |  |  |  |  |  | $ 117 |  |  |  |  |  |  |
Personal assets tax rate |  |  |  |  |  |  |  |  |  |  | 0.50% | 0.50% | 0.50% |  |  |  |  |
Payment in plans instalments description |  |  |  | 72 instalments |  |  |  | 48 to 120 instalments |  |  |  |  |  |  |  |  |  |
Percentage interest in excess of principal outstanding amount |  |  |  | 40 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of reductions in export duty |  |  |  |  |  |  |  |  |  |  | 33 | 31 | 33 |  |  |  |  |
Percentage rate variation in the CPI |  |  |  |  |  |  |  |  |  |  |  |  | 15 | 30 | 55 |  |  |
Positive or negative adjustment for inflation description |  |  |  |  |  |  |  |  |  | 1/6 of the positive or negative adjustment for inflation provided for under Title VI of the Income Tax Law, for the first and second fiscal years beginning in January 2019, was recorded in such fiscal year, and the remaining 5/6 in equal parts over the immediately following five fiscal years. |  |  |  |  |  |  |  |
Tax rate of distribution of dividends and profits to individuals undivided estates and foreign beneficiaries |  |  |  |  |  |  |  |  |  |  |  | 7 |  |  |  |  |  |
Percentage Repatriation Of Assets Legal Compliance |  |  |  |  |  |  | 30.00% |  |  |  |  |  |  |  |  |  |  |
Number Of Wells Obtained | Wells |  |  |  |  |  |  |  |  |  |  | 6 |  |  |  |  |  |  |
Income Tax Expense |  |  | $ 100 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax effect of tax losses |  |  | 300 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Income tax prepayments |  |  | $ 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of base pre-payment of tax arrived on general method |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of prepayments of tax arrived without considering the tax losses |  |  | 15.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax effect from change in tax rate |  |  |  |  |  |  |  |  |  |  | $ (25) | $ (439) | $ 41 |  |  |  |  |
No certificates of Argentine deposits representing foreign shares jointly exceeding |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |
Province Of Chubut [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  | 50.00% |  |  |  |  |  |  |
Term Of Royalty Applicable |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Province Of Chubut [member] | El Trébol Area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |
Province Of Chubut [member] | Restinga Al Area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |
Fixed interest rate [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings, interest rate |  |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |
Resolution 46 Program [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of compensation distributed in program to companies |  |  |  |  |  |  |  |  |  |  |  | 88.00% |  |  |  |  |  |
Percentage of compensation distributed in program to province |  |  |  |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |
Changes in tax rates or tax laws enacted or announced [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax effect from change in tax rate |  | $ 30,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in tax rates or tax laws enacted or announced [member] | Diesel Oil [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate | 20.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in tax rates or tax laws enacted or announced [member] | Naphtha [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate | 17.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |  |
Percentage of Reduction in Income Tax Rate |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |
Dividend Withholding Rate |  |  |  |  |  | 7.00% |  |  |  |  |  |  |  |  |  |  |  |
Floating Export Duty Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.00%
Export Duties | $ / bbl |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 45 |
Bottom of range [member] | Agricultural products [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of increase in export duty |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |  |  |  |
Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  | 35.00% |  |  |  |  |  |
Percentage of Reduction in Income Tax Rate |  |  |  |  |  |  |  |  |  |  |  |  | 30.00% |  |  |  |  |
Dividend Withholding Rate |  |  |  |  |  |  |  |  |  |  |  |  | 13.00% |  |  |  |  |
Floating Export Duty Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8.00%
Export Duties | $ / bbl |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 60 |
Top of range [member] | Agricultural products [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of increase in export duty |  |  |  |  |  |  |  |  | 33.00% |  |  |  |  |  |  |  |  |
Metrogas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Public distribution service term |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |
License renewal term |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Extendable term of plan |  |  |  |  | 3 years |  |  |  |  |  | 3 years |  |  |  |  |  |  |
Hydrocarbon distribution [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct investment in foreign currency amended by law |  |  |  |  |  |  |  |  |  |  | $ 250 |  |  |  |  |  |  |
Percentage of sale on production of liquid and gaseous hydrocarbons |  |  |  |  |  |  |  |  |  |  | 20.00% |  |  |  |  |  |  |
Percentage of export duty for liquid and gaseous hydrocarbons |  |  |  |  |  |  |  |  |  |  | 0.00% |  |  |  |  |  |  |
Export duty percentage |  |  |  |  |  |  |  |  |  |  |  |  | 4.50% |  |  |  |  |
Permit of conventional exploration term |  |  |  |  |  |  |  |  |  |  | 3 years |  |  |  |  |  |  |
Permit of extension of conventional exploration term |  |  |  |  |  |  |  |  |  |  | 5 years |  |  |  |  |  |  |
Permit of unconventional exploration term |  |  |  |  |  |  |  |  |  |  | 4 years |  |  |  |  |  |  |
Permit of extension of unconventional exploration term |  |  |  |  |  |  |  |  |  |  | 5 years |  |  |  |  |  |  |
Permit of continental shelf and territorial waters exploration term |  |  |  |  |  |  |  |  |  |  | 3 years |  |  |  |  |  |  |
Conventional exploitation concession term |  |  |  |  |  |  |  |  |  |  | 25 years |  |  |  |  |  |  |
Unconventional exploitation concession term |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |
Contintntal shelf and territorial water concession term |  |  |  |  |  |  |  |  |  |  | 30 years |  |  |  |  |  |  |
Percentage of concession fee |  |  |  |  |  |  |  |  |  |  | (5.00%) |  |  |  |  |  |  |
Hydrocarbon distribution [member] | Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct investment in foreign currency |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |  |
Hydrocarbon distribution [member] | Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Permit of unconventional exploration term |  |  |  |  |  |  |  |  |  |  | 13 years |  |  |  |  |  |  |
Permit of extension of continental shelf and territorial waters exploration term |  |  |  |  |  |  |  |  |  |  | 1 year |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  | 18.00% |  |  |  |  |  |  |
LNG [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export permit term |  |  |  |  |  |  |  |  |  |  | 20 years |  |  |  |  |  |  |
Unconventional Gas [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations and others [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sales price | $ / shares |  |  |  |  |  |  |  |  |  |  |  | $ 6 | $ 6.5 | $ 7 | $ 7.5 |  |  |

X
- Definition The applicable income tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ApplicableTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_DisclosureOfInformationAboutActivitiesSubjectToRateRegulationLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to changes in the tax rate. [Refer: Accounting profit] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TaxEffectFromChangeInTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to tax losses. [Refer: Accounting profit] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2022-03-24 -Paragraph 81 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TaxEffectOfTaxLosses
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Consent expression term. + References No definition available. + Details
Name: | ypf_ConsentExpressionTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Continental shelf and territorial water concession term. + References No definition available. + Details
Name: | ypf_ContinentalShelfAndTerritorialWaterConcessionTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Conventional exploitation concession term. + References No definition available. + Details
Name: | ypf_ConventionalExploitationConcessionTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Direct investment in foreign currency. + References No definition available. + Details
Name: | ypf_DirectInvestmentInForeignCurrency
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Direct investment in foreign currency, after amendment. + References No definition available. + Details
Name: | ypf_DirectInvestmentInForeignCurrencyAfterAmendment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Dividend Withholding Rate. + References No definition available. + Details
Name: | ypf_DividendWithholdingRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Export duties. + References No definition available. + Details
Name: | ypf_ExportDuties
Namespace Prefix: | ypf_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Export duty for liquid and gaseous hydrocarbons percent. + References No definition available. + Details
Name: | ypf_ExportDutyForLiquidAndGaseousHydrocarbonsPercent
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Export duty percentage. + References No definition available. + Details
Name: | ypf_ExportDutyPercentage
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Export permit term. + References No definition available. + Details
Name: | ypf_ExportPermitTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Extendable term of plan. + References No definition available. + Details
Name: | ypf_ExtendableTermOfPlan
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Floating export duty rate. + References No definition available. + Details
Name: | ypf_FloatingExportDutyRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Income tax expenses. + References No definition available. + Details
Name: | ypf_IncomeTaxExpenses
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income tax prepayments. + References No definition available. + Details
Name: | ypf_IncomeTaxPrepayments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition License agreement period + References No definition available. + Details
Name: | ypf_LicenseAgreementPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition License renewal term. + References No definition available. + Details
Name: | ypf_LicenseRenewalTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition No certificates of Argentine deposits representing foreign shares jointly exceeding. + References No definition available. + Details
Name: | ypf_NoCertificatesOfArgentineDepositsRepresentingForeignSharesJointlyExceeding
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of wells obtained. + References No definition available. + Details
Name: | ypf_NumberOfWellsObtained
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment in plans instalments description. + References No definition available. + Details
Name: | ypf_PaymentInPlansInstalmentsDescription
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage interest in excess of principal outstanding amount. + References No definition available. + Details
Name: | ypf_PercentageInterestInExcessOfPrincipalOutstandingAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of advance fee. + References No definition available. + Details
Name: | ypf_PercentageOfAdvanceFee
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of base prepayments of tax arrived on general method. + References No definition available. + Details
Name: | ypf_PercentageOfBasePrepaymentOfTaxArrivedOnGeneralMethod
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of compensation distributed in program to companies + References No definition available. + Details
Name: | ypf_PercentageOfCompensationDistributedInProgramToCompanies
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of compensation distributed in program to province + References No definition available. + Details
Name: | ypf_PercentageOfCompensationDistributedInProgramToProvince
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of concession fee. + References No definition available. + Details
Name: | ypf_PercentageOfConcessionFee
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of increase in export duty. + References No definition available. + Details
Name: | ypf_PercentageOfIncreaseInExportDuty
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of prepayments of tax arrived without considering the tax losses. + References No definition available. + Details
Name: | ypf_PercentageOfPrepaymentsOfTaxArrivedWithoutConsideringTheTaxLosses
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of reduction in income tax rate. + References No definition available. + Details
Name: | ypf_PercentageOfReductionInIncomeTaxRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of reductions in export duty. + References No definition available. + Details
Name: | ypf_PercentageOfReductionsInExportDuty
Namespace Prefix: | ypf_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of royalty granted under reducing rate. + References No definition available. + Details
Name: | ypf_PercentageOfRoyaltyGrantedUnderReducingRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of sale on production of liquid and gaseous hydrocarbons. + References No definition available. + Details
Name: | ypf_PercentageOfSaleOnProductionOfLiquidAndGaseousHydrocarbons
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage rate variation in the CPI. + References No definition available. + Details
Name: | ypf_PercentageRateVariationInTheCPI
Namespace Prefix: | ypf_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage repatriation of assets legal compliance. + References No definition available. + Details
Name: | ypf_PercentageRepatriationOfAssetsLegalCompliance
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of continental shelf and territorial waters exploration term. + References No definition available. + Details
Name: | ypf_PermitOfContinentalShelfAndTerritorialWatersExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of conventional exploration term. + References No definition available. + Details
Name: | ypf_PermitOfConventionalExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of extension of continental shelf and territorial waters exploration term. + References No definition available. + Details
Name: | ypf_PermitOfExtensionOfContinentalShelfAndTerritorialWatersExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of extension of conventional exploration term. + References No definition available. + Details
Name: | ypf_PermitOfExtensionOfConventionalExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of extension of unconventional exploration term. + References No definition available. + Details
Name: | ypf_PermitOfExtensionOfUnconventionalExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Permit of unconventional exploration term. + References No definition available. + Details
Name: | ypf_PermitOfUnconventionalExplorationTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Personal assets tax rate. + References No definition available. + Details
Name: | ypf_PersonalAssetsTaxRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Positive or negative adjustment for inflation description. + References No definition available. + Details
Name: | ypf_PositiveOrNegativeAdjustmentForInflationDescription
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Provisional Compensation. + References No definition available. + Details
Name: | ypf_ProvisionalCompensation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Public distribution service term. + References No definition available. + Details
Name: | ypf_PublicDistributionServiceTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sales price. + References No definition available. + Details
Name: | ypf_SalesPrice
Namespace Prefix: | ypf_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax rate of distribution of dividends and profits to individuals undivided estates and foreign beneficiaries. + References No definition available. + Details
Name: | ypf_TaxRateOfDistributionOfDividendsAndProfitsToIndividualsUndividedEstatesAndForeignBeneficiaries
Namespace Prefix: | ypf_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of royalty applicable. + References No definition available. + Details
Name: | ypf_TermOfRoyaltyApplicable
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Unconventional exploitation concession term. + References No definition available. + Details
Name: | ypf_UnconventionalExploitationConcessionTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ypf_LocationAxis=ypf_ElTrbolAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_LocationAxis=ypf_RestingaAlAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ypf_PlanName1Axis=ypf_Resolution46ProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ifrs-full_ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ypf_DieselOilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ypf_NaphthaMember
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_ProductsAndServicesAxis=ypf_AgriculturalProductsMember
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_TypesOfRateregulatedActivitiesAxis=ypf_MetrogasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRateregulatedActivitiesAxis=ypf_HydrocarbonDistributionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRateregulatedActivitiesAxis=ypf_LNGMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRateregulatedActivitiesAxis=ypf_UnconventionalGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |