20-F 1 d284779d20f.htm FORM 20-F Form 20-F
2011-072012-121080falseFYYPF SOCIEDAD ANONIMA0000904851trueP5YP5Y2023-06-04C1Result associated to subsidiaries, associates and joint ventures with the Peso as functional currency. See accounting policy in Note 2.b.1).See Note 37.Net of employees’ income tax withholdings related to the share-based benefit plans.See Note 30.Includes 886,921 corresponding to the effect of the translation of the financial statements of YPF, (46,234) corresponding to the effect of the translation of the financial statements of investments in subsidiaries, associates and joint ventures with functional currencies other than the dollar and 42,902 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the Peso as functional currency, as detailed in Note 2.b.1).Includes 733,492 corresponding to the effect of the translation of the financial statements of YPF, (38,692) corresponding to the effect of the translation of the financial statements of investments in subsidiaries, associates and joint ventures with functional currencies other than the dollar and 26,503 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the Peso as functional currency, as detailed in Note 2.b.1).See Note 34.b).Does not include exchange differences generated by cash and cash equivalents, which is exposed separately in the statement.Includes 10,853, 11,101 and 11,184 for the fiscal year ended December 31, 2021, 2020 and 2019, respectively, for payment of short-term leases and payments of the variable charge of leases related to the underlying asset performance/use.Corresponds to adjustment for inflation of opening balances of intangible assets in subsidiaries with the Peso as functional currency which was charged to other comprehensive income.Includes 528,145 corresponding to the effect of the translation of the financial statements of YPF, (29,691) corresponding to the effect of the translation of the financial statements of investments in subsidiaries, associates and joint ventures with functional currencies other than the dollar and 18,332 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the Peso as functional currency, as detailed in Note 2.b.1).See Note 36 for information about related parties.See Note 24 for information about credits for contracts included in trade receivables.Includes capitalized financial costs.Includes adjustment for inflation of opening balances of loans in subsidiaries with the Peso as functional currency which was charged to other comprehensive income and the adjustment for inflation of the fiscal year, which was charged to results.See Note 26.Corresponds to adjustment for inflation of inventories’ opening balances of subsidiaries with the Peso as functional currency, which was charged to other comprehensive income.The expense recognized in the condensed interim consolidated statement of comprehensive income corresponding to research and development activities amounted to 1,938.Includes 482 corresponding to fees and remunerations of Directors and Statutory Auditors of YPF’s Board of Directors. On April 30, 2021, the General and Extraordinary Shareholders’ Meeting of YPF resolved to ratify the fees corresponding to fiscal year 2020 of 194 and to approve as fees on account of such fees and remunerations for the fiscal year 2021, the sum of 463.Includes 19,707 corresponding to export withholdings.Includes 3,783 and 5,509 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.Includes 1,726 corresponding to Productive Recovery Program II (“REPRO II”) in benefit of OPESSA. See Note 36.The expense recognized in the consolidated statement of comprehensive income corresponding to research and development activities amounted to 1,602.Includes 193 corresponding to fees and remunerations of the Directors and Statutory Auditors of YPF’s Board of Directors. On April 20, 2020, the General and Extraordinary Shareholders’ Meeting of YPF resolved to ratify the fees corresponding to fiscal year 2019 of 83 and to approve as fees on account of such fees and remunerations for the fiscal year 2020, the sum of 123.Includes 1,539 corresponding to the Work and Production Assistance Program received in benefit of AESA and OPESSA. See Note 36.Includes 4,164 and 5,332 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.Includes 9,393 corresponding to export withholdings.The expense recognized in the consolidated statement of comprehensive income corresponding to research and development activities amounted to 1,261.Includes 80 corresponding to fees and remunerations of the Directors and Statutory Auditors of YPF’s Board of Directors. On April 26, 2019, the General and Extraordinary Shareholders’ Meeting of YPF resolved to ratify the fees corresponding to fiscal year 2018 of 65 and to approve as fees on account of such fees and remunerations for the fiscal year 2019, the sum of 87.Includes 6,541 corresponding to export withholdings.Includes 7,223 and 3,326 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.Sale of assets held for disposal.Income recognized by the Work and Production Assistance Program received in benefit of AESA and OPESSA.Income recognized by the Productive Recovery Program II (“REPRO II”) in benefit of OPESSA.See Note 6.See Note 21.Corresponds to adjustment for inflation of opening balances of the provision for impairment of intangible assets in subsidiaries with the Peso as functional currency which was charged to other comprehensive income.See Note 35.c.3).See Note 34.d). 0000904851 2021-01-01 2021-12-31 0000904851 2020-01-01 2020-12-31 0000904851 2019-01-01 2019-12-31 0000904851 2019-12-31 0000904851 2020-12-31 0000904851 2021-12-31 0000904851 2018-01-01 2018-12-31 0000904851 2019-04-26 2019-04-26 0000904851 2020-04-30 2020-04-30 0000904851 2021-04-30 2021-04-30 0000904851 2020-01-31 0000904851 2019-04-01 2019-12-31 0000904851 2020-04-29 2020-04-29 0000904851 2017-01-01 2017-12-31 0000904851 2020-08-31 0000904851 2018-06-30 0000904851 2021-12-09 2021-12-09 0000904851 2020-07-31 2020-07-31 0000904851 2021-11-11 2021-11-11 0000904851 2019-12-23 2019-12-23 0000904851 2020-08-26 2020-08-26 0000904851 2020-10-09 2020-10-09 0000904851 2021-01-06 2021-01-06 0000904851 2020-01-01 2020-01-31 0000904851 2018-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember ypf:EstimatedFairValueOfLoansMember 2020-12-31 0000904851 ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:BancoNacionArgentinaMember ypf:ExportPreFinancingMember 2020-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2020-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2020-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2020-12-31 0000904851 ypf:YPFEEMember 2020-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2020-12-31 0000904851 ypf:CashAndCashEquivalentMember 2020-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember ypf:CashAndCashEquivalentMember 2020-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember 2020-12-31 0000904851 ypf:MutualFundsMember ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2020-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2020-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember ypf:InvestmentsAndFinancialAssetsMember 2020-12-31 0000904851 ypf:PublicSecuritiesMember ypf:InvestmentsAndFinancialAssetsMember 2020-12-31 0000904851 ypf:PublicSecuritiesMember ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2020-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2020-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2020-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2020-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2020-12-31 0000904851 currency:ARS ypf:Loans1Member 2020-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2020-12-31 0000904851 currency:ARS 2020-12-31 0000904851 ypf:OtherCurrencyMember ypf:NegotiableObligationsMember 2020-12-31 0000904851 ypf:OtherCurrencyMember ypf:ExportPreFinancingMember 2020-12-31 0000904851 ypf:OtherCurrencyMember ypf:Loans1Member 2020-12-31 0000904851 ypf:OtherCurrencyMember 2020-12-31 0000904851 ypf:WorldwideMember 2020-12-31 0000904851 country:AR 2020-12-31 0000904851 ypf:ExportPreFinancingMember currency:ARS 2020-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2020-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2020-12-31 0000904851 ypf:OtherForeignMember 2020-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2020-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:OTAMember 2020-12-31 0000904851 ypf:OTCMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:RefinedProductsMember 2020-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2020-12-31 0000904851 ypf:ProductsInProcessMember 2020-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2020-12-31 0000904851 ypf:GasAustralSAMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ypf:BancoNacionArgentinaMember 2020-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2020-12-31 0000904851 ypf:SustentatorSaMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2020-12-31 0000904851 ypf:GpaMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:SharebasedPlansMember 2020-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2020-12-31 0000904851 ypf:CashAndCashEquivalentMember 2020-12-31 0000904851 ifrs-full:TradeReceivablesMember 2020-12-31 0000904851 ypf:OtherReceivablesMember 2020-12-31 0000904851 ypf:AccountsPayable1Member 2020-12-31 0000904851 ypf:OtherLiabilitiesMember 2020-12-31 0000904851 ypf:Loans1Member 2020-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2020-12-31 0000904851 ypf:TemporaryEconomicAssistanceToMetrogasMember ypf:SGEMember 2020-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2020-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2020-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2020-12-31 0000904851 ypf:MinistryOfTransportMember 2020-12-31 0000904851 ypf:CammesaMember 2020-12-31 0000904851 ypf:CammesaOneMember 2020-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2020-12-31 0000904851 ypf:SGEMember ypf:AdditionalInjectionOfNaturalGasSchemeMember 2020-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2020-12-31 0000904851 ypf:IEASAMember 2020-12-31 0000904851 ypf:IEASAOneMember 2020-12-31 0000904851 ypf:SGEMember ypf:BottleToBottleProgramMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:EuroToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:CTBarraganMember ifrs-full:JointVenturesMember 2020-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:JapaneseYenToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:PoundSterlingToArgentinePesoExchangeRateMember 2020-12-31 0000904851 ypf:CguGasAustralBasinMember 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassTwelveMember ypf:TwoThousandTwentyJuneMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenDecemberMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyFourMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenOctoberMember ypf:BadlarVariableRateMember ypf:ClassFortyThreeMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenMayMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyTwoMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyThreeMember ypf:TwoThousandSeventeenJulyAndDecemberMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandNineteenJuneMember ypf:ClassOneMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyJulyMember ypf:ClassThirteenMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember ypf:ClassFourteenMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember 2020-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ypf:NegotiableObligationsMember ypf:ClassTwentyEightMember ifrs-full:FixedInterestRateMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFourteenSeptemberMember ypf:BadlarVariableRateMember ypf:ClassThirtyFourMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenAprilMember ifrs-full:FixedInterestRateMember ypf:ClassThirtyNineMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFiveMember ypf:TwoThousandTwentyJanuaryMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassSixMember ypf:TwoThousandTwentyJanuaryAndMarchMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassSevenMember ypf:TwoThousandTwentyJanuaryMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFifteenMember ypf:TwoThousandTwentyDecemberMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenMarchMember ypf:ClassFortySevenMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyMarchMember ypf:ClassEightMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassNineMember ypf:TwoThousandTwentyMarchMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyMayMember ypf:ClassElevenMember 2020-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenMarchAndTwoThousandTwentyJanuaryMember ypf:ClassFortySixMember 2020-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2020-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2020-12-31 0000904851 ypf:LaterThanTwoYearsMember 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:BandurriaSurAreaMember 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:BandurriaSurAreaMember 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2020-12-31 0000904851 ypf:LaterThanNineYearsMember 2020-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2020-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2020-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2020-12-31 0000904851 ypf:MiscellaneousMember 2020-12-31 0000904851 ypf:IvaMember 2020-12-31 0000904851 ypf:WithholdingsAndPerceptionsMember 2020-12-31 0000904851 ypf:RoyaltiesMember 2020-12-31 0000904851 ypf:TaxOnFuelsMember 2020-12-31 0000904851 ypf:IibbMember 2020-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2020-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:GasAndPowerSegmentMember 2020-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2020-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2020-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2020-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PrivateSecuritiesMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2020-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PublicSecuritiesMember 2020-12-31 0000904851 ypf:OpessaMember 2020-12-31 0000904851 ypf:EstimatedFairValueOfLoansMember ifrs-full:Level3OfFairValueHierarchyMember 2019-12-31 0000904851 ifrs-full:JointVenturesMember 2019-12-31 0000904851 ypf:BancoNacionArgentinaMember ypf:ExportPreFinancingMember 2019-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2019-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2019-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2019-12-31 0000904851 ypf:CtebMember 2019-12-31 0000904851 ypf:YPFEEMember 2019-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2019-12-31 0000904851 ypf:CashAndCashEquivalentMember 2019-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember ypf:CashAndCashEquivalentMember 2019-12-31 0000904851 ypf:MutualFundsMember ypf:CashAndCashEquivalentMember 2019-12-31 0000904851 ypf:MutualFundsMember ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2019-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2019-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2019-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2019-12-31 0000904851 ypf:PublicSecuritiesMember ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2019-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2019-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2019-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2019-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2019-12-31 0000904851 ypf:OtherCurrencyMember ypf:ExportPreFinancingMember 2019-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2019-12-31 0000904851 currency:ARS 2019-12-31 0000904851 ypf:OtherCurrencyMember ypf:NegotiableObligationsMember 2019-12-31 0000904851 ypf:OtherCurrencyMember ypf:Loans1Member 2019-12-31 0000904851 ypf:OtherCurrencyMember 2019-12-31 0000904851 ypf:WorldwideMember 2019-12-31 0000904851 country:AR 2019-12-31 0000904851 currency:ARS ypf:Loans1Member 2019-12-31 0000904851 ypf:OtherCurrencyMember ypf:ImportsFinancingMember 2019-12-31 0000904851 ypf:AccountOverdraftMember currency:ARS 2019-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2019-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2019-12-31 0000904851 ypf:OtherForeignMember 2019-12-31 0000904851 ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2019-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:OTAMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:OTCMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:RefinedProductsMember 2019-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2019-12-31 0000904851 ypf:ProductsInProcessMember 2019-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2019-12-31 0000904851 ypf:PetrofaroSAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:BizoySaMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-12-31 0000904851 ypf:GasAustralSAMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:BancoNacionArgentinaMember 2019-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2019-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:GpaMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2019-12-31 0000904851 ypf:SharebasedPlansMember 2019-12-31 0000904851 ypf:CashAndCashEquivalentMember 2019-12-31 0000904851 ifrs-full:TradeReceivablesMember 2019-12-31 0000904851 ypf:OtherReceivablesMember 2019-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2019-12-31 0000904851 ypf:Loans1Member 2019-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2019-12-31 0000904851 ypf:AccountsPayable1Member 2019-12-31 0000904851 ypf:OtherLiabilitiesMember 2019-12-31 0000904851 ypf:TemporaryEconomicAssistanceToMetrogasMember ypf:SGEMember 2019-12-31 0000904851 ypf:BottleToBottleProgramMember ypf:SGEMember 2019-12-31 0000904851 ypf:SGEMember ypf:AdditionalInjectionOfNaturalGasSchemeMember 2019-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2019-12-31 0000904851 ypf:CammesaOneMember 2019-12-31 0000904851 ypf:IEASAMember 2019-12-31 0000904851 ypf:IEASAOneMember 2019-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2019-12-31 0000904851 ypf:MinistryOfTransportMember 2019-12-31 0000904851 ypf:CammesaMember 2019-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2019-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2019-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:EuroToArgentinePesoExchangeRateMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:JapaneseYenToArgentinePesoExchangeRateMember 2019-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenDecemberMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyFourMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassOneMember ifrs-full:FixedInterestRateMember ypf:TwoThousandNineteenJuneMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenAprilMember ifrs-full:FixedInterestRateMember ypf:ClassThirtyNineMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenOctoberMember ypf:BadlarVariableRateMember ypf:ClassFortyThreeMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenMarchMember ypf:ClassFortySevenMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenMayMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyTwoMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFortySixMember ypf:TwoThousandSixteenMarchAndTwoThousandTwentyJanuaryMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyThreeMember ypf:TwoThousandSeventeenJulyAndDecemberMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember 2019-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ypf:NegotiableObligationsMember ypf:ClassTwentyEightMember ifrs-full:FixedInterestRateMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFourteenSeptemberMember ypf:BadlarVariableRateMember ypf:ClassThirtyFourMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenSeptemberMember ypf:ClassFortyOneMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenFebruaryMember ypf:ClassThirtySixMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyEightMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFourteenMarchMember ypf:ClassTwentyNineMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenAprilMember ypf:ClassSeventeenMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenJuneMember ypf:ClassTwentyMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenJulyMember ypf:ClassTwentyTwoMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassTwoMember ypf:TwoThousandNineteenDecemberMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassThreeMember ypf:TwoThousandNineteenDecemberAndTwoThousandTwentyAprilMayAndJuneMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFourMember ypf:TwoThousandNineteenDecemberMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenAprilMember ypf:ClassFortyEightMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenAprilMember ypf:ClassFortyNineMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenJulyMember ypf:ClassFiftyMember 2019-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenSeptemberAndTwoThousandNineteenDecemberMember ypf:ClassFortyTwoMember 2019-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2019-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2019-12-31 0000904851 ypf:LaterThanTwoYearsMember 2019-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2019-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2019-12-31 0000904851 ypf:LaterThanNineYearsMember 2019-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2019-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2019-12-31 0000904851 ypf:MiscellaneousMember 2019-12-31 0000904851 ypf:IvaMember 2019-12-31 0000904851 ypf:WithholdingsAndPerceptionsMember 2019-12-31 0000904851 ypf:RoyaltiesMember 2019-12-31 0000904851 ypf:TaxOnFuelsMember 2019-12-31 0000904851 ypf:IibbMember 2019-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2019-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2019-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2019-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2019-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PrivateSecuritiesMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2019-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PublicSecuritiesMember 2019-12-31 0000904851 ypf:NationalAndInternationalPublicTenderNumberAdchZeroOneTwoThousandAndNineteenMember ypf:ProvinceOfNeuquenMember ypf:IeasaMember ypf:AguaDeChanaAreaMember ifrs-full:OtherIntangibleAssetsMember 2019-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:BadlarMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:SofrMember 2021-12-31 0000904851 ypf:LIBORMember ifrs-full:InterestRateRiskMember 2021-12-31 0000904851 ypf:EstimatedFairValueOfLoansMember ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:ImportsFinancingMember ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:ImportsFinancingMember ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember currency:ARS ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember currency:ARS ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:ExportPreFinancingMember ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:ExportPreFinancingMember ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:Loans1Member ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:Loans1Member ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:AccountOverdraftMember currency:ARS 2021-12-31 0000904851 currency:ARS ifrs-full:TopOfRangeMember ypf:AccountOverdraftMember 2021-12-31 0000904851 ypf:MediumTermNotes1Member ypf:NineteenNinetySevenMember 2021-12-31 0000904851 ypf:MediumTermNotes1Member ypf:TwoThousandEightMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember 2021-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2021-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanFiveYearsMember 2021-12-31 0000904851 ypf:BancoNacionArgentinaMember ypf:ExportPreFinancingMember 2021-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2021-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2021-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2021-12-31 0000904851 ypf:YPFEEMember 2021-12-31 0000904851 ypf:BadlarMember ifrs-full:InterestRateRiskMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:BadlarMember ifrs-full:InterestRateRiskMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:LIBORMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:LIBORMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:SofrMember 2021-12-31 0000904851 ifrs-full:OrdinarySharesMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ypf:OtherFinancialAssetMember 2021-12-31 0000904851 ypf:InvestmentInFinancialAssetsMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember currency:USD 2021-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ypf:MutualFundsMember ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ypf:MutualFundsMember ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2021-12-31 0000904851 ypf:PublicSecuritiesMember ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2021-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2021-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2021-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2021-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2021-12-31 0000904851 currency:ARS ypf:Loans1Member 2021-12-31 0000904851 currency:ARS 2021-12-31 0000904851 ypf:OtherCurrencyMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:OtherCurrencyMember ypf:ExportPreFinancingMember 2021-12-31 0000904851 ypf:OtherCurrencyMember ypf:Loans1Member 2021-12-31 0000904851 ypf:OtherCurrencyMember 2021-12-31 0000904851 ypf:WorldwideMember 2021-12-31 0000904851 country:AR 2021-12-31 0000904851 ypf:OtherCurrencyMember ypf:ImportsFinancingMember 2021-12-31 0000904851 ypf:AccountOverdraftMember currency:ARS 2021-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2021-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:PositiveVariationImpactOnNetIncomeAfterIncomeTaxMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:NegativeVariationImpactOnNetIncomeAfterIncomeTaxMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ifrs-full:InterestRateRiskMember 2021-12-31 0000904851 ifrs-full:FloatingInterestRateMember ifrs-full:InterestRateRiskMember 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember 2021-12-31 0000904851 ypf:HydrocarbonDistributionMember ifrs-full:BottomOfRangeMember 2021-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:OTAMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2021-12-31 0000904851 ypf:TwoThousandTwentyFiveExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-12-31 0000904851 ypf:TwoThousandTwentyFourExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-12-31 0000904851 ypf:TwoThousandTwentyOneExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-12-31 0000904851 ypf:TwoThousandTwentyTwoExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-12-31 0000904851 ypf:TwoThousandTwentyThreeExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-12-31 0000904851 ypf:RefinedProductsMember 2021-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2021-12-31 0000904851 ypf:ProductsInProcessMember 2021-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2021-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:GasAustralSAMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:HydrocarbonDistributionMember 2021-12-31 0000904851 ypf:BancoNacionArgentinaMember 2021-12-31 0000904851 ifrs-full:LiquidityRiskMember 2021-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2021-12-31 0000904851 ypf:CurrentTradeReceivableMember ifrs-full:NotLaterThanThreeMonthsMember 2021-12-31 0000904851 ypf:OtherCurrentReceivablesMember ifrs-full:NotLaterThanThreeMonthsMember 2021-12-31 0000904851 ypf:CurrentTradeReceivableMember ypf:BetweenThreeAndSixMonthsMember 2021-12-31 0000904851 ypf:OtherCurrentReceivablesMember ypf:BetweenThreeAndSixMonthsMember 2021-12-31 0000904851 ypf:CurrentTradeReceivableMember ifrs-full:LaterThanSixMonthsMember 2021-12-31 0000904851 ypf:OtherCurrentReceivablesMember ifrs-full:LaterThanSixMonthsMember 2021-12-31 0000904851 ypf:CurrentTradeReceivableMember 2021-12-31 0000904851 ypf:OtherCurrentReceivablesMember 2021-12-31 0000904851 ypf:ClassASharesMember 2021-12-31 0000904851 ypf:SustentatorSaMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:GpaMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:SharebasedPlansMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ifrs-full:TradeReceivablesMember 2021-12-31 0000904851 ypf:OtherReceivablesMember 2021-12-31 0000904851 ypf:NationalGovernmentAndDirectAgenciesAccountsMember 2021-12-31 0000904851 ypf:AccountsPayable1Member 2021-12-31 0000904851 ypf:OtherLiabilitiesMember 2021-12-31 0000904851 ypf:Loans1Member 2021-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2021-12-31 0000904851 ypf:TemporaryEconomicAssistanceToMetrogasMember ypf:SGEMember 2021-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2021-12-31 0000904851 ypf:GasarPlanMember ypf:SGEMember 2021-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2021-12-31 0000904851 ypf:MinistryOfTransportMember 2021-12-31 0000904851 ypf:CammesaMember 2021-12-31 0000904851 ypf:CammesaOneMember 2021-12-31 0000904851 ypf:IEASAMember 2021-12-31 0000904851 ypf:IEASAOneMember 2021-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2021-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2021-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2021-12-31 0000904851 ifrs-full:StatutoryReserveMember 2021-12-31 0000904851 ypf:MetrogasSAMember 2021-12-31 0000904851 ypf:YTECMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:YPFInternacionalMember ifrs-full:SubsidiariesMember 2021-12-31 0000904851 ypf:AESAMember ifrs-full:SubsidiariesMember 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YPFHoldingsMember 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:OPESSAMember 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:MetrogasMember 2021-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:YtecMember ifrs-full:SubsidiariesMember 2021-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:CTBarraganMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesMember 2021-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:EuroToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2021-12-31 0000904851 ypf:CguGasAustralBasinMember 2021-12-31 0000904851 ypf:CguGasNeuquinaBasinMember ifrs-full:TopOfRangeMember 2021-12-31 0000904851 ypf:YPFChileMember ifrs-full:SubsidiariesMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:JapaneseYenToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:PoundSterlingToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SwissFrancToArgentinePesoExchangeRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenAprilMember ypf:ClassSeventeenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenJuneMember ypf:ClassTwentyMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandThirteenJulyMember ypf:ClassTwentyTwoMember 2021-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ypf:NegotiableObligationsMember ypf:ClassTwentyEightMember ifrs-full:FixedInterestRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFourteenMarchMember ypf:ClassTwentyNineMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFourteenSeptemberMember ypf:ClassThirtyFourMember ypf:BadlarVariableRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenSeptemberMember ypf:ClassFortyOneMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenFebruaryMember ypf:ClassThirtySixMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyEightMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyNineMember ifrs-full:FixedInterestRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenOctoberMember ypf:ClassFortyThreeMember ypf:BadlarVariableRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenMarchMember ypf:ClassFortySevenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenAprilMember ypf:ClassFortyEightMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenAprilMember ypf:ClassFortyNineMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSixteenJulyMember ypf:ClassFiftyMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenMayMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyTwoMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandNineteenJuneMember ypf:ClassOneMember ifrs-full:FixedInterestRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassThirteenMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyJulyMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyMarchMember ypf:ClassEightMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneFebruaryMember ifrs-full:FixedInterestRateMember ypf:ClassSixteenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassNineMember ypf:TwoThousandTwentyMarchMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneJulyMember ypf:ClassTwentyMember ifrs-full:FixedInterestRateMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenDecemberMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyFourMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassTwelveMember ypf:TwoThousandTwentyJuneMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandNineteenDecemberMember ypf:ClassTwoMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandNineteenDecemberMember ypf:ClassFourMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyJanuaryAndMarchMember ypf:ClassSixMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:ClassFourteenMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyOneFebruaryMember ypf:NegotiableObligationsMember ypf:ClassSeventeenMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyOneFebruaryMember ypf:NegotiableObligationsMember ypf:ClassEighteenMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyOneFebruaryMember ypf:NegotiableObligationsMember ypf:ClassNineteenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyJanuaryMember ypf:ClassFiveMember 2021-12-31 0000904851 ypf:TwoThousandTwentyJanuaryMember ypf:ClassSevenMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:TwoThousandTwentyDecemberMember ypf:NegotiableObligationsMember ypf:ClassFifteenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandNineteenDecemberAndTwoThousandTwentyAprilMayAndJuneMember ypf:ClassThreeMember 2021-12-31 0000904851 ypf:ClassFortyTwoMember ypf:NegotiableObligationsMember ypf:TwoThousandFifteenSeptemberAndTwoThousandNineteenDecemberMember 2021-12-31 0000904851 ypf:ClassFortySixMember ypf:NegotiableObligationsMember ypf:TwoThousandSixteenMarchAndTwoThousandTwentyJanuaryMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:ClassFiftyThreeMember ypf:NegotiableObligationsMember ypf:TwoThousandSeventeenJulyAndDecemberMember 2021-12-31 0000904851 ypf:ClassElevenMember ypf:TwoThousandTwentyMayMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:LaterThanTwoYearsMember 2021-12-31 0000904851 ypf:LomaDeLaMinaAreaMember ypf:MineralPropertyWellsAndRelatedEquipmentMember 2021-12-31 0000904851 ypf:ClassDSharesMember 2021-12-31 0000904851 ypf:ClassCSharesMember 2021-12-31 0000904851 ypf:ClassBSharesMember 2021-12-31 0000904851 ypf:ClassASharesMember 2021-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2021-12-31 0000904851 ypf:LaterThanNineYearsMember 2021-12-31 0000904851 ypf:MiscellaneousMember 2021-12-31 0000904851 ypf:IvaMember 2021-12-31 0000904851 ypf:WithholdingsAndPerceptionsMember 2021-12-31 0000904851 ypf:RoyaltiesMember 2021-12-31 0000904851 ypf:TaxOnFuelsMember 2021-12-31 0000904851 ypf:IibbMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:MajorIssuanceOfNegotiableObligationsMember ypf:ClassXviiiMember 2021-12-31 0000904851 ypf:PaymentPlanMember 2021-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember ypf:IFRS16Member 2021-12-31 0000904851 ypf:BandurriaSurAreaMember 2021-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:UpstreamMember 2021-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:CentralAdministrationAndOthersMember 2021-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2021-12-31 0000904851 ypf:PublicSecuritiesMember ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2021-12-31 0000904851 ypf:PrivateSecuritiesMember ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2021-12-31 0000904851 srt:ParentCompanyMember ypf:ClassXivNosMember 2021-12-31 0000904851 ypf:ClassXivNosMember 2021-12-31 0000904851 ypf:ProductionCostsMember 2020-01-01 2020-12-31 0000904851 ypf:SellingExpensesMember 2020-01-01 2020-12-31 0000904851 ypf:AdministrativeExpensesMember 2020-01-01 2020-12-31 0000904851 ypf:ExplorationExpensesMember 2020-01-01 2020-12-31 0000904851 ypf:DomesticMarketMember 2020-01-01 2020-12-31 0000904851 ypf:InternationalMarketMember 2020-01-01 2020-12-31 0000904851 ypf:RetirementPlanMember 2020-01-01 2020-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasMember 2020-01-01 2020-12-31 0000904851 ypf:CrudeOil1Member 2020-01-01 2020-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2020-01-01 2020-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploratoryDrillingInProgressMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:FixturesAndFittingsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OilAndGasAssetsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:FixturesAndFittingsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OfficeEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OilAndGasAssetsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MaterialsAndEquipmentInWarehouseMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ConstructionInProgressMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:BottomOfRangeMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:TopOfRangeMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasLiquidsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ParentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:RelatedPartiesMember 2020-01-01 2020-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OfficeEquipmentMember 2020-01-01 2020-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2020-01-01 2020-12-31 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2020-01-01 2020-12-31 0000904851 ypf:ShareholdersContributionMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2020-01-01 2020-12-31 0000904851 ypf:WorldwideMember 2020-01-01 2020-12-31 0000904851 country:AR 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndSeventeenToTwentyMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember ifrs-full:BottomOfRangeMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember ifrs-full:TopOfRangeMember 2020-01-01 2020-12-31 0000904851 ypf:SharebasedPlansMember 2020-01-01 2020-12-31 0000904851 ifrs-full:IssuedCapitalMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AdditionalPaidinCapitalMember 2020-01-01 2020-12-31 0000904851 ifrs-full:TreasurySharesMember 2020-01-01 2020-12-31 0000904851 ypf:AdjustmentToTreasurySharesMember 2020-01-01 2020-12-31 0000904851 ypf:AcquisitionCostOfTreasurySharesMember 2020-01-01 2020-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ForeignCountriesMember 2020-01-01 2020-12-31 0000904851 srt:EuropeMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:MiningRightsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2020-01-01 2020-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember 2020-01-01 2020-12-31 0000904851 ypf:ShareTradingPremiumMember 2020-01-01 2020-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2020-01-01 2020-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2020-01-01 2020-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2020-01-01 2020-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2020-01-01 2020-12-31 0000904851 ifrs-full:RetainedEarningsMember 2020-01-01 2020-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2020-01-01 2020-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2020-01-01 2020-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:OTAMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:ProfertilMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:MEGAMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-01-01 2020-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YPFEEMember 2020-01-01 2020-12-31 0000904851 ifrs-full:CurrentMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:CurrentMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2020-01-01 2020-12-31 0000904851 ifrs-full:CurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentMember ypf:ProvisionForEnvironmentalLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentMember ifrs-full:OtherContingentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentMember 2020-01-01 2020-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2020-01-01 2020-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2020-01-01 2020-12-31 0000904851 ypf:SustentatorSaMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2020-01-01 2020-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2020-01-01 2020-12-31 0000904851 ypf:YPFEEMember 2020-01-01 2020-12-31 0000904851 ypf:HydrocarbonDistributionMember 2020-01-01 2020-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2020-01-01 2020-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2020-01-01 2020-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2020-01-01 2020-12-31 0000904851 ypf:NeuquinaBasinMember 2020-01-01 2020-12-31 0000904851 ypf:GasStationsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:GasStationsMember 2020-01-01 2020-12-31 0000904851 ypf:PowerPlantsMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:PowerPlantsMember 2020-01-01 2020-12-31 0000904851 ypf:DistributionCompaniesMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:DistributionCompaniesMember 2020-01-01 2020-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2020-01-01 2020-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2020-01-01 2020-12-31 0000904851 ypf:AgricultureMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:PetrochemicalIndustryMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:PetrochemicalIndustryMember 2020-01-01 2020-12-31 0000904851 ypf:TradingMember 2020-01-01 2020-12-31 0000904851 ypf:OilCompaniesMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2020-01-01 2020-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ypf:OtherSalesChannelsMember 2020-01-01 2020-12-31 0000904851 ypf:UpstreamMember 2020-01-01 2020-12-31 0000904851 ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:PowerPlantsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:AgricultureMember 2020-01-01 2020-12-31 0000904851 ypf:TradingMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:OilCompaniesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:UpstreamMember 2020-01-01 2020-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ypf:IEASAOneMember 2020-01-01 2020-12-31 0000904851 ypf:IEASAMember 2020-01-01 2020-12-31 0000904851 ypf:CammesaOneMember 2020-01-01 2020-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2020-01-01 2020-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2020-01-01 2020-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2020-01-01 2020-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2020-01-01 2020-12-31 0000904851 ypf:MinistryOfTransportMember 2020-01-01 2020-12-31 0000904851 ypf:CammesaMember 2020-01-01 2020-12-31 0000904851 ypf:AnsesMember 2020-01-01 2020-12-31 0000904851 ypf:DownstreamMember ypf:DieselMember 2020-01-01 2020-12-31 0000904851 ypf:DieselMember 2020-01-01 2020-12-31 0000904851 ypf:GasolinesMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:GasolinesMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasMember 2020-01-01 2020-12-31 0000904851 srt:CrudeOilMember 2020-01-01 2020-12-31 0000904851 ypf:JetFuelMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:LubricantsAndByproductsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:LubricantsAndByproductsMember 2020-01-01 2020-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2020-01-01 2020-12-31 0000904851 ypf:FuelOilMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:FuelOilMember 2020-01-01 2020-12-31 0000904851 ypf:PetrochemicalsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:PetrochemicalsMember 2020-01-01 2020-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2020-01-01 2020-12-31 0000904851 ypf:AsphaltsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2020-01-01 2020-12-31 0000904851 ypf:IncomeFromServicesMember 2020-01-01 2020-12-31 0000904851 ypf:IncomeFromConstructionContractsMember ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ypf:VirginNaphthaMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:VirginNaphthaMember 2020-01-01 2020-12-31 0000904851 ypf:PetroleumCokeMember 2020-01-01 2020-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2020-01-01 2020-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:UpstreamMember 2020-01-01 2020-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:GasAndPowerMember 2020-01-01 2020-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ypf:NaturalGasMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 srt:CrudeOilMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:JetFuelMember 2020-01-01 2020-12-31 0000904851 ypf:LiquefiedPetroleumGasMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:FloursOilsAndGrainsMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:AsphaltsMember 2020-01-01 2020-12-31 0000904851 ypf:IncomeFromServicesMember ypf:CentralAdministrationAndOthersMember 2020-01-01 2020-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2020-01-01 2020-12-31 0000904851 ypf:PetroleumCokeMember ypf:DownstreamMember 2020-01-01 2020-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2020-01-01 2020-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2020-01-01 2020-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:JapaneseYenToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:AccountsPayable1Member ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:PoundSterlingToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:EuroToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ifrs-full:TradeReceivablesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:ProvisionsMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:SalariesAndSocialSecurityMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:PoundSterlingToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:AccountsPayable1Member 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:EuroToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:Loans1Member 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:Loans1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ifrs-full:LeaseLiabilitiesMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SalariesAndSocialSecurityMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:TaxPayableMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:InvestmentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:JapaneseYenToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:EuroToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentAssetsMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember ypf:OtherReceivablesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ifrs-full:TradeReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2020-01-01 2020-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:Loans1Member ypf:OtherForeignCurrenciesMember 2020-01-01 2020-12-31 0000904851 ypf:UsDollarToArgentinePesoExchangeRateMember ifrs-full:LeaseLiabilitiesMember ypf:NonCurrentLiabilitiesMember ypf:OtherForeignCurrenciesMember 2020-01-01 2020-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:UsDollarToArgentinePesoExchangeRateMember 2020-01-01 2020-12-31 0000904851 ifrs-full:BottomOfRangeMember 2020-01-01 2020-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ypf:GasStationsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ypf:GasStationsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0000904851 ypf:CompaniaDeHidrocarburoNoConvencionaLsrlChncMember 2020-01-01 2020-12-31 0000904851 ypf:AesaAndOpessaMember 2020-01-01 2020-12-31 0000904851 ypf:NegotiableObligationsMember 2020-01-01 2020-12-31 0000904851 ypf:ArgentineBondsTwoThousandTwentyNineAndTwoThousandThirtyMember 2020-01-01 2020-12-31 0000904851 ypf:OpessaMember 2020-01-01 2020-12-31 0000904851 ypf:UnconventionalGasMember 2020-01-01 2020-12-31 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:EquinorMember ypf:OtherNetOperatingResultsMember 2020-01-01 2020-12-31 0000904851 ypf:ProductionCostsMember 2019-01-01 2019-12-31 0000904851 ypf:AdministrativeExpensesMember 2019-01-01 2019-12-31 0000904851 ypf:ExplorationExpensesMember 2019-01-01 2019-12-31 0000904851 ypf:SellingExpensesMember 2019-01-01 2019-12-31 0000904851 ypf:DomesticMarketMember 2019-01-01 2019-12-31 0000904851 ypf:InternationalMarketMember 2019-01-01 2019-12-31 0000904851 ypf:RetirementPlanMember 2019-01-01 2019-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasLiquidsMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasMember 2019-01-01 2019-12-31 0000904851 ypf:CrudeOil1Member 2019-01-01 2019-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2019-01-01 2019-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2019-01-01 2019-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MaterialsAndEquipmentInWarehouseMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ConstructionInProgressMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploratoryDrillingInProgressMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:FixturesAndFittingsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:FixturesAndFittingsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OfficeEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OilAndGasAssetsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ParentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:RelatedPartiesMember 2019-01-01 2019-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2019-01-01 2019-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OfficeEquipmentMember 2019-01-01 2019-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2019-01-01 2019-12-31 0000904851 ypf:ShareholdersContributionMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2019-01-01 2019-12-31 0000904851 ypf:WorldwideMember 2019-01-01 2019-12-31 0000904851 country:AR 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndSeventeenToTwentyMember 2019-01-01 2019-12-31 0000904851 ypf:NeuquinaBasinMember 2019-01-01 2019-12-31 0000904851 ypf:GolfoSanJorgeBasinMember 2019-01-01 2019-12-31 0000904851 ypf:CuyanaBasinMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndSixteenToNineteenMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember ifrs-full:BottomOfRangeMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember ifrs-full:TopOfRangeMember 2019-01-01 2019-12-31 0000904851 ypf:SharebasedPlansMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember ifrs-full:TopOfRangeMember 2019-01-01 2019-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember ifrs-full:BottomOfRangeMember 2019-01-01 2019-12-31 0000904851 ifrs-full:IssuedCapitalMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AdditionalPaidinCapitalMember 2019-01-01 2019-12-31 0000904851 ifrs-full:TreasurySharesMember 2019-01-01 2019-12-31 0000904851 ypf:AdjustmentToTreasurySharesMember 2019-01-01 2019-12-31 0000904851 ypf:AcquisitionCostOfTreasurySharesMember 2019-01-01 2019-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ForeignCountriesMember 2019-01-01 2019-12-31 0000904851 srt:EuropeMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:MiningRightsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2019-01-01 2019-12-31 0000904851 ypf:ShareTradingPremiumMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:UpstreamMember 2019-01-01 2019-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2019-01-01 2019-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2019-01-01 2019-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2019-01-01 2019-12-31 0000904851 ifrs-full:RetainedEarningsMember 2019-01-01 2019-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2019-01-01 2019-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2019-01-01 2019-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2019-01-01 2019-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2019-01-01 2019-12-31 0000904851 ypf:OTAMember ifrs-full:AssociatesMember 2019-01-01 2019-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:ProfertilMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:MEGAMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YGENIMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:PetrofaroSAMember 2019-01-01 2019-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2019-01-01 2019-12-31 0000904851 ifrs-full:CurrentMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2019-01-01 2019-12-31 0000904851 ifrs-full:CurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentMember ypf:ProvisionForEnvironmentalLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentMember ifrs-full:OtherContingentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:CurrentMember 2019-01-01 2019-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2019-01-01 2019-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2019-01-01 2019-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2019-01-01 2019-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2019-01-01 2019-12-31 0000904851 ypf:YPFEEMember 2019-01-01 2019-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2019-01-01 2019-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2019-01-01 2019-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2019-01-01 2019-12-31 0000904851 ypf:VacaMuertaDevelopmentProjectMember 2019-01-01 2019-12-31 0000904851 ypf:GolfoSanJorgeAndNeuquinaBasinsMember 2019-01-01 2019-12-31 0000904851 ypf:GasStationsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:PowerPlantsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:PowerPlantsMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:DistributionCompaniesMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:DistributionCompaniesMember 2019-01-01 2019-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2019-01-01 2019-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2019-01-01 2019-12-31 0000904851 ypf:AgricultureMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:AgricultureMember 2019-01-01 2019-12-31 0000904851 ypf:PetrochemicalIndustryMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:PetrochemicalIndustryMember 2019-01-01 2019-12-31 0000904851 ypf:TradingMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:TradingMember 2019-01-01 2019-12-31 0000904851 ypf:OilCompaniesMember 2019-01-01 2019-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:UpstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ypf:OtherSalesChannelsMember 2019-01-01 2019-12-31 0000904851 ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:GasStationsMember 2019-01-01 2019-12-31 0000904851 ypf:PowerPlantsMember 2019-01-01 2019-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:OilCompaniesMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2019-01-01 2019-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:UpstreamMember 2019-01-01 2019-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2019-01-01 2019-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2019-01-01 2019-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2019-01-01 2019-12-31 0000904851 ypf:MinistryOfTransportMember 2019-01-01 2019-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2019-01-01 2019-12-31 0000904851 ypf:IEASAOneMember 2019-01-01 2019-12-31 0000904851 ypf:IEASAMember 2019-01-01 2019-12-31 0000904851 ypf:CammesaOneMember 2019-01-01 2019-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2019-01-01 2019-12-31 0000904851 ypf:CammesaMember 2019-01-01 2019-12-31 0000904851 ypf:BottleToBottleProgramMember ypf:SGEMember 2019-01-01 2019-12-31 0000904851 ypf:TemporaryEconomicAssistanceToMetrogasMember ypf:SGEMember 2019-01-01 2019-12-31 0000904851 ypf:SecretariatOfIndustryMember 2019-01-01 2019-12-31 0000904851 ypf:DieselMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:DieselMember 2019-01-01 2019-12-31 0000904851 ypf:GasolinesMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasMember 2019-01-01 2019-12-31 0000904851 srt:CrudeOilMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:JetFuelMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:JetFuelMember 2019-01-01 2019-12-31 0000904851 ypf:LubricantsAndByproductsMember 2019-01-01 2019-12-31 0000904851 ypf:LiquefiedPetroleumGasMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2019-01-01 2019-12-31 0000904851 ypf:FuelOilMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:FuelOilMember 2019-01-01 2019-12-31 0000904851 ypf:PetrochemicalsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:PetrochemicalsMember 2019-01-01 2019-12-31 0000904851 ypf:FloursOilsAndGrainsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:AsphaltsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:AsphaltsMember 2019-01-01 2019-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2019-01-01 2019-12-31 0000904851 ypf:IncomeFromServicesMember ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ypf:IncomeFromConstructionContractsMember ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2019-01-01 2019-12-31 0000904851 ypf:VirginNaphthaMember 2019-01-01 2019-12-31 0000904851 ypf:PetroleumCokeMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:PetroleumCokeMember 2019-01-01 2019-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2019-01-01 2019-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:UpstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:CentralAdministrationAndOthersMember 2019-01-01 2019-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2019-01-01 2019-12-31 0000904851 ypf:GasolinesMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:NaturalGasMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 srt:CrudeOilMember 2019-01-01 2019-12-31 0000904851 ypf:LubricantsAndByproductsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2019-01-01 2019-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:IncomeFromServicesMember 2019-01-01 2019-12-31 0000904851 ypf:VirginNaphthaMember ypf:DownstreamMember 2019-01-01 2019-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:GasAndPowerMember 2019-01-01 2019-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2019-01-01 2019-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:JapaneseYenToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:NonCurrentAssetsMember ypf:OtherReceivablesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:JapaneseYenToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:NonCurrentLiabilitiesMember ifrs-full:LeaseLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ifrs-full:LeaseLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:Loans1Member 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:AccountsPayable1Member 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:EuroToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:Loans1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SalariesAndSocialSecurityMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SalariesAndSocialSecurityMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:TaxPayableMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:InvestmentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:EuroToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ifrs-full:TradeReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:UsDollarToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:Loans1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2019-01-01 2019-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2019-01-01 2019-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2019-01-01 2019-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ypf:GasStationsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-01-01 2019-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ypf:GasStationsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2019-01-01 2019-12-31 0000904851 ypf:CompaniaDeHidrocarburoNoConvencionaLsrlChncMember 2019-01-01 2019-12-31 0000904851 ypf:YpfMember 2019-01-01 2019-12-31 0000904851 ypf:YtecMember 2019-01-01 2019-12-31 0000904851 ypf:UnconventionalGasMember 2019-01-01 2019-12-31 0000904851 ypf:OilstoneEnergiaSAMember ypf:RioMayoAndSarmientoAreasMember ypf:AlsurDeLaDorsalAnticlinicalCampamentoDosHermanesAndOjoDeAguaMember ypf:OtherNetOperatingResultsMember 2019-01-01 2019-12-31 0000904851 ypf:OtherNetOperatingResultsMember ypf:BajoDelPicheBarancaDeLosLorrorsElMedanitoAndElSantiaguenoMember ypf:AssignmentAgreementMember ypf:NequenAndRioNegroMember ypf:PetrleosSudamericanosS.aMember 2019-01-01 2019-12-31 0000904851 ypf:CapetrolArgentinaSAMember ypf:NequenAndRioNegroMember ypf:ProvinceOfChubhuthMember ypf:OtherNetOperatingResultsMember 2019-01-01 2019-12-31 0000904851 ypf:YPFEEMember 2021-01-01 2021-12-31 0000904851 ypf:AdministrativeExpensesMember 2021-01-01 2021-12-31 0000904851 ypf:ProductionCostsMember 2021-01-01 2021-12-31 0000904851 ypf:SellingExpensesMember 2021-01-01 2021-12-31 0000904851 ypf:ExplorationExpensesMember 2021-01-01 2021-12-31 0000904851 ypf:DomesticMarketMember 2021-01-01 2021-12-31 0000904851 ypf:InternationalMarketMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GuaranteesMember 2021-01-01 2021-12-31 0000904851 ypf:RetirementPlanMember 2021-01-01 2021-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasLiquidsMember 2021-01-01 2021-12-31 0000904851 ypf:CrudeOil1Member 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2021-01-01 2021-12-31 0000904851 country:AR 2021-01-01 2021-12-31 0000904851 currency:ARS ypf:AccountOverdraftMember 2021-01-01 2021-12-31 0000904851 ypf:OtherCurrencyMember ypf:ImportsFinancingMember 2021-01-01 2021-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ExportPreFinancingMember ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ExportPreFinancingMember ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:Loans1Member ypf:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:Loans1Member ypf:OtherCurrencyMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:TwoThousandTwentyOneExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-01-01 2021-12-31 0000904851 ypf:TwoThousandTwentyTwoExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-01-01 2021-12-31 0000904851 ypf:TwoThousandTwentyThreeExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-01-01 2021-12-31 0000904851 ypf:TwoThousandTwentyFourExpirationMember country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember 2021-01-01 2021-12-31 0000904851 country:AR ypf:TaxLossCarryforwardsAtTheExpectedRecoveryDateMember ypf:TwoThousandTwentyFiveExpirationMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ypf:PriceRiskMember ypf:PositiveVariationImpactOnNetIncomeBeforeIncomeTaxMember 2021-01-01 2021-12-31 0000904851 ypf:NegativeVariationImpactOnNetIncomeBeforeIncomeTaxMember ypf:PriceRiskMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndSixteenToNineteenMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndSeventeenToTwentyMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:RelatedPartiesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ParentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BuildingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixturesAndFittingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OfficeEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember ifrs-full:MachineryMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember ifrs-full:VehiclesMember 2021-01-01 2021-12-31 0000904851 ypf:PositiveVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember currency:USD ifrs-full:CurrencyRiskMember 2021-01-01 2021-12-31 0000904851 ypf:NegativeVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember currency:USD ifrs-full:CurrencyRiskMember 2021-01-01 2021-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanFiveYearsMember ypf:ExplorationWellMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrencyRiskMember ypf:PositiveVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:NegativeVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember ifrs-full:CurrencyRiskMember 2021-01-01 2021-12-31 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2021-01-01 2021-12-31 0000904851 ypf:ShareholdersContributionMember 2021-01-01 2021-12-31 0000904851 ypf:WorldwideMember 2021-01-01 2021-12-31 0000904851 ypf:GolfoSanJorgeBasinMember 2021-01-01 2021-12-31 0000904851 ypf:SharebasedPlansMember 2021-01-01 2021-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ForeignCountriesMember 2021-01-01 2021-12-31 0000904851 srt:EuropeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:MiningRightsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:PositiveVariationImpactOnNetIncomeAfterIncomeTaxMember ifrs-full:InterestRateRiskMember 2021-01-01 2021-12-31 0000904851 ypf:NegativeVariationImpactOnNetIncomeAfterIncomeTaxMember ifrs-full:InterestRateRiskMember 2021-01-01 2021-12-31 0000904851 ypf:OilAndCondensateMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:OilEquivalentMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember ypf:ExtendedMoratoriumMember 2021-01-01 2021-12-31 0000904851 ifrs-full:IssuedCapitalMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AdditionalPaidinCapitalMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TreasurySharesMember 2021-01-01 2021-12-31 0000904851 ypf:AdjustmentToTreasurySharesMember 2021-01-01 2021-12-31 0000904851 ypf:AcquisitionCostOfTreasurySharesMember 2021-01-01 2021-12-31 0000904851 ypf:ShareTradingPremiumMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonDistributionMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:UpstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2021-01-01 2021-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2021-01-01 2021-12-31 0000904851 ifrs-full:RetainedEarningsMember 2021-01-01 2021-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2021-01-01 2021-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OTAMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:ProfertilMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:MEGAMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YPFEEMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OLCLPMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember ypf:ProvisionForEnvironmentalLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember ifrs-full:OtherContingentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2021-01-01 2021-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2021-01-01 2021-12-31 0000904851 ypf:SustentatorSaMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2021-01-01 2021-12-31 0000904851 ypf:OilEquivalentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2021-01-01 2021-12-31 0000904851 ypf:FeasibilityStudyForTheLower17MilesOfThePassaicRiverAndThe2021RodForTheUpper9MilesOfThePassaicRiverMemberMember 2021-01-01 2021-12-31 0000904851 ypf:ProvinceOfNeuquenMember ypf:NarambuenaExplorationProjectAreaMember 2021-01-01 2021-12-31 0000904851 ypf:NeuquinaBasinMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember ifrs-full:StatutoryReserveMember 2021-01-01 2021-12-31 0000904851 ypf:GasStationsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:PowerPlantsMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:PowerPlantsMember 2021-01-01 2021-12-31 0000904851 ypf:DistributionCompaniesMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:DistributionCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2021-01-01 2021-12-31 0000904851 ypf:AgricultureMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalIndustryMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalIndustryMember 2021-01-01 2021-12-31 0000904851 ypf:TradingMember 2021-01-01 2021-12-31 0000904851 ypf:OilCompaniesMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ypf:OtherSalesChannelsMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:PowerPlantsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:IndustriesTransportAndAviationMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:AgricultureMember 2021-01-01 2021-12-31 0000904851 ypf:TradingMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:OilCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:UpstreamMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ifrs-full:StatutoryReserveMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaMember 2021-01-01 2021-12-31 0000904851 ypf:IEASAOneMember 2021-01-01 2021-12-31 0000904851 ypf:IEASAMember 2021-01-01 2021-12-31 0000904851 ypf:CammesaOneMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2021-01-01 2021-12-31 0000904851 ypf:GasarPlanMember ypf:SGEMember 2021-01-01 2021-12-31 0000904851 ypf:MinistryOfTransportMember 2021-01-01 2021-12-31 0000904851 ypf:CammesaMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember ypf:SGEMember 2021-01-01 2021-12-31 0000904851 ypf:SecretariatOfIndustryMember 2021-01-01 2021-12-31 0000904851 ypf:AerolineasArgentinasSaAndAustralLineasAereasCielosDelSurSaOneMember 2021-01-01 2021-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2021-01-01 2021-12-31 0000904851 ypf:MinistryOfWorkEmploymentAndSocialSecurityAndAfipMember 2021-01-01 2021-12-31 0000904851 ypf:CDSMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:CTBarraganMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:YtecMember ifrs-full:SubsidiariesMember 2021-01-01 2021-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:YPFInternacionalMember ifrs-full:SubsidiariesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YPFHoldingsMember 2021-01-01 2021-12-31 0000904851 ypf:AESAMember ifrs-full:SubsidiariesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:MetrogasMember 2021-01-01 2021-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:OPESSAMember 2021-01-01 2021-12-31 0000904851 ypf:YPFChileMember ifrs-full:SubsidiariesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:DieselMember 2021-01-01 2021-12-31 0000904851 ypf:DieselMember 2021-01-01 2021-12-31 0000904851 ypf:GasolinesMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GasolinesMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 srt:CrudeOilMember 2021-01-01 2021-12-31 0000904851 ypf:JetFuelMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:LubricantsAndByproductsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:LubricantsAndByproductsMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:FuelOilMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:FuelOilMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalsMember 2021-01-01 2021-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2021-01-01 2021-12-31 0000904851 ypf:AsphaltsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromServicesMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromConstructionContractsMember ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ypf:VirginNaphthaMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:VirginNaphthaMember 2021-01-01 2021-12-31 0000904851 ypf:PetroleumCokeMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:UpstreamMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 srt:CrudeOilMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:JetFuelMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedPetroleumGasMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:FloursOilsAndGrainsMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:AsphaltsMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromServicesMember ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2021-01-01 2021-12-31 0000904851 ypf:PetroleumCokeMember ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2021-01-01 2021-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2021-01-01 2021-12-31 0000904851 ypf:PanAmericanEnergyMember ypf:AcambucoMember 2021-01-01 2021-12-31 0000904851 ypf:TotalAustralMember ypf:AguadaPichanaAreaVacaMuertaMember 2021-01-01 2021-12-31 0000904851 ypf:TotalAustralMember ypf:AguadaPichanaResidualMember 2021-01-01 2021-12-31 0000904851 ypf:TecpetrolMember ypf:AguaragueMember 2021-01-01 2021-12-31 0000904851 ypf:EnapSipetrolArgentinaMember ypf:Cam2aSurMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:CampamentoCentralCanadonPerdidoMember 2021-01-01 2021-12-31 0000904851 ypf:PluspetrolEnergyMember ypf:ConsorcioCnq7aMember 2021-01-01 2021-12-31 0000904851 ypf:TecpetrolMember ypf:ElTordilloMember 2021-01-01 2021-12-31 0000904851 ypf:TecpetrolMember ypf:LaTaperaAndPuestoQuirogaMember 2021-01-01 2021-12-31 0000904851 ypf:PanAmericanEnergyMember ypf:LinderoAtravesadoMember 2021-01-01 2021-12-31 0000904851 ypf:EnapSipetrolArgentinaMember ypf:MagallanesMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:LomaCampanaMember 2021-01-01 2021-12-31 0000904851 ypf:PluspetrolEnergyMember ypf:RamosMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:RinconDelMangrulloMember 2021-01-01 2021-12-31 0000904851 ypf:TotalAustralMember ypf:SanRoqueMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:YacimientoLaVentanaRioTunuyanMember 2021-01-01 2021-12-31 0000904851 ypf:ZampalOesteMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:NarambuenaMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:LaAmargaChicaMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:ElOrejanoMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:BajoDelToroMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:BandurriaSurMember 2021-01-01 2021-12-31 0000904851 ypf:PanAmericanEnergyMember ypf:AguadaDeCastroAndAguadaPichanaOesteMember 2021-01-01 2021-12-31 0000904851 ypf:CerroLasMinasMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:LasTacanasMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:RioNeuqunMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:ChachahuenMember 2021-01-01 2021-12-31 0000904851 ypf:ExxonMobilExplorationArgentinaMember ypf:PampaYeguasIMember 2021-01-01 2021-12-31 0000904851 ypf:ExxonMobilExplorationArgentinaMember ypf:LomaDelMolleMember 2021-01-01 2021-12-31 0000904851 ypf:Can100Member 2021-01-01 2021-12-31 0000904851 ypf:PluspetrolEnergyMember ypf:LaCaleraMember 2021-01-01 2021-12-31 0000904851 ypf:OgDevelopmentsLtdMember ypf:BajadaAeloMember 2021-01-01 2021-12-31 0000904851 ypf:CapexMember ypf:LaYeseraMember 2021-01-01 2021-12-31 0000904851 ypf:AcambucoMember ypf:JOMember ypf:PanAmericanEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:AguadaPichanaAreaVacaMuertaMember ypf:JOMember ypf:TotalAustralMember 2021-01-01 2021-12-31 0000904851 ypf:AguadaPichanaResidualMember ypf:JOMember ypf:TotalAustralMember 2021-01-01 2021-12-31 0000904851 ypf:JOMember ypf:TecpetrolMember ypf:AguaragueMember 2021-01-01 2021-12-31 0000904851 ypf:Cam2aSurMember ypf:JOMember ypf:EnapSipetrolArgentinaMember 2021-01-01 2021-12-31 0000904851 ypf:CampamentoCentralCanadonPerdidoMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:ConsorcioCnq7aMember ypf:JOMember ypf:PluspetrolEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:ElTordilloMember ypf:JOMember ypf:TecpetrolMember 2021-01-01 2021-12-31 0000904851 ypf:LaTaperaAndPuestoQuirogaMember ypf:JOMember ypf:TecpetrolMember 2021-01-01 2021-12-31 0000904851 ypf:LinderoAtravesadoMember ypf:JOMember ypf:PanAmericanEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:MagallanesMember ypf:JOMember ypf:EnapSipetrolArgentinaMember 2021-01-01 2021-12-31 0000904851 ypf:LomaCampanaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:RamosMember ypf:JOMember ypf:PluspetrolEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:RinconDelMangrulloMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:SanRoqueMember ypf:JOMember ypf:TotalAustralMember 2021-01-01 2021-12-31 0000904851 ypf:YacimientoLaVentanaRioTunuyanMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:ZampalOesteMember ypf:JOMember 2021-01-01 2021-12-31 0000904851 ypf:NarambuenaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:LaAmargaChicaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:ElOrejanoMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:BajoDelToroMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:BandurriaSurMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:AguadaDeCastroAndAguadaPichanaOesteMember ypf:JOMember ypf:PanAmericanEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:CerroLasMinasMember ypf:JOMember 2021-01-01 2021-12-31 0000904851 ypf:LasTacanasMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:RioNeuqunMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:ChachahuenMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2021-01-01 2021-12-31 0000904851 ypf:PampaYeguasIMember ypf:JOMember ypf:ExxonMobilExplorationArgentinaMember 2021-01-01 2021-12-31 0000904851 ypf:LomaDelMolleMember ypf:JOMember ypf:ExxonMobilExplorationArgentinaMember 2021-01-01 2021-12-31 0000904851 ypf:Can100Member ypf:JOMember 2021-01-01 2021-12-31 0000904851 ypf:LaCaleraMember ypf:JOMember ypf:PluspetrolEnergyMember 2021-01-01 2021-12-31 0000904851 ypf:BajadaAeloMember ypf:JOMember ypf:OgDevelopmentsLtdMember 2021-01-01 2021-12-31 0000904851 ypf:LaYeseraMember ypf:JOMember ypf:CapexMember 2021-01-01 2021-12-31 0000904851 ypf:CapexSAMetroholdingSAAndCorporationFinanceriaInternacionalMember ypf:LomaNegraMember 2021-01-01 2021-12-31 0000904851 ypf:CurrentLiabilitiesMember ypf:AccountsPayable1Member ypf:OtherForeignCurrenciesMember ypf:PoundSterlingToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:JapaneseYenToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:NonCurrentAssetsMember ypf:InvestmentMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ifrs-full:TradeReceivablesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:NonCurrentLiabilitiesMember ypf:ProvisionsMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:NonCurrentLiabilitiesMember ypf:Loans1Member 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:IncomeTaxMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:TaxPayableMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:TaxPayableMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:SalariesAndSocialSecurityMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:SalariesAndSocialSecurityMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:Loans1Member 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SwissFrancToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:AccountsPayable1Member 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BrazilianRealToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:AccountsPayable1Member 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:EuroToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:Loans1Member ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:Loans1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ifrs-full:LeaseLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:SalariesAndSocialSecurityMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:TaxPayableMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember ypf:ProvisionsMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:CurrentLiabilitiesMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:ProvisionsMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:CashAndCashEquivalentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:PoundSterlingToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:EuroToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ypf:OtherReceivablesMember ypf:BolivianPesoToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ifrs-full:TradeReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ifrs-full:TradeReceivablesMember ypf:CurrentAssetsMember ypf:ChileanPesoToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:CurrentAssetsMember ypf:InvestmentMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:EuroToArgentinePesoExchangeRateMember ypf:CurrentAssetsMember ifrs-full:TradeReceivablesMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignCurrenciesMember ypf:NonCurrentAssetsMember ypf:OtherReceivablesMember ypf:UsDollarToArgentinePesoExchangeRateMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:AccountsPayable1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:Loans1Member ypf:UsDollarToArgentinePesoExchangeRateMember ypf:OtherForeignCurrenciesMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentLiabilitiesMember ypf:UsDollarToArgentinePesoExchangeRateMember ifrs-full:LeaseLiabilitiesMember ypf:OtherForeignCurrenciesMember 2021-01-01 2021-12-31 0000904851 ypf:Resolution46ProgramMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:NineteenNinetyEightMember 2021-01-01 2021-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ypf:NegotiableObligationsMember ypf:ClassTwentyEightMember ifrs-full:FixedInterestRateMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandFourteenSeptemberMember ypf:ClassThirtyFourMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyNineMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandFifteenOctoberMember ypf:ClassFortyThreeMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandSeventeenMayMember ypf:ClassFiftyTwoMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandSeventeenDecemberMember ypf:ClassFiftyFourMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassTwelveMember ypf:TwoThousandTwentyJuneMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:ClassFiftyThreeMember ypf:TwoThousandSeventeenJulyAndDecemberMember ypf:NegotiableObligationsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandNineteenJuneMember ypf:ClassOneMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyJulyMember ypf:ClassThirteenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember ypf:ClassFourteenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSixteenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSeventeenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassEighteenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassNineteenMember 2021-01-01 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:TwoThousandTwentyOneJulyMember ypf:ClassTwentyMember 2021-01-01 2021-12-31 0000904851 ypf:MetrogasMember 2021-01-01 2021-12-31 0000904851 ypf:RestOfAssetsMember country:AR 2021-01-01 2021-12-31 0000904851 ypf:QuotasAndEquityInterestsMember country:AR 2021-01-01 2021-12-31 0000904851 ypf:RealEstateClassifiedAsInventoriesMember country:AR 2021-01-01 2021-12-31 0000904851 ypf:RealEstateNotClassifiedAsInventoriesMember country:AR 2021-01-01 2021-12-31 0000904851 dei:AdrMember 2021-01-01 2021-12-31 0000904851 ypf:CguGasAustralBasinMember 2021-01-01 2021-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:GasStationsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ypf:GasStationsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember 2021-01-01 2021-12-31 0000904851 ypf:ClassDSharesMember 2021-01-01 2021-12-31 0000904851 ypf:CompaniaDeHidrocarburoNoConvencionaLsrlChncMember 2021-01-01 2021-12-31 0000904851 ypf:NegotiableObligationsMember 2021-01-01 2021-12-31 0000904851 ypf:AdministracionFederalDeIngresosPublicosMember 2021-01-01 2021-12-31 0000904851 dei:BusinessContactMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonDistributionMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ClassXivNosMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonDistributionMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:LNGMember 2021-01-01 2021-12-31 0000904851 ypf:UnconventionalGasMember 2021-01-01 2021-12-31 0000904851 ypf:CompaniaDeDesarrolloNoConvencionalSRLMember 2021-01-01 2021-12-31 0000904851 ypf:CrudeOilAndNaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:OPESSAMember 2021-01-01 2021-12-31 0000904851 ypf:RemainingLeaseCommitmentsMember 2019-01-01 0000904851 ypf:CguGasNeuquinaBasinMember 2020-04-01 2020-06-30 0000904851 ypf:CguGasAustralBasinMember 2020-04-01 2020-06-30 0000904851 ypf:CguGasNeuquinaBasinMember 2020-10-01 2020-12-31 0000904851 ypf:CguGasAustralBasinMember 2020-10-01 2020-12-31 0000904851 ypf:CtebMember 2019-05-29 0000904851 ypf:CtebMember srt:ScenarioForecastMember 2021-11-29 0000904851 ypf:IeasaMember ypf:CtebMember 2019-06-26 2019-06-26 0000904851 ypf:CtebMember 2019-06-26 2019-06-26 0000904851 ypf:UnconventionalGasMember 2018-01-01 2018-12-31 0000904851 ypf:ClassxiiiNoMember 2020-08-31 0000904851 ypf:AdministracionFederalDeIngresosPublicosMember 2020-11-30 2020-11-30 0000904851 ypf:FrequentIssuerRegimeMember 2021-01-07 0000904851 ypf:NegotiableObligationsMember ypf:DebtExchangeMember ypf:ClassXviMember 2021-01-07 0000904851 ypf:CurrencyUsMember ypf:ClassxlviiNoMember 2016-03-23 2016-03-23 0000904851 ypf:CurrencyUsMember ypf:ClassxlviiNoMember 2016-03-23 0000904851 ypf:CurrencyUsMember ypf:ClassxiiiNoMember 2020-07-02 2020-07-02 0000904851 ypf:CurrencyUsMember ypf:ClassxiiiNoMember ifrs-full:TopOfRangeMember 2020-07-02 0000904851 ypf:CurrencyUsMember ypf:ClassxiiiNoMember 2020-07-02 0000904851 ypf:CurrencyUsMember ypf:ClassxlviiNoMember 2020-07-02 0000904851 ypf:ClassxiiiNoMember 2020-07-13 2020-07-13 0000904851 ypf:ClassxiiiNoMember ifrs-full:TopOfRangeMember 2020-07-13 0000904851 ypf:ClassxiiiNoMember 2020-07-13 0000904851 ypf:ClassxlviiNoMember 2020-07-31 2020-07-31 0000904851 ypf:ClassxiiiNoMember 2020-07-31 2020-07-31 0000904851 ypf:ClassxlviiNoMember 2020-07-31 0000904851 ifrs-full:FixedInterestRateMember 2020-07-31 0000904851 ypf:RepsolSAMember 2012-05-04 2012-05-04 0000904851 ypf:PetersenEnergiaSauAndAffiliatesMember 2012-05-04 2012-05-04 0000904851 ypf:StateOrProvinceMember 2012-05-04 2012-05-04 0000904851 ypf:FederalGovernmentMember 2012-05-04 2012-05-04 0000904851 ypf:ExecutionOfLoanAgreementMember ypf:CorporacionAndinaDeFomentoMember 2022-01-27 0000904851 ypf:CorporacionAndinaDeFomentoMember ypf:TrancheALoanMember ypf:ExecutionOfLoanAgreementMember 2022-01-27 0000904851 ypf:TrancheBLoanMember ypf:CorporacionAndinaDeFomentoMember ypf:ExecutionOfLoanAgreementMember 2022-01-27 0000904851 ypf:ExecutionOfLoanAgreementMember ypf:CorporacionAndinaDeFomentoMember 2022-01-27 2022-01-27 0000904851 ypf:FeasibilityStudyAnd2016RodForTheEnvironmentalRemediationOfTheLower8.3MilesOfThePassaicRiverMemberMember 2016-03-04 2016-03-04 0000904851 ypf:RemovalActionNextToListerSiteMember ypf:UnitedStateEnvironmentalProtectionAgencyMember 2008-06-30 0000904851 ypf:RemovalActionNextToListerSiteMember ypf:UnitedStateEnvironmentalProtectionAgencyMember 2008-06-01 2008-06-30 0000904851 ypf:MaxusEntitiesMember ypf:FirstPhasesMember ypf:UnitedStateEnvironmentalProtectionAgencyMember 2008-06-01 2008-06-30 0000904851 ypf:SettllementAgreementMember 2013-12-31