XML 194 R178.htm IDEA: XBRL DOCUMENT
v3.25.1

Main Regulations - Additional Information (Detail) $ in Millions, $ in Millions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 27, 2025 | Sep. 02, 2024 | Dec. 13, 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. 27, 2021 | Oct. 05, 2020 | Aug. 26, 2020 | Jul. 31, 2020 | Mar. 04, 2020 | Dec. 31, 2024 USD ($) | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Jan. 31, 2024 | May 19, 2020 $ / bbl
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
General tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.32% | 25.29% | 25.33% |  |  |  |  |  |
Compensations from the National Government for the Plan GasAr 2020-2024 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 469 |  |  |  |  |  |  |  |
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% |  |  |  |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |
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% | 17.50% |  | 7.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage tax rate for import of goods |  | 7.50% | 17.50% |  | 7.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% |  |  |  |  |  |  |  |
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 | 26.00% |  |  |  |  |  |  |  |  |  |  |  | 33.00% |  |  |  |  |  |  |  |  |  |  |  |
Soybean Byproducts [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export tax rate | 24.50% |  |  |  |  |  |  |  |  |  |  |  | 31.00% |  |  |  |  |  |  |  |  |  |  |  |
Grains [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export tax rate | 9.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export tax rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33.00% |  |  |  |  |  |  |  |  |
Metrogas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Public distribution service term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |  |
License renewal term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Additional license renewal term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 20 years |  |  |  |  |  |  |  |
Distribution license |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 or 45-year period |  |  |  |  |  |  |  |
Hydrocarbon Distribution [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consent expression term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |
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 |  |  |  |  |  |  |  |
Continental shelf and territorial water concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 years |  |  |  |  |  |  |  |
Percentage reduction in the concession fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |  |
Transportation concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 35 years |  |  |  |  |  |  |  |
Term of extension of transportation concession |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |
New exploitation concession term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Percentage of royalty at bidder discretion |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 15.00% |  |  |  |  |  |  |  |
Percentage of maximum authorized capacity from third parties |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |  |
Program of shipments or deliveries term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1 year |  |  |  |  |  |  |  |
Hydrocarbon Distribution [member] | Bottom of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct investment in foreign currency |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 200,000,000 |  |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12.00% |  |  |  |  |  |  |  |
Hydrocarbon Distribution [member] | Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Direct investment in foreign currency |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 900,000,000 |  |  |  |  |  |  |  |
Percentage of advance fee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 18.00% |  |  |  |  |  |  |  |
LNG [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export permit term |  |  |  |  |  |  |  |  |  |  |  | 20 years |  |  |  |  |  |  |  |  |  |  |  |  |
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% |  |  |  |
free LNG export authorization [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Main regulations [line items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Export permit term |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 30 years |  |  |  |  |  |  |  |

X
- Definition The applicable income tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 12 -IssueDate 2024-01-01 -Paragraph 81 -Subparagraph c -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2024-en-r&anchor=para_81_c_ii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ApplicableTaxRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022: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 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022: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 Additional license renewal term. + References No definition available. + Details
Name: | ypf_AdditionalLicenseRenewalTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
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 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 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 New exploitation concession term. + References No definition available. + Details
Name: | ypf_NewExploitationConcessionTerm
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 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 maximum authorized capacity from third parties. + References No definition available. + Details
Name: | ypf_PercentageOfMaximumAuthorizedCapacityFromThirdParties
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 royalty at bidder discretion. + References No definition available. + Details
Name: | ypf_PercentageOfRoyaltyAtBidderDiscretion
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 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 Program of shipments or deliveries term. + References No definition available. + Details
Name: | ypf_ProgramOfShipmentsOrDeliveriesTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
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 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 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_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_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: | ifrs-full_ProductsAndServicesAxis=ypf_GrainsMember
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_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: |

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