XML 194 R173.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Main Regulations - Additional Information (Detail) $ / shares in Units, $ in Millions, $ in Millions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 13, 2023 | Nov. 21, 2023 | Nov. 17, 2023 | Oct. 25, 2023 | Aug. 26, 2023 | Jul. 24, 2023 | Jul. 21, 2023 ARS ($) | Mar. 28, 2023 | Feb. 22, 2023 | Dec. 01, 2022 ARS ($) | Aug. 16, 2022 ARS ($) | Nov. 11, 2021 | Jul. 07, 2021 | Aug. 26, 2020 | Jul. 31, 2020 | Mar. 04, 2020 | Dec. 31, 2023 USD ($) Wells | Dec. 31, 2022 | Dec. 31, 2021 $ / shares | Dec. 31, 2020 $ / shares | Dec. 31, 2019 $ / shares | Dec. 31, 2018 $ / shares | Dec. 21, 2023 | May 19, 2020 $ / bbl
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consent expression term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Distribution license |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 or 45-year period |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.29% | 25.33% | 34.55% |  |  |  |  |
Compensations from the National Government for the Plan GasAr 2020-2024 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 327 |  |  |  |  |  |  |
Personal assets tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.50% | 0.50% | 0.50% |  |  |  |  |
Payment in plans instalments description |  |  |  |  |  |  |  |  |  |  |  | 72 installments |  |  | 48 to 120 installments |  |  |  |  |  |  |  |  |
Percentage interest in excess of principal outstanding amount |  |  |  |  |  |  |  |  |  |  |  | 40.00% |  |  |  |  |  |  |  |  |  |  |  |
Percentage rate variation in the CPI |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 15.00% | 30.00% | 55.00% |  |
Tax rate of distribution of dividends and profits to individuals undivided estates and foreign beneficiaries |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 7.00% |  |  |  |  |
Percentage Repatriation Of Assets Legal Compliance |  |  |  |  |  |  |  |  |  |  |  |  |  | 30.00% |  |  |  |  |  |  |  |  |  |
Number Of Wells Obtained | Wells |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6 |  |  |  |  |  |  |
Income tax determined for fiscal year 2021 or 2022 |  |  |  |  |  |  |  |  |  |  | $ 100 |  |  |  |  |  |  |  |  |  |  |  |  |
Taxable income before any tax loss carryforwards for fiscal year 2021 or 2022 |  |  |  |  |  |  |  |  |  |  | 300 |  |  |  |  |  |  |  |  |  |  |  |  |
Tax prepayments calculated under the general mechanism |  |  |  |  |  |  |  |  |  |  | $ 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% |  |  |  |  |  |  |  |  |  |  |  |  |
No certificates of Argentine deposits representing foreign shares jointly exceeding |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000 |  |  |  |  |  |  |
Decree of Necessity and Urgency ("DNU" by its acronym in Spanish) No. 70/2023 [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum percentage of permissible interest in gas stations |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 40.00% |
Communication "A" 7,853 [member] | For trading securities quoted in foreign currency [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Communication "A" 7,853 [member] | To be settled in foreign exchange market [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  |  |  | 75.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Communication "A" 7,867 [member] | For trading securities quoted in foreign currency [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  |  | 30.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Communication "A" 7,867 [member] | To be settled in foreign exchange market [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  |  | 70.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revised notification Decree No. 597/2023 [member] | For trading securities quoted in foreign currency [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revised notification Decree No. 597/2023 [member] | To be settled in foreign exchange market [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used |  | 50.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Decrees No. 28/2023 [member] | For trading securities quoted in foreign currency [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used | 20.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Decrees No. 28/2023 [member] | To be settled in foreign exchange market [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of proceeds from hydorcarbon to be used | 80.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
With effect from February 1, 2024 [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum percentage of debt subscribed for access to the foreign market |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 50.00% |  |  |  |  |  |  |
Before January 31, 2024 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum percentage of debt subscribed for access to the foreign market |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |  |  |
Tax rate for an inclusive and solidary Argentina [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of tax rate on services acquired abroad |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of tax rate on contracting services and freight services |  |  |  |  |  | 7.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage tax rate for import of goods |  |  |  |  |  | 7.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of tax rate on goods and services after revision | 17.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Tax benefits for price agreements [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of export duty after reduction |  |  |  |  | 0.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2022 or 2023 [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of prepayments of tax arrived without considering the tax losses |  |  |  |  |  |  | 15.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Taxable income minimum excluding tax loss carry forwards |  |  |  |  |  |  | $ 600 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Investment Promotion Regime for the Exploitation of Hydrocarbons - Decree No. 929/2013 [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct investment in foreign currency |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000 |  |  |  |  |  |  |
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% |  |  |  |  |  |  |
Province Of Chubut [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 50.00% |  |  |  |  |  |  |
Province Of Chubut [member] | El Trébol Area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |
Province Of Chubut [member] | Restinga Al Area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |
Term Of Royalty Applicable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Province Of Chubut [member] | Manantiales Behr Area [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of royalty granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6.00% |  |  |  |  |  |  |
Provincial Stimulus Program - Province of Mendoza [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Extendable term of plan |  |  |  |  |  |  |  |  |  |  |  |  | 3 years |  |  |  |  |  | 3 years |  |  |  |  |
Fixed interest rate [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings, interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |
Wheat, corn and sorghum [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export duty percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |  |  |
Soybean [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33.00% |  |  |  |  |  |  |
Soybean Byproducts [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 31.00% |  |  |  |  |  |  |
Resolution 46 Program [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [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 [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum investment for deferral of tax adjustment for inflation |  |  |  |  |  |  |  |  |  | $ 30,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in tax rates or tax laws enacted or announced [member] | Imported Diesel [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  | 20.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Changes in tax rates or tax laws enacted or announced [member] | Imported Gasoline [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  | 17.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |
Floating rate for hydrocarbon export duties |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.00%
Brent crude price | $ / bbl |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 45
Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35.00% |  |  |  |  |
Floating rate for hydrocarbon export duties |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8.00%
Brent crude price | $ / bbl |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 60
Top of range [member] | Agricultural products [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of increase in export duty |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33.00% |  |  |  |  |  |  |  |
Metrogas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Public distribution service term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |
License renewal term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Hydrocarbon Distribution [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |
Permit of extension of continental shelf and territorial waters exploration term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1 year |  |  |  |  |  |  |
Conventional exploitation concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25 years |  |  |  |  |  |  |
Unconventional exploitation concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |
Contintntal shelf and territorial water concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 years |  |  |  |  |  |  |
Percentage reduction in the concession fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (5.00%) |  |  |  |  |  |  |
Term of extension of transportation concession |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |
Hydrocarbon Distribution [member] | Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |  |
Hydrocarbon Distribution [member] | Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 18.00% |  |  |  |  |  |  |
Transportation concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |
LNG [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export permit term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 years |  |  |  |  |  |  |
Stimulus Program for Investments in Natural Gas Production Developments from Unconventional Reservoirs [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Sales price | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 6 | $ 6.5 | $ 7 | $ 7.5 |  |
Liquid Hydrocarbon Exports [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum period for which the export volume shall be authorized |  |  |  |  |  |  |  | 1 year |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export Duty Rate [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export duty percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 4.50% |  |  |  |

X
- Definition The applicable income tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2023-01-01 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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 Brent crude price. + References No definition available. + Details
Name: | ypf_BrentCrudePrice
Namespace Prefix: | ypf_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Compensations from the National Government for the Plan GasAr 2020-2024. + References No definition available. + Details
Name: | ypf_CompensationsfromtheNationalGovernmentforthePlanGasAr20202024
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 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 Export tax rate. + References No definition available. + Details
Name: | ypf_ExportTaxRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
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 rate for hydrocarbon export duties. + References No definition available. + Details
Name: | ypf_FloatingRateForHydrocarbonExportDuties
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Income tax determined for fiscal year 2021 or 2022. + References No definition available. + Details
Name: | ypf_IncomeTaxDeterminedForFiscalYear2021Or2022
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Maximum percentage of permissible interests in gas stations. + References No definition available. + Details
Name: | ypf_MaximumPercentageOfPermissibleInterestsInGasStations
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum investment for deferral of tax adjustment for inflation. + References No definition available. + Details
Name: | ypf_MinimumInvestmentForDeferralOfTaxAdjustmentForInflation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum percentage of debt subscribed for access to the foreign market. + References No definition available. + Details
Name: | ypf_MinimumPercentageOfDebtSubscribedForAccessToTheForeignMarket
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Minimum term for which the export volume shall be authorized. + References No definition available. + Details
Name: | ypf_MinimumTermForWhichTheExportVolumeShallBeAuthorized
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: | dtr-types:percentItemType
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 export duty after reduction. + References No definition available. + Details
Name: | ypf_PercentageOfExportDutyAfterReduction
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 proceeds from hydorcarbon. + References No definition available. + Details
Name: | ypf_PercentageOfProceedsFromHydorcarbon
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
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 of tax rate on contracting services and freight services. + References No definition available. + Details
Name: | ypf_PercentageOfTaxRateOnContractingServicesAndFreightServices
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of tax rate on goods and services after revision. + References No definition available. + Details
Name: | ypf_PercentageOfTaxRateOnGoodsAndServicesAfterRevision
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of tax rate on services acquired abroad. + References No definition available. + Details
Name: | ypf_PercentageOfTaxRateOnServicesAcquiredAbroad
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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage reduction in the concession fee. + References No definition available. + Details
Name: | ypf_PercentageReductionInTheConcessionFee
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
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 Percentage tax rate for import of goods. + References No definition available. + Details
Name: | ypf_PercentageTaxRateForImportOfGoods
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 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 prepayments calculated under the general mechanism. + References No definition available. + Details
Name: | ypf_TaxPrepaymentsCalculatedUnderTheGeneralMechanism
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Taxable income before any tax loss carryforwards for fiscal year 2021 or 2022. + References No definition available. + Details
Name: | ypf_TaxableIncomeBeforeAnyTaxLossCarryforwardsForFiscalYear2021Or2022
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Taxable income minimum excluding tax losses carry forwards. + References No definition available. + Details
Name: | ypf_TaxableIncomeMinimumExcludingTaxLossesCarryForwards
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term of extension of transportation concession. + References No definition available. + Details
Name: | ypf_TermOfExtensionOfTransportationConcession
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
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 Transportation concession term. + References No definition available. + Details
Name: | ypf_TransportationConcessionTerm
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: | ypf_StatutoryActAxis=ypf_DecreeOfNecessityAndUrgencyDNUByItsAcronyminSpanishNo702023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_NotificationAxis=ypf_CommunicationASevenEightFiveThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_PurposeOfUsageAxis=ypf_ForTradingSecuritiesQuotedInForeignCurrencyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_PurposeOfUsageAxis=ypf_ToBeSettledInForeignExchangeMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_NotificationAxis=ypf_CommunicationASevenEightSixSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_NotificationAxis=ypf_RevisedNotificationDecreeNumberFiveHundredAndNinetySevenByTwoThousandAndTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_NotificationAxis=ypf_DecreeNumberTwentyEightByTwoThousandAndTwentyThreeRevisedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_PeriodOfApplicabilityAxis=ypf_WithEffectFromFirstFebruaryTwoThousandAndTwentyFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_PeriodOfApplicabilityAxis=ypf_BeforeThirtyFirstOfJanuaryTwoThousandAndTwentyFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_SchemeAxis=ypf_TaxRateForAnInclusiveAndSolidaryArgentinaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_SchemeAxis=ypf_TaxBenefitsForPriceAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_PeriodAxis=ypf_TwoThousandAndTwentyTwoAndTwoThousandAndTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_DecreeTypeAxis=ypf_InvestmentPromotionRegimeForTheExploitationOfHydrocarbonsDecreeNo.9292013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: | ypf_LocationAxis=ypf_ManantialesBehrAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_ProvincialStimulusProgramProvinceOfMendozaMember
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: | ifrs-full_ProductsAndServicesAxis=ypf_WheatCornAndSorghumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ypf_SoybeanByproductsMember
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_ImportedDieselMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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