20-F 1 d804823d20f.htm FORM 20-F Form 20-F
Table of Contents
falseFY0000904851truetrueC1Corresponds to adjustment for inflation of opening balances of inventories of subsidiaries with the peso as functional currency, which was charged to “Other comprehensive income” in the statement of comprehensive income.See Note 26.Corresponds to adjustment for inflation of opening balances of intangible assets of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income.Includes 70 restricted to the distribution of retained earnings. See Note 30.Does not include the provision for other doubtful receivables.Does not include the provision for doubtful trade receivables.Net of employees’ income tax withholdings related to the share-based benefit plans.Includes 68 restricted to the distribution of retained earnings.See Note 37.The main investing and financing transactions that have not affected cash and cash equivalents correspond to:Result associated to subsidiaries, associates and joint ventures with the peso as functional currency, see Note 2.b.1).On August 11, 2023, by Decree No. 1,529/2023, the Province of Neuquén approved the agreement for the exchange of interest in exploitation concessions between YPF, Total Austral S.A. and Pan American Energy LLC, through which YPF increased its interest in Aguada Pichana Oeste by 10% and reduced its interest in Aguada Pichana Este by 5.6%.Includes 19 corresponding to the adjustment for inflation of the fiscal year and (41) corresponding to the effect of the translation.See Note 21.As decided in Shareholders’ Meeting of April 28, 2023.Corresponds to adjustment for inflation of opening balances of the provision for impairment of property, plant and equipment of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income.Includes 75 and 104 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.Includes 23 corresponding to research and development activities.Includes the accrual of financial interest corresponding to the recognition of the dispute relating to the tax deduction of hydrocarbon wells abandonment costs for periods 2014-2017.Includes 30 corresponding to the recovery of liabilities for the regularization regimes associated with the dispute relating to the cost deduction for hydrocarbon wells abandonment for periods 2014-2017. See Note 16.a.5).Includes 27 corresponding to research and development activities.Includes 22 reclassified as “Income tax liability” in the statement of financial position for the regularization regimes associated with the dispute relating to the tax deduction of hydrocarbon well abandonment costs for periods 2014-2017. See Note 16.a.5).Includes 507, 268 and 32 corresponding to the annual recalculation of hydrocarbon wells abandonment cost for the years ended December 31, 2023, 2022 and 2021, respectively.Includes 134 reclassified as “Other liabilities” in the statement of financial position due to the settlement agreement entered with TGN and 286 reclassified as current Provision for lawsuits and contingencies due to the Trust Settlement Agreement. See Notes 16.a.2) and 32, respectively.Includes (1,431) 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 U.S. dollar and 937 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the peso as functional currency. See Note 2.b.1).As of December 31, 2023, 2022 and 2021, the cost of inventories does not exceed their net realizable value.Includes capitalized financial costs.Includes the adjustment for inflation of opening balances of loans of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income and the adjustment for inflation of the fiscal year, which was charged to net income in the statement of comprehensive income.See Note 24 for information about credits for contracts included in trade receivables.See Note 36 for information about related parties.Disclosed net of 3, 9 and 4 corresponding to YPF’s own NO repurchased through open market transactions, as of December 31, 2023, 2022 and 2021, respectively.Includes 1,327, 523 and 602 as of December 31, 2023, 2022 and 2021, respectively, of nominal value that will be canceled in pesos at the applicable exchange rate in accordance with the terms of the series issued.See Note 34.b).Includes (1,873) 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 U.S. dollar and 1,189 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the peso as functional currency. See Note 2.b.1).Includes (1,237) 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 U.S. dollar and 673 corresponding to the recognition of the result for the net monetary position of subsidiaries, associates and joint ventures with the peso as functional currency. See Note 2.b.1).Included in “Depreciation of property, plant and equipment” in Note 26.Includes 19 corresponding to research and development activities.Includes 206 corresponding to export withholdings and 450 corresponding to turnover tax.Includes 40 and 58 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.See Note 6.Includes balances granted as collateral. See Note 34.e).Includes 727 of BCRA bills as of December 31, 2023. Additionally, it includes 45 and 10 of term deposits and other investments with the BNA as of December 31, 2023 and 2021, respectively.Includes 89 corresponding to export withholdings and 541 corresponding to turnover tax.Includes 251 corresponding to export withholdings and 567 corresponding to turnover tax.Includes 63 and 104 corresponding to short-term leases and to the lease charge related to the underlying asset performance and/or use, respectively.Includes the adjustment for inflation of opening balances of provisions of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income and the adjustment for inflation of the fiscal year, which was charged to net income in the statement of comprehensive income.Includes 18 corresponding to Productive Recovery Program II (“REPRO II”) in benefit of OPESSA. See Note 36.Includes 85 and 2 as of December 31, 2023 and 2021, respectively, of pre-financing of exports granted by BNA, which accrue a 1.90% fixed interest rate as of December 31, 2023 and a 5.50% weighted average rate as of December 31, 2021.Includes 45 as of December 31, 2021, of nominal value that were canceled in U.S. dollars at the applicable exchange rate according to the conditions of the issued series.Nominal annual interest rate as of December 31, 2023.Includes the payment of the amount for the Trust Settlement Agreement. See Note 32.As decided in Shareholders’ Meeting of April 30, 2021.Does not include the effect of changes in exchange rates generated by cash and cash equivalents, which is exposed separately in this statement.Includes 193, 175 and 119 for the fiscal year ended December 31, 2023, 2022 and 2021, respectively, for payment of short-term leases and payments of the variable charge of leases related to the underlying asset performance and/or use.As decided in Shareholders’ Meeting of April 29, 2022.See Note 36.Corresponds to term deposits with the BNA.See Note 35.g). 0000904851 2023-01-01 2023-12-31 0000904851 2022-01-01 2022-12-31 0000904851 2021-01-01 2021-12-31 0000904851 2021-12-31 0000904851 2022-12-31 0000904851 2023-12-31 0000904851 2020-04-29 2020-04-29 0000904851 2018-06-30 0000904851 2023-11-03 2023-11-03 0000904851 2020-07-31 2020-07-31 0000904851 2021-11-11 2021-11-11 0000904851 2018-01-01 2018-12-31 0000904851 2019-01-01 2019-12-31 0000904851 2020-01-01 2020-12-31 0000904851 2020-08-26 2020-08-26 0000904851 2023-09-30 0000904851 2022-08-16 2022-08-16 0000904851 2023-02-09 2023-02-09 0000904851 2020-12-31 0000904851 ypf:CguGasAustralBasinMember 2022-10-01 2022-12-31 0000904851 ypf:ExtensionOfExploitationConcessionsMember ypf:MemorandumOfAgreementMember ypf:AguaragueMember 2023-02-03 2023-02-03 0000904851 ypf:MaxusEnergyCorporationLiquidatingTrustMember 2018-06-14 0000904851 ypf:MaxusEntitiesMember 2016-06-17 2016-06-17 0000904851 ypf:MaxusEntitiesMember ypf:DebtorInPossessionLoanMember ypf:YPFHoldingsMember 2016-06-17 2016-06-17 0000904851 ypf:ChapterElevenPlanOfLiquidationMember 2016-12-29 2016-12-29 0000904851 ifrs-full:TopOfRangeMember ypf:SettllementAgreementMember 2014-12-16 2014-12-16 0000904851 ypf:MaxusEntitiesMember ypf:SettllementAgreementMember 2014-12-16 2014-12-16 0000904851 ypf:NewJerseyCourtApprovedTheSettlementAgreementMember ifrs-full:TopOfRangeMember 2013-12-31 2013-12-31 0000904851 ypf:MaxusEntitiesMember ypf:ComplianceWithTheSettlementAgreementMember 2014-02-10 2014-02-10 0000904851 ypf:NewJerseyCourtApprovedTheSettlementAgreementMember ifrs-full:BottomOfRangeMember 2014-02-10 2014-02-10 0000904851 ypf:SettllementAgreementMember 2013-12-31 0000904851 ypf:RepsolSAMember 2012-05-04 2012-05-04 0000904851 ypf:PetersenEnergiaSauAndAffiliatesMember 2012-05-04 2012-05-04 0000904851 ypf:FederalGovernmentMember 2012-05-04 2012-05-04 0000904851 ypf:StateOrProvinceMember 2012-05-04 2012-05-04 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassxlviiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassxxviiiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassxiiiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassxxxixMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassliiiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClassiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorDebtSwapMember ypf:ClasslivMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorIssuanceOfNegotiableObligationsMember ypf:ClassXviiiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorIssuanceOfNegotiableObligationsMember ypf:ClassXviiMember 2021-02-12 0000904851 ypf:NegotiableObligationsMember ypf:MajorIssuanceOfNegotiableObligationsMember ypf:ClassXviMember 2021-02-12 0000904851 ypf:ClassxlviiMember ypf:DebtExchangeMember ypf:NegotiableObligationsMember ifrs-full:TopOfRangeMember 2021-02-11 0000904851 ypf:ClassxlviiMember ypf:DebtExchangeMember ypf:NegotiableObligationsMember ifrs-full:BottomOfRangeMember 2021-02-11 0000904851 ypf:ClassxlviiMember ypf:DebtExchangeMember ypf:NegotiableObligationsMember 2021-02-11 0000904851 ypf:NegotiableObligationsMember ypf:DebtExchangeMember ypf:ClassXviMember 2021-01-07 0000904851 ypf:NegotiableObligationsMember ypf:DebtExchangeMember ifrs-full:TopOfRangeMember 2021-01-07 2021-01-07 0000904851 ypf:NegotiableObligationsMember ypf:DebtExchangeMember ifrs-full:BottomOfRangeMember 2021-01-07 2021-01-07 0000904851 ifrs-full:ParentMember ypf:OrganismoProvincialParaElDesarrolloSostenibleMember 2011-01-25 2011-01-25 0000904851 ypf:OrganismoProvincialParaElDesarrolloSostenibleMember ifrs-full:ParentMember ifrs-full:BottomOfRangeMember 2011-01-25 2011-01-25 0000904851 ypf:OrganismoProvincialParaElDesarrolloSostenibleMember ifrs-full:ParentMember ifrs-full:TopOfRangeMember 2011-01-25 2011-01-25 0000904851 ypf:ComisionNacionalDeLaDefensaLaCompetenciaMember 2015-12-28 2015-12-28 0000904851 ypf:AguaragueMember ypf:MemorandumOfAgreementMember ypf:ExtensionOfExploitationConcessionsMember 2023-02-03 0000904851 ypf:SettlementAgreementForTheAmountPayableInFourInstalmentsMember ypf:TransportadoraDeGasDelNorteSaMember ifrs-full:EnteringIntoSignificantCommitmentsOrContingentLiabilitiesMember 2023-02-03 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2022-02-16 2022-02-16 0000904851 ypf:TransportadoraDeGasDelNorteSaMember ifrs-full:TopOfRangeMember 2022-02-16 2022-02-16 0000904851 ypf:TransportadoraDeGasDelNorteSaMember ifrs-full:BottomOfRangeMember 2022-02-16 2022-02-16 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2010-12-06 2011-01-04 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2010-07-20 2010-11-20 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2009-04-20 2010-06-20 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2007-02-20 2009-03-20 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2019-02-01 2019-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2019-02-01 2019-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2018-01-02 2018-01-02 0000904851 ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2017-12-04 0000904851 ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2017-12-04 0000904851 ypf:TransportadoraDeGasDelMercosurSAMember ifrs-full:ParentMember 2017-01-10 2017-01-10 0000904851 ypf:StimulusProgramForInvestmentsInNaturalGasProductionDevelopmentsFromUnconventionalReservoirsMember 2019-01-01 2019-12-31 0000904851 ypf:CDSMember 2023-01-01 2023-12-31 0000904851 ypf:ExplorationExpensesMember 2023-01-01 2023-12-31 0000904851 ypf:SellingExpensesMember 2023-01-01 2023-12-31 0000904851 ypf:AdministrativeExpensesMember 2023-01-01 2023-12-31 0000904851 ypf:ProductionCostsMember 2023-01-01 2023-12-31 0000904851 ypf:InternationalMarketMember 2023-01-01 2023-12-31 0000904851 ypf:DomesticMarketMember 2023-01-01 2023-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2023-01-01 2023-12-31 0000904851 ypf:RetirementPlanMember 2023-01-01 2023-12-31 0000904851 ypf:CrudeOil1Member 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasMember 2023-01-01 2023-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2023-01-01 2023-12-31 0000904851 ypf:MetrogasMember 2023-01-01 2023-12-31 0000904851 ypf:YTECMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasLiquidsMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandEighteenToTwoThousandTwentyOneMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2023-01-01 2023-12-31 0000904851 ypf:cMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GuaranteesMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember currency:ARS 2023-01-01 2023-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:AccountOverdraftMember currency:ARS 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:Loans1Member srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:Loans1Member srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2023-01-01 2023-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2023-01-01 2023-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2023-01-01 2023-12-31 0000904851 ypf:NegativeVariationImpactOnProfitOrLossBeforeIncomeTaxMember ypf:PriceRiskMember 2023-01-01 2023-12-31 0000904851 ypf:PositiveVariationImpactOnProfitOrLossBeforeIncomeTaxMember ypf:PriceRiskMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 currency:USD ifrs-full:CurrencyRiskMember ypf:NegativeVariationImpactOnNetIncomeCorrespondingToFinancialAssetsAndLiabilitiesMember 2023-01-01 2023-12-31 0000904851 currency:USD ifrs-full:CurrencyRiskMember ypf:PositiveVariationImpactOnNetIncomeCorrespondingToFinancialAssetsAndLiabilitiesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2023-01-01 2023-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2023-01-01 2023-12-31 0000904851 country:AR 2023-01-01 2023-12-31 0000904851 ypf:WorldwideMember 2023-01-01 2023-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanFiveYearsMember ypf:ExplorationWellMember 2023-01-01 2023-12-31 0000904851 ypf:PositiveVariationImpactOnNetIncomeCorrespondingToFinancialAssetsAndLiabilitiesMember ifrs-full:CurrencyRiskMember 2023-01-01 2023-12-31 0000904851 ypf:NegativeVariationImpactOnNetIncomeCorrespondingToFinancialAssetsAndLiabilitiesMember ifrs-full:CurrencyRiskMember 2023-01-01 2023-12-31 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2023-01-01 2023-12-31 0000904851 ypf:ShareholdersContributionMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ServiceConcessionRightsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherIntangibleAssetsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:OtherIntangibleAssetsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:ServiceConcessionRightsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:NegativeVariationImpactOnNetIncomeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:PositiveVariationImpactOnNetIncomeMember 2023-01-01 2023-12-31 0000904851 ypf:OilAndCondensateMember 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasMember 2023-01-01 2023-12-31 0000904851 ypf:OilEquivalentMember 2023-01-01 2023-12-31 0000904851 ypf:OtherForeignMember 2023-01-01 2023-12-31 0000904851 ypf:InvestmentPromotionRegimeForTheExploitationOfHydrocarbonsDecreeNo.9292013Member 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2023-01-01 2023-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2023-01-01 2023-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:SustentatorSaMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:MEGAMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2023-01-01 2023-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YPFEEMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OLCLPMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-01-01 2023-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointOperationsMember 2023-01-01 2023-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandAndTwentyTwoToTwentyFiveMember 2023-01-01 2023-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2023-01-01 2023-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2023-01-01 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OTAMember 2023-01-01 2023-12-31 0000904851 ypf:OTCMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-01-01 2023-12-31 0000904851 ypf:NonCurrentMember 2023-01-01 2023-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2023-01-01 2023-12-31 0000904851 ypf:NonCurrentMember ypf:ProvisionForEnvironmentalLiabilitiesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:CurrentMember 2023-01-01 2023-12-31 0000904851 ypf:NonCurrentMember ifrs-full:OtherContingentLiabilitiesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:CurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2023-01-01 2023-12-31 0000904851 ifrs-full:CurrentMember 2023-01-01 2023-12-31 0000904851 ypf:NonCurrentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2023-01-01 2023-12-31 0000904851 ypf:ShareTradingPremiumMember 2023-01-01 2023-12-31 0000904851 ifrs-full:IssuedCapitalMember 2023-01-01 2023-12-31 0000904851 ifrs-full:TreasurySharesMember 2023-01-01 2023-12-31 0000904851 ypf:OilEquivalentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2023-01-01 2023-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2023-01-01 2023-12-31 0000904851 ypf:ProvinceOfNeuquenMember ypf:NarambuenaExplorationProjectAreaMember 2023-01-01 2023-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2023-01-01 2023-12-31 0000904851 ypf:YPFEEMember 2023-01-01 2023-12-31 0000904851 ypf:OtherSalesChannelsMember 2023-01-01 2023-12-31 0000904851 ypf:UpstreamMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:AgricultureMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:CommercializationOfLiquefiedPetroleumGasMember 2023-01-01 2023-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:CentralAdministrationAndOthersMember 2023-01-01 2023-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2023-01-01 2023-12-31 0000904851 ypf:UpstreamMember ypf:OtherSalesChannelsMember 2023-01-01 2023-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:OtherSalesChannelsMember ypf:GasAndPowerMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:TradingMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerMember ypf:DistributionCompaniesMember 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerMember 2023-01-01 2023-12-31 0000904851 ypf:GasStationsMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:GasStationsMember 2023-01-01 2023-12-31 0000904851 ypf:PowerPlantsMember 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerMember ypf:PowerPlantsMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:PowerPlantsMember 2023-01-01 2023-12-31 0000904851 ypf:PetrochemicalIndustryMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:OilCompaniesMember 2023-01-01 2023-12-31 0000904851 ypf:OilCompaniesMember 2023-01-01 2023-12-31 0000904851 ypf:DistributionCompaniesMember 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerMember ypf:RetailDistributionOfNaturalGasMember 2023-01-01 2023-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2023-01-01 2023-12-31 0000904851 ypf:GasAndPowerMember ypf:IndustriesTransportAndAviationMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:IndustriesTransportAndAviationMember 2023-01-01 2023-12-31 0000904851 ypf:PetrochemicalIndustryMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:TradingMember 2023-01-01 2023-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2023-01-01 2023-12-31 0000904851 ypf:AgricultureMember 2023-01-01 2023-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2023-01-01 2023-12-31 0000904851 ypf:ENARSAMember 2023-01-01 2023-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2023-01-01 2023-12-31 0000904851 ypf:AFIPMember 2023-01-01 2023-12-31 0000904851 ypf:AerolineasArgentinasSAOneMember 2023-01-01 2023-12-31 0000904851 ypf:CammesaMember 2023-01-01 2023-12-31 0000904851 ypf:ENARSAOneMember 2023-01-01 2023-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2023-01-01 2023-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2023-01-01 2023-12-31 0000904851 ypf:CammesaOneMember 2023-01-01 2023-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2023-01-01 2023-12-31 0000904851 ypf:MinistryOfTransportMember 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:DieselMember 2023-01-01 2023-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:CentralAdministrationAndOthersMember 2023-01-01 2023-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:GasAndPowerMember 2023-01-01 2023-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasMember ypf:GasAndPowerMember 2023-01-01 2023-12-31 0000904851 ypf:FuelOilMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:LubricantsAndByproductsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:LubricantsAndByproductsMember 2023-01-01 2023-12-31 0000904851 ypf:LiquefiedPetroleumGasMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2023-01-01 2023-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2023-01-01 2023-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2023-01-01 2023-12-31 0000904851 ypf:FloursOilsAndGrainsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2023-01-01 2023-12-31 0000904851 ypf:JetFuelMember 2023-01-01 2023-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2023-01-01 2023-12-31 0000904851 ypf:IncomeFromServicesMember 2023-01-01 2023-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2023-01-01 2023-12-31 0000904851 ypf:VirginNaphthaMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:FuelOilMember 2023-01-01 2023-12-31 0000904851 ypf:PetrochemicalsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember ypf:GasAndPowerMember 2023-01-01 2023-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2023-01-01 2023-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:UpstreamMember 2023-01-01 2023-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:AsphaltsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:AsphaltsMember 2023-01-01 2023-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:IncomeFromServicesMember 2023-01-01 2023-12-31 0000904851 ypf:DieselMember 2023-01-01 2023-12-31 0000904851 ypf:GasolinesMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:GasolinesMember 2023-01-01 2023-12-31 0000904851 ypf:VirginNaphthaMember 2023-01-01 2023-12-31 0000904851 ypf:PetroleumCokeMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:PetrochemicalsMember 2023-01-01 2023-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:IncomeFromConstructionContractsMember ypf:CentralAdministrationAndOthersMember 2023-01-01 2023-12-31 0000904851 ypf:PetroleumCokeMember 2023-01-01 2023-12-31 0000904851 ypf:JetFuelMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 srt:CrudeOilMember 2023-01-01 2023-12-31 0000904851 srt:CrudeOilMember ypf:DownstreamMember 2023-01-01 2023-12-31 0000904851 ypf:NaturalGasMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2023-01-01 2023-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:AESAMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:MetrogasMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YPFChileMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YTECMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2023-01-01 2023-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ypf:CTBarraganMember ifrs-full:JointVenturesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YPFInternacionalMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:YPFHoldingsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:SubsidiariesMember ypf:OPESSAMember 2023-01-01 2023-12-31 0000904851 ypf:MagallanesMember ypf:EnapSipetrolArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:Mlo123Member ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:NarambuenaMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:PampaYeguasIMember ypf:ExxonMobilExplorationArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:RinconDelMangrulloMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:RioNeuqunMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:AcambucoMember ypf:PanAmericanEnergyMember 2023-01-01 2023-12-31 0000904851 ypf:CampamentoCentralCanadonPerdidoMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:Can114Member ypf:EquinorArgentinaAsMember 2023-01-01 2023-12-31 0000904851 ypf:Can102Member ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:Can100Member ypf:EquinorArgentinaBvMember 2023-01-01 2023-12-31 0000904851 ypf:Cam2aSurMember ypf:EnapSipetrolArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:LaAmargaChicaMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:LomaCampanaMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:ElTordilloMember ypf:TecpetrolMember 2023-01-01 2023-12-31 0000904851 ypf:ElOrejanoMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:ConsorcioCnq7aMember ypf:PluspetrolEnergySAMember 2023-01-01 2023-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:ChachahuenMember 2023-01-01 2023-12-31 0000904851 ypf:LaCaleraMember ypf:PluspetrolEnergySAMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaDeCastroAndAguadaPichanaOesteMember ypf:PanAmericanEnergyMember 2023-01-01 2023-12-31 0000904851 ypf:LaTaperaAndPuestoQuirogaMember ypf:TecpetrolMember 2023-01-01 2023-12-31 0000904851 ypf:LasTacanasMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:PluspetrolEnergySAMember ypf:RamosMember 2023-01-01 2023-12-31 0000904851 ypf:LinderoAtravesadoMember ypf:PanAmericanEnergyMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaPichanaAreaVacaMuertaMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaPichanaResidualMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:AguaragueMember ypf:TecpetrolMember 2023-01-01 2023-12-31 0000904851 ypf:BajadaAeloMember ypf:OgDevelopmentsLtdMember 2023-01-01 2023-12-31 0000904851 ypf:BajoDelToroMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:BandurriaSurMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:LomaDelMolleMember ypf:ExxonMobilExplorationArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:SanRoqueMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:YacimientoLaVentanaRioTunuyanMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaDeCastroAndAguadaPichanaOesteMember ypf:PanAmericanEnergyMember ypf:JOMember 2023-01-01 2023-12-31 0000904851 ypf:JOMember ypf:LaTaperaAndPuestoQuirogaMember ypf:TecpetrolMember 2023-01-01 2023-12-31 0000904851 ypf:NarambuenaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:TotalAustralMember ypf:JOMember ypf:Mlo123Member 2023-01-01 2023-12-31 0000904851 ypf:PampaYeguasIMember ypf:JOMember ypf:ExxonMobilExplorationArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:BajoDelToroMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:BajadaAeloMember ypf:JOMember ypf:OgDevelopmentsLtdMember 2023-01-01 2023-12-31 0000904851 ypf:AguaragueMember ypf:TecpetrolMember ypf:JOMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaPichanaResidualMember ypf:JOMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:AguadaPichanaAreaVacaMuertaMember ypf:JOMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:LasTacanasMember ypf:YacimientosPetroliferosFiscalesMember ypf:JOMember 2023-01-01 2023-12-31 0000904851 ypf:JOMember ypf:RamosMember ypf:PluspetrolEnergySAMember 2023-01-01 2023-12-31 0000904851 ypf:ElTordilloMember ypf:JOMember ypf:TecpetrolMember 2023-01-01 2023-12-31 0000904851 ypf:ElOrejanoMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:AcambucoMember ypf:JOMember ypf:PanAmericanEnergyMember 2023-01-01 2023-12-31 0000904851 ypf:ExxonMobilExplorationArgentinaMember ypf:JOMember ypf:LomaDelMolleMember 2023-01-01 2023-12-31 0000904851 ypf:Can114Member ypf:JOMember ypf:EquinorArgentinaAsMember 2023-01-01 2023-12-31 0000904851 ypf:ChachahuenMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:SanRoqueMember ypf:JOMember ypf:TotalAustralMember 2023-01-01 2023-12-31 0000904851 ypf:YacimientoLaVentanaRioTunuyanMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:RioNeuqunMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:YacimientosPetroliferosFiscalesMember ypf:JOMember ypf:RinconDelMangrulloMember 2023-01-01 2023-12-31 0000904851 ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember ypf:Can102Member 2023-01-01 2023-12-31 0000904851 ypf:ConsorcioCnq7aMember ypf:JOMember ypf:PluspetrolEnergySAMember 2023-01-01 2023-12-31 0000904851 ypf:MagallanesMember ypf:JOMember ypf:EnapSipetrolArgentinaMember 2023-01-01 2023-12-31 0000904851 ypf:LomaCampanaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:LinderoAtravesadoMember ypf:JOMember ypf:PanAmericanEnergyMember 2023-01-01 2023-12-31 0000904851 ypf:LaCaleraMember ypf:JOMember ypf:PluspetrolEnergySAMember 2023-01-01 2023-12-31 0000904851 ypf:LaAmargaChicaMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:Can100Member ypf:JOMember ypf:EquinorArgentinaBvMember 2023-01-01 2023-12-31 0000904851 ypf:CampamentoCentralCanadonPerdidoMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:EnapSipetrolArgentinaMember ypf:JOMember ypf:Cam2aSurMember 2023-01-01 2023-12-31 0000904851 ypf:BandurriaSurMember ypf:JOMember ypf:YacimientosPetroliferosFiscalesMember 2023-01-01 2023-12-31 0000904851 ypf:ClassThirtyFourMember ypf:TwoThousandFourteenSeptemberMember ypf:BadlarVariableRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandSeventeenDecemberMember ypf:ClassFiftyFourMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassNineteenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSeventeenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassEighteenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeSeptemberMember ypf:ClassTwentySixMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeOctoberMember ypf:ClassTwentySevenMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandTwentyOneJulyMember ypf:ClassTwentyMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:ClassOneMember ypf:TwoThousandNineteenJuneMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:ClassThirteenMember ypf:TwoThousandTwentyJulyMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSixteenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ifrs-full:FixedInterestRateMember ypf:ClassTwentyEightMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeJanuaryMember ypf:ClassTwentyOneMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandTwentyThreeJanuaryAndTwoThousandTwentyThreeAprilMember ypf:ClassTwentyTwoMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeAprilMember ypf:ClassTwentyThreeMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeAprilMember ypf:ClassTwentyFourMember 2023-01-01 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeJuneMember ypf:ClassTwentyFiveMember 2023-01-01 2023-12-31 0000904851 ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyNineMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:ClassFiftyThreeMember ypf:TwoThousandSeventeenJulyAndDecemberMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-01-01 2023-12-31 0000904851 ypf:MetrogasMember 2023-01-01 2023-12-31 0000904851 dei:AdrMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:GasStationsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2023-01-01 2023-12-31 0000904851 ypf:GasStationsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:ExploitationFacilitiesAndEquipmentMember 2023-01-01 2023-12-31 0000904851 ypf:ExploitationFacilitiesAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-01-01 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2023-01-01 2023-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember 2023-01-01 2023-12-31 0000904851 ypf:ClassDSharesMember 2023-01-01 2023-12-31 0000904851 ypf:CompaniaDeHidrocarburoNoConvencionaLsrlChncMember 2023-01-01 2023-12-31 0000904851 dei:BusinessContactMember 2023-01-01 2023-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2023-01-01 2023-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2023-01-01 2023-12-31 0000904851 ypf:HydrocarbonDistributionMember 2023-01-01 2023-12-31 0000904851 ypf:ClassXVINOMember 2023-01-01 2023-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:HydrocarbonDistributionMember 2023-01-01 2023-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:HydrocarbonDistributionMember 2023-01-01 2023-12-31 0000904851 ypf:LNGMember 2023-01-01 2023-12-31 0000904851 ypf:CompaniaDeDesarrolloNoConvencionalSRLandCompaniaDeHidrocarburoNoConvencionalSRLMember 2023-01-01 2023-12-31 0000904851 ypf:SoybeanMember 2023-01-01 2023-12-31 0000904851 ypf:SoybeanByproductsMember 2023-01-01 2023-12-31 0000904851 ypf:CrudeOilAndNaturalGasMember 2023-01-01 2023-12-31 0000904851 ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:cMember 2023-01-01 2023-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:cMember 2023-01-01 2023-12-31 0000904851 ypf:UnappropriatedRetainedEarningsAndLossesMember 2023-01-01 2023-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2023-01-01 2023-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2023-01-01 2023-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2023-01-01 2023-12-31 0000904851 ypf:CguOilCguGasAustralBasinAndCguGasNeuquinaBasinMember 2023-01-01 2023-12-31 0000904851 ypf:ManantialesBehrAreaMember ypf:ProvinceOfChubutMember 2023-01-01 2023-12-31 0000904851 ypf:ProvinceOfChubutMember 2023-01-01 2023-12-31 0000904851 ypf:ProvinceOfChubutMember ypf:ElTrbolAreaMember 2023-01-01 2023-12-31 0000904851 ypf:ProvinceOfChubutMember ypf:RestingaAlAreaMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember 2023-01-01 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:BuildingsMember 2023-01-01 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:TopOfRangeMember 2023-01-01 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2023-01-01 2023-12-31 0000904851 ifrs-full:ForeignCountriesMember 2023-01-01 2023-12-31 0000904851 srt:EuropeMember 2023-01-01 2023-12-31 0000904851 ypf:GasStationsMember 2023-01-01 2023-12-31 0000904851 ypf:PermitsForTheUseOfPortsAndLandMember 2023-01-01 2023-12-31 0000904851 ypf:ExploitationEquipmentAndFacilitiesMember 2023-01-01 2023-12-31 0000904851 ypf:EquipmentForNaturalGasCompressionAndPowerGenerationMember 2023-01-01 2023-12-31 0000904851 ypf:RegasificationAndGasLiquefactionEquipmentMember 2023-01-01 2023-12-31 0000904851 ypf:VesselsAndBargesForHydrocarbonTransportationMember 2023-01-01 2023-12-31 0000904851 ypf:TruckFleetsMember 2023-01-01 2023-12-31 0000904851 ypf:ReservoirsAndInstallationsForTheUndergroundStorageOfNaturalGasMember 2023-01-01 2023-12-31 0000904851 ifrs-full:BottomOfRangeMember 2023-01-01 2023-12-31 0000904851 ypf:NationalGovernmentAndDirectAgenciesAccountsMember 2023-01-01 2023-12-31 0000904851 ypf:GolfoSanJorgeBasinMember 2023-01-01 2023-12-31 0000904851 ypf:SellingExpensesMember 2022-01-01 2022-12-31 0000904851 ypf:AdministrativeExpensesMember 2022-01-01 2022-12-31 0000904851 ypf:ProductionCostsMember 2022-01-01 2022-12-31 0000904851 ypf:ExplorationExpensesMember 2022-01-01 2022-12-31 0000904851 ypf:DomesticMarketMember 2022-01-01 2022-12-31 0000904851 ypf:InternationalMarketMember 2022-01-01 2022-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2022-01-01 2022-12-31 0000904851 ypf:RetirementPlanMember 2022-01-01 2022-12-31 0000904851 ypf:NaturalGasMember 2022-01-01 2022-12-31 0000904851 ypf:NaturalGasLiquidsMember 2022-01-01 2022-12-31 0000904851 ypf:CrudeOil1Member 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember ifrs-full:BottomOfRangeMember 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember ifrs-full:TopOfRangeMember 2022-01-01 2022-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2022-01-01 2022-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:FixturesAndFittingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MaterialsAndEquipmentInWarehouseMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OfficeEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:FixturesAndFittingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OilAndGasAssetsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploratoryDrillingInProgressMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2022-01-01 2022-12-31 0000904851 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OilAndGasAssetsMember 2022-01-01 2022-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2022-01-01 2022-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesMember 2022-01-01 2022-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandNineteenToTwoThousandTwentyTwoMember 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2022-01-01 2022-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2022-01-01 2022-12-31 0000904851 ypf:WorldwideMember 2022-01-01 2022-12-31 0000904851 country:AR 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2022-01-01 2022-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2022-01-01 2022-12-31 0000904851 ypf:ShareholdersContributionMember 2022-01-01 2022-12-31 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OfficeEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherIntangibleAssetsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:OtherIntangibleAssetsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:ServiceConcessionRightsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ServiceConcessionRightsMember 2022-01-01 2022-12-31 0000904851 ypf:AcquisitionCostOfTreasurySharesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:TreasurySharesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:IssuedCapitalMember 2022-01-01 2022-12-31 0000904851 ypf:OtherForeignMember 2022-01-01 2022-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2022-01-01 2022-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:MEGAMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:ProfertilMember 2022-01-01 2022-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OLCLPMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YPFEEMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-01-01 2022-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointOperationsMember 2022-01-01 2022-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2022-01-01 2022-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:CTBarraganMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2022-01-01 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OTAMember 2022-01-01 2022-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2022-01-01 2022-12-31 0000904851 ifrs-full:CurrentMember 2022-01-01 2022-12-31 0000904851 ypf:NonCurrentMember 2022-01-01 2022-12-31 0000904851 ypf:NonCurrentMember ifrs-full:OtherContingentLiabilitiesMember 2022-01-01 2022-12-31 0000904851 ypf:NonCurrentMember ypf:ProvisionForEnvironmentalLiabilitiesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:CurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2022-01-01 2022-12-31 0000904851 ypf:NonCurrentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:CurrentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MiningRightsMember 2022-01-01 2022-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2022-01-01 2022-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2022-01-01 2022-12-31 0000904851 ypf:NeuquinaBasinMember 2022-01-01 2022-12-31 0000904851 ypf:YPFEEMember 2022-01-01 2022-12-31 0000904851 ypf:OtherSalesChannelsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:PowerPlantsMember 2022-01-01 2022-12-31 0000904851 ypf:GasStationsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:PetrochemicalIndustryMember 2022-01-01 2022-12-31 0000904851 ypf:AgricultureMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:AgricultureMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerMember ypf:RetailDistributionOfNaturalGasMember 2022-01-01 2022-12-31 0000904851 ypf:DistributionCompaniesMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:OilCompaniesMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:TradingMember 2022-01-01 2022-12-31 0000904851 ypf:PetrochemicalIndustryMember 2022-01-01 2022-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerMember ypf:IndustriesTransportAndAviationMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:IndustriesTransportAndAviationMember 2022-01-01 2022-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2022-01-01 2022-12-31 0000904851 ypf:UpstreamMember ypf:OtherSalesChannelsMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerMember ypf:DistributionCompaniesMember 2022-01-01 2022-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2022-01-01 2022-12-31 0000904851 ypf:TradingMember 2022-01-01 2022-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:UpstreamMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:GasStationsMember 2022-01-01 2022-12-31 0000904851 ypf:PowerPlantsMember 2022-01-01 2022-12-31 0000904851 ypf:PowerPlantsMember ypf:GasAndPowerMember 2022-01-01 2022-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:OtherSalesChannelsMember 2022-01-01 2022-12-31 0000904851 ypf:GasAndPowerMember ypf:OtherSalesChannelsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:OtherSalesChannelsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:CommercializationOfLiquefiedPetroleumGasMember 2022-01-01 2022-12-31 0000904851 ypf:OilCompaniesMember 2022-01-01 2022-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2022-01-01 2022-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2022-01-01 2022-12-31 0000904851 ypf:ENARSAMember 2022-01-01 2022-12-31 0000904851 ypf:CammesaMember 2022-01-01 2022-12-31 0000904851 ypf:ENARSAOneMember 2022-01-01 2022-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2022-01-01 2022-12-31 0000904851 ypf:MinistryOfTransportMember 2022-01-01 2022-12-31 0000904851 ypf:AerolineasArgentinasSAOneMember 2022-01-01 2022-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2022-01-01 2022-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2022-01-01 2022-12-31 0000904851 ypf:AFIPMember 2022-01-01 2022-12-31 0000904851 ypf:SecretariatOfIndustryMember 2022-01-01 2022-12-31 0000904851 ypf:CammesaOneMember 2022-01-01 2022-12-31 0000904851 srt:CrudeOilMember 2022-01-01 2022-12-31 0000904851 srt:CrudeOilMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:NaturalGasMember 2022-01-01 2022-12-31 0000904851 ypf:PetrochemicalsMember 2022-01-01 2022-12-31 0000904851 ypf:IncomeFromServicesMember 2022-01-01 2022-12-31 0000904851 ypf:LubricantsAndByproductsMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:JetFuelMember 2022-01-01 2022-12-31 0000904851 ypf:JetFuelMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:VirginNaphthaMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2022-01-01 2022-12-31 0000904851 ypf:IncomeFromConstructionContractsMember ypf:CentralAdministrationAndOthersMember 2022-01-01 2022-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2022-01-01 2022-12-31 0000904851 ypf:FloursOilsAndGrainsMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2022-01-01 2022-12-31 0000904851 ypf:VirginNaphthaMember 2022-01-01 2022-12-31 0000904851 ypf:FuelOilMember 2022-01-01 2022-12-31 0000904851 ypf:FuelOilMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2022-01-01 2022-12-31 0000904851 ypf:LiquefiedPetroleumGasMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:LubricantsAndByproductsMember 2022-01-01 2022-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2022-01-01 2022-12-31 0000904851 ypf:NaturalGasMember ypf:GasAndPowerMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:NaturalGasMember 2022-01-01 2022-12-31 0000904851 ypf:GasolinesMember 2022-01-01 2022-12-31 0000904851 ypf:GasolinesMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:DieselMember 2022-01-01 2022-12-31 0000904851 ypf:DownstreamMember ypf:DieselMember 2022-01-01 2022-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2022-01-01 2022-12-31 0000904851 ypf:AsphaltsMember 2022-01-01 2022-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember ypf:GasAndPowerMember 2022-01-01 2022-12-31 0000904851 ypf:PetroleumCokeMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:AsphaltsMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:PetrochemicalsMember ypf:DownstreamMember 2022-01-01 2022-12-31 0000904851 ypf:IncomeFromServicesMember ypf:CentralAdministrationAndOthersMember 2022-01-01 2022-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:CentralAdministrationAndOthersMember 2022-01-01 2022-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:GasAndPowerMember 2022-01-01 2022-12-31 0000904851 ypf:OtherGoodsAndServicesMember ypf:UpstreamMember 2022-01-01 2022-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2022-01-01 2022-12-31 0000904851 ypf:PetroleumCokeMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:GasStationsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:ExploitationFacilitiesAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:GasStationsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploitationFacilitiesAndEquipmentMember 2022-01-01 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2022-01-01 2022-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember 2022-01-01 2022-12-31 0000904851 ypf:CompaniaDeHidrocarburoNoConvencionaLsrlChncMember 2022-01-01 2022-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember ypf:DisputeRelatingToTaxDeductionHydrocarbonWellAbandonmentCostsRelatingToThePeriodTwoThousandFourteenToTwoThousandAndSeventeenMember 2022-01-01 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2022-01-01 2022-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2022-01-01 2022-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyTwoToTwoThousandTwentyFiveMember 2022-01-01 2022-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2022-01-01 2022-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2022-01-01 2022-12-31 0000904851 ypf:CguGasAustralBasinMember 2022-01-01 2022-12-31 0000904851 ypf:UnappropriatedRetainedEarningsAndLossesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ypf:HydrocarbonWellsAbandonmentCostsMember ypf:DisputeRelatingToTaxDeductionHydrocarbonWellAbandonmentCostsRelatingToThePeriodTwoThousandFourteenToTwoThousandAndSeventeenMember ypf:AdministracionFederalDeIngresosPublicosMember 2022-01-01 2022-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2022-01-01 2022-12-31 0000904851 ifrs-full:ForeignCountriesMember 2022-01-01 2022-12-31 0000904851 srt:EuropeMember 2022-01-01 2022-12-31 0000904851 ypf:GolfoSanJorgeBasinMember 2022-01-01 2022-12-31 0000904851 ypf:ExplorationExpensesMember 2021-01-01 2021-12-31 0000904851 ypf:SellingExpensesMember 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:InternationalMarketMember 2021-01-01 2021-12-31 0000904851 ypf:DomesticMarketMember 2021-01-01 2021-12-31 0000904851 ypf:PerformanceBonusProgramsAndPerformanceEvaluationMember 2021-01-01 2021-12-31 0000904851 ypf:RetirementPlanMember 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 ifrs-full:BottomOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentCostsMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2021-01-01 2021-12-31 0000904851 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:GrossCarryingAmountMember ypf:MaterialsAndEquipmentInWarehouseMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OilAndGasAssetsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:FixturesAndFittingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OfficeEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ConstructionInProgressMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploratoryDrillingInProgressMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0000904851 ypf:FinancialAssetsLiabilitiesAtFairValueThroughProfitOrLossMember 2021-01-01 2021-12-31 0000904851 ypf:FinancialAndNonFinancialAssetsLiabilitiesAtAmortizedCostMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 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:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ConsolidatedStructuredEntitiesMember 2021-01-01 2021-12-31 0000904851 ypf:WorldwideMember 2021-01-01 2021-12-31 0000904851 country:AR 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 ifrs-full:EquityAttributableToOwnersOfParentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OfficeEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherIntangibleAssetsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:ServiceConcessionRightsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:OtherIntangibleAssetsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:ServiceConcessionRightsMember 2021-01-01 2021-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2021-01-01 2021-12-31 0000904851 ypf:OtherForeignMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 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 ypf:JointVenturesAndAssociatesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:RefinorMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:YPFEEMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OLCLPMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2021-01-01 2021-12-31 0000904851 ifrs-full:JointOperationsMember 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 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:CTBarraganMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember ifrs-full:LegalProceedingsContingentLiabilityMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember 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 ypf:NonCurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ypf:NonCurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MiningRightsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:IssuedCapitalMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TreasurySharesMember 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:UnappropriatedRetainedEarningsAndLossesMember 2021-01-01 2021-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2021-01-01 2021-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2021-01-01 2021-12-31 0000904851 ypf:ProvisionForEnvironmentalLiabilitiesMember ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:OtherContingentLiabilitiesMember ifrs-full:CurrentMember 2021-01-01 2021-12-31 0000904851 ypf:HydrocarbonWellsAbandonmentMember 2021-01-01 2021-12-31 0000904851 ypf:NeuquinaBasinMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:PowerPlantsMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:PowerPlantsMember 2021-01-01 2021-12-31 0000904851 ypf:PowerPlantsMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:DistributionCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:OilCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:IndustriesTransportAndAviationMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:IndustriesTransportAndAviationMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:RetailDistributionOfNaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:DistributionCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:OilCompaniesMember 2021-01-01 2021-12-31 0000904851 ypf:TradingMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalIndustryMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:PetrochemicalIndustryMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamMember ypf:OtherSalesChannelsMember 2021-01-01 2021-12-31 0000904851 ypf:CommercializationOfLiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:OtherSalesChannelsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:CommercializationOfLiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:IndustriesTransportAndAviationMember 2021-01-01 2021-12-31 0000904851 ypf:RetailDistributionOfNaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:OtherSalesChannelsMember 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 ypf:AgricultureMember 2021-01-01 2021-12-31 0000904851 ypf:AgricultureMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:OtherSalesChannelsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember 2021-01-01 2021-12-31 0000904851 ypf:GasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:GasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:TradingMember 2021-01-01 2021-12-31 0000904851 ypf:YPFEEMember 2021-01-01 2021-12-31 0000904851 ypf:ENARSAMember 2021-01-01 2021-12-31 0000904851 ypf:CammesaOneMember 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:ENARSAOneMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2021-01-01 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2021-01-01 2021-12-31 0000904851 ypf:SecretariatOfIndustryMember 2021-01-01 2021-12-31 0000904851 ypf:MinistryOfWorkEmploymentandSocialSecurityAndAFIPMember 2021-01-01 2021-12-31 0000904851 ypf:AerolineasArgentinasSAOneMember 2021-01-01 2021-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2021-01-01 2021-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember srt:CrudeOilMember 2021-01-01 2021-12-31 0000904851 srt:CrudeOilMember 2021-01-01 2021-12-31 0000904851 ypf:FloursOilsAndGrainsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:AsphaltsMember 2021-01-01 2021-12-31 0000904851 ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:NaturalGasMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:FuelOilMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:FloursOilsAndGrainsMember 2021-01-01 2021-12-31 0000904851 ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:JetFuelMember 2021-01-01 2021-12-31 0000904851 ypf:GasAndPowerMember ypf:LiquefiedNaturalGasRegasificationMember 2021-01-01 2021-12-31 0000904851 ypf:PetroleumCokeMember 2021-01-01 2021-12-31 0000904851 ypf:VirginNaphthaMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:VirginNaphthaMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:IncomeFromServicesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamMember ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:PetrochemicalsMember 2021-01-01 2021-12-31 0000904851 ypf:FertilizersAndCropProtectionProductsMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromServicesMember 2021-01-01 2021-12-31 0000904851 ypf:GoodsForResaleAtGasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:GasolinesMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:GasolinesMember 2021-01-01 2021-12-31 0000904851 ypf:DieselMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:DieselMember 2021-01-01 2021-12-31 0000904851 ypf:IncomeFromConstructionContractsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:PetroleumCokeMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:IncomeFromConstructionContractsMember 2021-01-01 2021-12-31 0000904851 ypf:FuelOilMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:FertilizersAndCropProtectionProductsMember 2021-01-01 2021-12-31 0000904851 ypf:PetrochemicalsMember 2021-01-01 2021-12-31 0000904851 ypf:AsphaltsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:LubricantsAndByproductsMember 2021-01-01 2021-12-31 0000904851 ypf:JetFuelMember 2021-01-01 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ypf:OtherGoodsAndServicesMember 2021-01-01 2021-12-31 0000904851 ypf:LiquefiedNaturalGasRegasificationMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:GoodsForResaleAtGasStationsMember 2021-01-01 2021-12-31 0000904851 ypf:DownstreamMember ypf:LiquefiedPetroleumGasMember 2021-01-01 2021-12-31 0000904851 ypf:LubricantsAndByproductsMember 2021-01-01 2021-12-31 0000904851 ypf:Resolution46ProgramMember 2021-01-01 2021-12-31 0000904851 ifrs-full:TopOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:BottomOfRangeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:ExploitationFacilitiesAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:GasStationsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:GasStationsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:LandAndBuildingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:ExploitationFacilitiesAndEquipmentMember 2021-01-01 2021-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2021-01-01 2021-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember 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:ProvincialStimulusProgramProvinceOfMendozaMember 2021-01-01 2021-12-31 0000904851 ypf:StimulusProgramForInvestmentsInNaturalGasProductionDevelopmentsFromUnconventionalReservoirsMember 2021-01-01 2021-12-31 0000904851 ypf:OPESSAMember 2021-01-01 2021-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2021-01-01 2021-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2021-01-01 2021-12-31 0000904851 ypf:CguGasAustralBasinMember 2021-01-01 2021-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2021-01-01 2021-12-31 0000904851 srt:EuropeMember 2021-01-01 2021-12-31 0000904851 ifrs-full:ForeignCountriesMember 2021-01-01 2021-12-31 0000904851 ypf:GolfoSanJorgeBasinMember 2021-01-01 2021-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:CdiRateMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:BadlarMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:SofrMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:SelicMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:LIBORMember 2023-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember ypf:EstimatedFairValueOfLoansMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 currency:ARS ifrs-full:TopOfRangeMember ypf:AccountOverdraftMember 2023-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:Loans1Member currency:ARS ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember currency:ARS ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember currency:ARS ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:Loans1Member srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:Loans1Member srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ifrs-full:BottomOfRangeMember ypf:AccountOverdraftMember currency:ARS 2023-12-31 0000904851 ypf:NegotiableObligationsMember srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:FrequentIssuerRegimeMember 2023-12-31 0000904851 ypf:TwoThousandEightMember ypf:MediumTermNotes1Member 2023-12-31 0000904851 ypf:NineteenNinetySevenMember ypf:MediumTermNotes1Member 2023-12-31 0000904851 ifrs-full:JointOperationsMember 2023-12-31 0000904851 ifrs-full:LaterThanFiveYearsMember 2023-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2023-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2023-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2023-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2023-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2023-12-31 0000904851 ifrs-full:OrdinarySharesMember 2023-12-31 0000904851 ypf:ExportPreFinancingMember ypf:BancoNacionArgentinaMember 2023-12-31 0000904851 ypf:TemporaryDifferenceRelatingToLeaseLiabilitesMember 2023-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2023-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2023-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2023-12-31 0000904851 ypf:YPFEEMember 2023-12-31 0000904851 ypf:SofrMember ifrs-full:BottomOfRangeMember ifrs-full:InterestRateRiskMember 2023-12-31 0000904851 ypf:BadlarMember ifrs-full:InterestRateRiskMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:CdiRateMember ifrs-full:InterestRateRiskMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:CdiRateMember ifrs-full:InterestRateRiskMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ypf:BadlarMember ifrs-full:InterestRateRiskMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:SelicMember ifrs-full:InterestRateRiskMember ifrs-full:BottomOfRangeMember 2023-12-31 0000904851 ypf:SelicMember ifrs-full:InterestRateRiskMember ifrs-full:TopOfRangeMember 2023-12-31 0000904851 ifrs-full:TopOfRangeMember ypf:SofrMember ifrs-full:InterestRateRiskMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level2OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level3OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level2OfFairValueHierarchyMember ypf:MutualFundsMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level1OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level1OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level2OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level3OfFairValueHierarchyMember 2023-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember 2023-12-31 0000904851 ifrs-full:Level2OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level3OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level2OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:MutualFundsMember ifrs-full:Level3OfFairValueHierarchyMember ypf:CashAndCashEquivalentMember 2023-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2023-12-31 0000904851 ypf:OtherFinancialAssetMember 2023-12-31 0000904851 ypf:InvestmentInFinancialAssetsMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember 2023-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2023-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2023-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2023-12-31 0000904851 ypf:TemporaryDifferenceRelatingToRightOfUseAssetsMember 2023-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2023-12-31 0000904851 currency:ARS ypf:Loans1Member 2023-12-31 0000904851 srt:OtherCurrencyMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 srt:OtherCurrencyMember ypf:Loans1Member 2023-12-31 0000904851 srt:OtherCurrencyMember 2023-12-31 0000904851 currency:ARS 2023-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember 2023-12-31 0000904851 ypf:WorldwideMember 2023-12-31 0000904851 country:AR 2023-12-31 0000904851 ypf:InvestmentPromotionRegimeForTheExploitationOfHydrocarbonsDecreeNo.9292013Member 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ifrs-full:AssociatesMember 2023-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2023-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2023-12-31 0000904851 currency:ARS ypf:AccountOverdraftMember 2023-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2023-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:PositiveVariationImpactOnNetIncomeMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ypf:NegativeVariationImpactOnNetIncomeMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember ifrs-full:FloatingInterestRateMember 2023-12-31 0000904851 ifrs-full:InterestRateRiskMember 2023-12-31 0000904851 ifrs-full:FixedInterestRateMember ifrs-full:InterestRateRiskMember 2023-12-31 0000904851 ypf:FinishedGoodsMember 2023-12-31 0000904851 ypf:ProductsInProcessMember 2023-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2023-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2023-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:ClassASharesMember 2023-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:GpaMember ifrs-full:AssociatesMember 2023-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2023-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember ypf:OTAMember 2023-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2023-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2023-12-31 0000904851 ypf:OTCMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2023-12-31 0000904851 ypf:CurrentTradeReceivableMember ifrs-full:LaterThanSixMonthsMember 2023-12-31 0000904851 ypf:OtherCurrentReceivablesMember ypf:BetweenThreeAndSixMonthsMember 2023-12-31 0000904851 ypf:CurrentTradeReceivableMember ypf:BetweenThreeAndSixMonthsMember 2023-12-31 0000904851 ypf:OtherCurrentReceivablesMember ifrs-full:NotLaterThanThreeMonthsMember 2023-12-31 0000904851 ypf:CurrentTradeReceivableMember ifrs-full:NotLaterThanThreeMonthsMember 2023-12-31 0000904851 ypf:OtherCurrentReceivablesMember 2023-12-31 0000904851 ypf:CurrentTradeReceivableMember 2023-12-31 0000904851 ypf:OtherCurrentReceivablesMember ifrs-full:LaterThanSixMonthsMember 2023-12-31 0000904851 ifrs-full:LiquidityRiskMember 2023-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2023-12-31 0000904851 ypf:CashAndCashEquivalentMember 2023-12-31 0000904851 ypf:OtherReceivablesMember 2023-12-31 0000904851 ifrs-full:TradeReceivablesMember 2023-12-31 0000904851 ypf:NationalGovernmentAndDirectAgenciesAccountsMember 2023-12-31 0000904851 ypf:AccountsPayable1Member 2023-12-31 0000904851 ypf:OtherLiabilitiesMember 2023-12-31 0000904851 ypf:Loans1Member 2023-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2023-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2023-12-31 0000904851 ypf:MinistryOfTransportMember 2023-12-31 0000904851 ypf:CammesaMember 2023-12-31 0000904851 ypf:SGEMember ypf:CompensationToDecreeNo10532018Member 2023-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2023-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2023-12-31 0000904851 ypf:ENARSAOneMember 2023-12-31 0000904851 ypf:ENARSAMember 2023-12-31 0000904851 ypf:CammesaOneMember 2023-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2023-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2023-12-31 0000904851 ypf:AFIPMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandTwentyThreeJanuaryMember ypf:ClassTwentyOneMember ifrs-full:FixedInterestRateMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFortyThreeMember ypf:TwoThousandFifteenOctoberMember 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSixteenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:ClassThirteenMember ypf:TwoThousandTwentyJulyMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeAprilMember ypf:ClassTwentyFourMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeJuneMember ypf:ClassTwentyFiveMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeSeptemberMember ypf:ClassTwentySixMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeOctoberMember ypf:ClassTwentySevenMember 2023-12-31 0000904851 ypf:TwoThousandFifteenAprilMember ypf:ClassThirtyNineMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:ClassThirtyFourMember ypf:TwoThousandFourteenSeptemberMember ypf:BadlarVariableRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ifrs-full:FixedInterestRateMember ypf:ClassTwentyEightMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandTwentyThreeJanuaryAndTwoThousandTwentyThreeAprilMember ypf:ClassTwentyTwoMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyThreeAprilMember ypf:ClassTwentyThreeMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassNineteenMember ypf:TwoThousandTwentyOneFebruaryMember 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassEighteenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ypf:ClassSeventeenMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFourteenMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember 2023-12-31 0000904851 ypf:ClassFiftyThreeMember ypf:TwoThousandSeventeenJulyAndDecemberMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFiftyTwoMember ypf:TwoThousandSeventeenMayMember 2023-12-31 0000904851 ypf:ClassOneMember ypf:TwoThousandNineteenJuneMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:TwoThousandSeventeenDecemberMember ypf:ClassFiftyFourMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:TwoThousandTwentyOneJulyMember ypf:ClassTwentyMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:TwoThousandTwentyJuneMember ypf:ClassTwelveMember ypf:NegotiableObligationsMember 2023-12-31 0000904851 ypf:ClassDSharesMember 2023-12-31 0000904851 ypf:ClassCSharesMember 2023-12-31 0000904851 ypf:ClassBSharesMember 2023-12-31 0000904851 ypf:ClassASharesMember 2023-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2023-12-31 0000904851 ypf:LaterThanNineYearsMember 2023-12-31 0000904851 ypf:IvaMember 2023-12-31 0000904851 ypf:WithholdingsAndPerceptionsMember 2023-12-31 0000904851 ypf:TurnoverTaxPayableMember 2023-12-31 0000904851 ypf:MiscellaneousMember 2023-12-31 0000904851 ypf:RoyaltiesMember 2023-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember ypf:IFRS16Member 2023-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2023-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2023-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2023-12-31 0000904851 ypf:PublicSecuritiesMember ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2023-12-31 0000904851 ypf:PrivateSecuritiesMember ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2023-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2023-12-31 0000904851 ypf:ClassXVINOMember 2023-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2023-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2023-12-31 0000904851 ifrs-full:OperatingSegmentsMember ypf:UpstreamMember 2023-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2023-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2023-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2023-12-31 0000904851 ifrs-full:JointVenturesMember ypf:YPFEEMember 2023-12-31 0000904851 ifrs-full:JointVenturesMember ypf:RefinorMember 2023-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesMember 2023-12-31 0000904851 ifrs-full:JointVenturesMember ypf:CTBarraganMember 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2023-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2023-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember 2023-12-31 0000904851 ifrs-full:JointVenturesMember ypf:MEGAMember 2023-12-31 0000904851 ifrs-full:JointVenturesMember ypf:ProfertilMember 2023-12-31 0000904851 ypf:InvestmentsInAssociatesAndJointVenturesMember 2023-12-31 0000904851 ypf:InstallmentsOfTheRegularizationRegimesAssociatedWithTheDisputeOverTheCostDeductionForHydrocarbonWellAbandonmentMember ypf:HydrocarbonWellsAbandonmentCostsMember ypf:TwelveInstalmentsMember 2023-12-31 0000904851 ypf:RemainingInstallmentsOfTheRegimesMember ypf:HydrocarbonWellsAbandonmentCostsMember 2023-12-31 0000904851 ypf:YearTwoThousandAndTwentyFiveMember 2023-12-31 0000904851 ypf:YearTwoThousandAndTwentySevenMember 2023-12-31 0000904851 ypf:YearTwoThousandAndTwentyEightMember 2023-12-31 0000904851 ifrs-full:GuaranteesMember 2023-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2023-12-31 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2023-12-31 0000904851 ypf:TrustSettlementAgreementMember 2023-12-31 0000904851 ypf:BeforeThirtyFirstOfJanuaryTwoThousandAndTwentyFourMember 2023-12-31 0000904851 ypf:WithEffectFromFirstFebruaryTwoThousandAndTwentyFourMember 2023-12-31 0000904851 ypf:MatureFieldsRelatedWithCGUOilCGUGasAustralBasinAndCGUGasNeuquinaBasinMember ypf:PropertyPlantAndEquipmentClassfiedAsHeldForSaleMember 2023-12-31 0000904851 ypf:MatureFieldsRelatedWithCGUOilCGUGasAustralBasinAndCGUGasNeuquinaBasinMember ypf:RelatedProvisionForHydrocarbonWellAbandonmentMember 2023-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember ypf:EstimatedFairValueOfLoansMember 2022-12-31 0000904851 ifrs-full:JointOperationsMember 2022-12-31 0000904851 ypf:TemporaryDifferenceRelatingToLeaseLiabilitesMember 2022-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2022-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2022-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2022-12-31 0000904851 ypf:YPFEEMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember 2022-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0000904851 ifrs-full:Level2OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2022-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level2OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0000904851 ifrs-full:Level2OfFairValueHierarchyMember ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level2OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level2OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2022-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2022-12-31 0000904851 ypf:TemporaryDifferenceRelatingToRightOfUseAssetsMember 2022-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2022-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2022-12-31 0000904851 currency:ARS ypf:Loans1Member 2022-12-31 0000904851 srt:OtherCurrencyMember ypf:NegotiableObligationsMember 2022-12-31 0000904851 srt:OtherCurrencyMember ypf:Loans1Member 2022-12-31 0000904851 srt:OtherCurrencyMember 2022-12-31 0000904851 currency:ARS 2022-12-31 0000904851 ypf:WorldwideMember 2022-12-31 0000904851 country:AR 2022-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2022-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2022-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2022-12-31 0000904851 ifrs-full:AssociatesMember 2022-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember 2022-12-31 0000904851 ypf:ImportsFinancingMember srt:OtherCurrencyMember 2022-12-31 0000904851 ypf:AccountOverdraftMember currency:ARS 2022-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2022-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2022-12-31 0000904851 ypf:FinishedGoodsMember 2022-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2022-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2022-12-31 0000904851 ypf:ProductsInProcessMember 2022-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:GpaMember ifrs-full:AssociatesMember 2022-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2022-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2022-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2022-12-31 0000904851 ypf:CashAndCashEquivalentMember 2022-12-31 0000904851 ypf:OtherReceivablesMember 2022-12-31 0000904851 ifrs-full:TradeReceivablesMember 2022-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2022-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2022-12-31 0000904851 ypf:Loans1Member 2022-12-31 0000904851 ypf:OtherLiabilitiesMember 2022-12-31 0000904851 ypf:AccountsPayable1Member 2022-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2022-12-31 0000904851 ypf:SGEMember ypf:CompensationToDecreeNo10532018Member 2022-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2022-12-31 0000904851 ypf:CammesaMember 2022-12-31 0000904851 ypf:MinistryOfTransportMember 2022-12-31 0000904851 ypf:AFIPMember 2022-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2022-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2022-12-31 0000904851 ypf:ENARSAOneMember 2022-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2022-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2022-12-31 0000904851 ypf:CammesaOneMember 2022-12-31 0000904851 ypf:ENARSAMember 2022-12-31 0000904851 ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandFourteenSeptemberMember ypf:ClassThirtyFourMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandNineteenJuneMember ypf:ClassOneMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyFourMember ypf:TwoThousandSeventeenDecemberMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyJulyMember ypf:ClassThirteenMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandSeventeenJulyAndDecemberMember ypf:ClassFiftyThreeMember 2022-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ifrs-full:FixedInterestRateMember ypf:ClassTwentyEightMember ypf:NegotiableObligationsMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassSixteenMember ypf:TwoThousandTwentyOneFebruaryMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassThirtyNineMember ypf:TwoThousandFifteenAprilMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassTwentyMember ypf:TwoThousandTwentyOneJulyMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassSeventeenMember ypf:TwoThousandTwentyOneFebruaryMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassEighteenMember ypf:TwoThousandTwentyOneFebruaryMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassNineteenMember ypf:TwoThousandTwentyOneFebruaryMember 2022-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFourteenMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember 2022-12-31 0000904851 ypf:TwoThousandFifteenOctoberMember ypf:NegotiableObligationsMember ypf:ClassFortyThreeMember 2022-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2022-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2022-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2022-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2022-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2022-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2022-12-31 0000904851 ypf:LaterThanNineYearsMember 2022-12-31 0000904851 ypf:MiscellaneousMember 2022-12-31 0000904851 ypf:IvaMember 2022-12-31 0000904851 ypf:WithholdingsAndPerceptionsMember 2022-12-31 0000904851 ypf:TurnoverTaxPayableMember 2022-12-31 0000904851 ypf:RoyaltiesMember 2022-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember ypf:IFRS16Member 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PublicSecuritiesMember 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PrivateSecuritiesMember 2022-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2022-12-31 0000904851 ypf:ClassXVINOMember 2022-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2022-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2022-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2022-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2022-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2022-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:YPFEEMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:ProfertilMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:RefinorMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:OLCLPMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:CTBarraganMember 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2022-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2022-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember 2022-12-31 0000904851 ifrs-full:JointVenturesMember ypf:MEGAMember 2022-12-31 0000904851 ypf:InvestmentsInAssociatesAndJointVenturesMember 2022-12-31 0000904851 ypf:InstallmentsOfTheRegularizationRegimesAssociatedWithTheDisputeOverTheCostDeductionForHydrocarbonWellAbandonmentMember ypf:HydrocarbonWellsAbandonmentCostsMember ypf:TwelveInstalmentsMember 2022-12-31 0000904851 ypf:RemainingInstallmentsOfTheRegimesMember ypf:HydrocarbonWellsAbandonmentCostsMember 2022-12-31 0000904851 ypf:CguGasAustralBasinMember 2022-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2022-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember ypf:EstimatedFairValueOfLoansMember 2021-12-31 0000904851 ifrs-full:JointOperationsMember 2021-12-31 0000904851 ypf:ExportPreFinancingMember ypf:BancoNacionArgentinaMember 2021-12-31 0000904851 ypf:TaxLossesCarryforwardAndOtherTaxCreditsMember 2021-12-31 0000904851 ypf:MiscellaneousDeferredTaxAssetsMember 2021-12-31 0000904851 ypf:TemporaryDifferenceRelatingToLeaseLiabilitesMember 2021-12-31 0000904851 ypf:ProvisionsAndOtherNonDeductibleLiabilitiesMember 2021-12-31 0000904851 ypf:YPFEEMember 2021-12-31 0000904851 ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember 2021-12-31 0000904851 ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember ypf:PublicSecuritiesMember ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember ypf:MutualFundsMember ifrs-full:Level3OfFairValueHierarchyMember 2021-12-31 0000904851 ypf:AccountsReceivableAndRelatedPartiesMember 2021-12-31 0000904851 ifrs-full:PropertyPlantAndEquipmentMember 2021-12-31 0000904851 ypf:MiscellaneousDeferredTaxLiabilitiesMember 2021-12-31 0000904851 ypf:AdjustmentForTaxInflationMember 2021-12-31 0000904851 ypf:TemporaryDifferenceRelatingToRightOfUseAssetsMember 2021-12-31 0000904851 currency:ARS ypf:NegotiableObligationsMember 2021-12-31 0000904851 srt:OtherCurrencyMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:Loans1Member currency:ARS 2021-12-31 0000904851 srt:OtherCurrencyMember ypf:Loans1Member 2021-12-31 0000904851 srt:OtherCurrencyMember 2021-12-31 0000904851 ypf:ExportPreFinancingMember srt:OtherCurrencyMember 2021-12-31 0000904851 currency:ARS 2021-12-31 0000904851 ypf:WorldwideMember 2021-12-31 0000904851 country:AR 2021-12-31 0000904851 ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:JointVenturesAndAssociatesMember 2021-12-31 0000904851 ypf:YPFGasMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:YPFEEMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:AccountOverdraftMember currency:ARS 2021-12-31 0000904851 ypf:ImportsFinancingMember srt:OtherCurrencyMember 2021-12-31 0000904851 ypf:ProvisionForDoubtfulTradeReceivableMember 2021-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember 2021-12-31 0000904851 ypf:RawMaterialsPackagingMaterialsAndOthersMember 2021-12-31 0000904851 ypf:CrudeOilAndCommercializedNaturalGasMember 2021-12-31 0000904851 ypf:ProductsInProcessMember 2021-12-31 0000904851 ypf:FinishedGoodsMember 2021-12-31 0000904851 ypf:ProfertilMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:MEGAMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:RefinorMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GpaMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:GasAustralSAMember 2021-12-31 0000904851 ypf:OiltankingMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:OLCLPMember ifrs-full:JointVenturesWhereEntityIsVenturerMember 2021-12-31 0000904851 ypf:OldelvalMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:TermapMember ifrs-full:AssociatesMember 2021-12-31 0000904851 ypf:OtherReceivablesMember 2021-12-31 0000904851 ifrs-full:TradeReceivablesMember 2021-12-31 0000904851 ypf:CashAndCashEquivalentMember 2021-12-31 0000904851 ypf:InvestmentsAndFinancialAssetsMember 2021-12-31 0000904851 ypf:OtherLiabilitiesMember 2021-12-31 0000904851 ypf:Loans1Member 2021-12-31 0000904851 ifrs-full:LeaseLiabilitiesMember 2021-12-31 0000904851 ypf:AccountsPayable1Member 2021-12-31 0000904851 ypf:SGEMember ypf:PropaneGasSupplyAgreementMember 2021-12-31 0000904851 ypf:SGEMember ypf:CompensationToDecreeNo10532018Member 2021-12-31 0000904851 ypf:CammesaMember 2021-12-31 0000904851 ypf:SGEMember ypf:RecognitionOfTheFinancialCostGeneratedByPaymentDeferralByProvidersOfTheDistributionServiceOfNaturalAndUndilutedPropaneGasMember 2021-12-31 0000904851 ypf:MinistryOfTransportMember 2021-12-31 0000904851 ypf:AguaYSaneamientosArgentinosS.a.Member 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasPipingDistributionServiceLicensedCompaniesBenefitOfMetrogasMember 2021-12-31 0000904851 ypf:SGEMember ypf:GasarPlanMember 2021-12-31 0000904851 ypf:SGEMember ypf:NaturalGasProductionMember 2021-12-31 0000904851 ypf:ENARSAOneMember 2021-12-31 0000904851 ypf:ENARSAMember 2021-12-31 0000904851 ypf:CammesaOneMember 2021-12-31 0000904851 ypf:AerolineasArgentinasSAMember 2021-12-31 0000904851 ypf:NineteenNinetyEightMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ypf:ClassThirtyFourMember ypf:NegotiableObligationsMember ypf:BadlarVariableRateMember ypf:TwoThousandFourteenSeptemberMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandSeventeenJulyAndDecemberMember ypf:ClassFiftyThreeMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassThirtyNineMember ypf:TwoThousandFifteenAprilMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:ClassFiftyFourMember ypf:TwoThousandSeventeenDecemberMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandTwentyJulyMember ypf:ClassThirteenMember 2021-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:ClassEighteenMember 2021-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:ClassSeventeenMember 2021-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:ClassSixteenMember 2021-12-31 0000904851 ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember ifrs-full:FixedInterestRateMember ypf:ClassTwentyEightMember ypf:NegotiableObligationsMember 2021-12-31 0000904851 ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:ClassTwentyMember ypf:TwoThousandTwentyOneJulyMember 2021-12-31 0000904851 ypf:TwoThousandTwentyOneFebruaryMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:ClassNineteenMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFourteenMember ypf:TwoThousandTwentyDecemberAndTwoThousandTwentyOneFebruaryMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ifrs-full:FixedInterestRateMember ypf:TwoThousandNineteenJuneMember ypf:ClassOneMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:TwoThousandFifteenOctoberMember ypf:ClassFortyThreeMember 2021-12-31 0000904851 ypf:TwoThousandTwentyJuneMember ypf:NegotiableObligationsMember ypf:ClassTwelveMember 2021-12-31 0000904851 ypf:NegotiableObligationsMember ypf:ClassFiftyTwoMember ypf:TwoThousandSeventeenMayMember 2021-12-31 0000904851 ypf:MineralPropertyWellsAndRelatedEquipmentMember ypf:LomaDeLaMinaAreaMember 2021-12-31 0000904851 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2021-12-31 0000904851 ifrs-full:NotLaterThanOneYearMember 2021-12-31 0000904851 ypf:LaterThanFiveYearsAndNotLaterThanNineYearsMember 2021-12-31 0000904851 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 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:TurnoverTaxPayableMember 2021-12-31 0000904851 ypf:FuelsTaxMember 2021-12-31 0000904851 ypf:RoyaltiesMember 2021-12-31 0000904851 ypf:UpstreamContractsComprisedInRightOfUseAssetsMember ypf:IFRS16Member 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:TermDepositsMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ypf:PublicSecuritiesMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PublicSecuritiesMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ypf:PrivateSecuritiesMember 2021-12-31 0000904851 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2021-12-31 0000904851 ypf:ClassXVINOMember 2021-12-31 0000904851 ypf:CguGasNeuquinaBasinMember 2021-12-31 0000904851 ypf:DownstreamMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ypf:UpstreamMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ifrs-full:EliminationOfIntersegmentAmountsMember 2021-12-31 0000904851 ypf:CentralAdministrationAndOthersMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ypf:GasAndPowerSegmentMember ifrs-full:OperatingSegmentsMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:YPFEEMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:MEGAMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:ProfertilMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:RefinorMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:OLCLPMember 2021-12-31 0000904851 ifrs-full:JointVenturesMember ypf:CTBarraganMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OldelvalMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:TermapMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:OiltankingMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:CDSMember 2021-12-31 0000904851 ifrs-full:AssociatesMember ypf:YPFGasMember 2021-12-31 0000904851 ifrs-full:OtherRelatedPartiesMember 2021-12-31 0000904851 ypf:InvestmentsInAssociatesAndJointVenturesMember 2021-12-31 0000904851 ypf:InstallmentsOfTheRegularizationRegimesAssociatedWithTheDisputeOverTheCostDeductionForHydrocarbonWellAbandonmentMember ypf:HydrocarbonWellsAbandonmentCostsMember ypf:TwelveInstalmentsMember 2021-12-31 0000904851 ypf:RemainingInstallmentsOfTheRegimesMember ypf:HydrocarbonWellsAbandonmentCostsMember 2021-12-31 0000904851 ypf:CguGasAustralBasinMember 2021-12-31 0000904851 ypf:MercosurAndAssociatesCountriesMember 2021-12-31 0000904851 ypf:DecreeOfNecessityAndUrgencyDNUByItsAcronyminSpanishNo702023Member 2023-12-21 0000904851 ypf:CsjnMember ypf:AsociacionSuperficiariosDeLaPatagoniaMember 2014-12-30 2014-12-30 0000904851 ypf:YPFAndRepsolDefendandsMember ypf:TrustSettlementAgreementMember 2023-05-01 0000904851 ypf:NumberClassXXVIIINotesIssuedUnderFrequentIssuerRegimeMember ifrs-full:FixedInterestRateMember ypf:MaturityStartingFromJulyTwoThousandAndTwentySixMember ypf:NegotiableObligationsMember ypf:IssueOfDebtNotesMember 2024-01-17 2024-01-17 0000904851 ypf:NumberClassXXVIIINotesIssuedUnderFrequentIssuerRegimeMember ifrs-full:FixedInterestRateMember ypf:MaturityStartingFromJulyTwoThousandAndTwentySixMember ypf:NegotiableObligationsMember ypf:IssueOfDebtNotesMember 2024-01-17 0000904851 ypf:ClassxxviiiMember ifrs-full:FixedInterestRateMember ypf:NegotiableObligationsMember ypf:RepurchaseOfDebtNotesMember ypf:TwoThousandFourteenAprilTwoThousandFifteenFebruaryAndTwoThousanSixteenOctoberMember 2024-01-05 0000904851 ypf:YCLHHoldingsInc.Member ypf:ApprovalByTheSecretaryOfStateOfTheStateOfDelawareForTheDissolutionOfSubsidiaryCompaniesMember 2024-01-05 0000904851 ypf:RevisedNotificationDecreeNumberFiveHundredAndNinetySevenByTwoThousandAndTwentyThreeMember ypf:ToBeSettledInForeignExchangeMarketMember 2023-11-21 2023-11-21 0000904851 ypf:RevisedNotificationDecreeNumberFiveHundredAndNinetySevenByTwoThousandAndTwentyThreeMember ypf:ForTradingSecuritiesQuotedInForeignCurrencyMember 2023-11-21 2023-11-21 0000904851 ypf:ForTradingSecuritiesQuotedInForeignCurrencyMember ypf:CommunicationASevenEightSixSevenMember 2023-11-17 2023-11-17 0000904851 ypf:ToBeSettledInForeignExchangeMarketMember ypf:CommunicationASevenEightSixSevenMember 2023-11-17 2023-11-17 0000904851 ypf:ForTradingSecuritiesQuotedInForeignCurrencyMember ypf:CommunicationASevenEightFiveThreeMember 2023-10-25 2023-10-25 0000904851 ypf:ToBeSettledInForeignExchangeMarketMember ypf:CommunicationASevenEightFiveThreeMember 2023-10-25 2023-10-25 0000904851 ypf:TotalAustralSAAndPanAmericanEnergyLLCMember ypf:AguadaPichanaOesteMember 2023-08-11 2023-08-11 0000904851 ypf:TotalAustralSAAndPanAmericanEnergyLLCMember ypf:AguadaPichanaEsteMember 2023-08-11 2023-08-11 0000904851 ypf:TaxBenefitsForPriceAgreementsMember 2023-08-26 2023-08-26 0000904851 ypf:TaxRateForAnInclusiveAndSolidaryArgentinaMember 2023-12-13 2023-12-13 0000904851 ypf:DecreeNumberTwentyEightByTwoThousandAndTwentyThreeRevisedMember ypf:ForTradingSecuritiesQuotedInForeignCurrencyMember 2023-12-13 2023-12-13 0000904851 ypf:DecreeNumberTwentyEightByTwoThousandAndTwentyThreeRevisedMember ypf:ToBeSettledInForeignExchangeMarketMember 2023-12-13 2023-12-13 0000904851 ypf:TaxRateForAnInclusiveAndSolidaryArgentinaMember 2023-07-24 2023-07-24 0000904851 ypf:LiquidHydrocarbonExportsMember 2023-03-28 2023-03-28 0000904851 ypf:ExtensionOfTheExploratoryPeriodMember ypf:OffshoreExplorationPermitCANOneHundredAndTwoMember 2023-03-07 2023-03-07 0000904851 country:UY ypf:ExplorationAndExploitationPeriodMember 2023-12-12 2023-12-12 0000904851 ypf:ExtensionOfTheExplorationAndExploitationPeriodMember country:UY 2023-12-12 2023-12-12 0000904851 ypf:YPFAndRepsolDefendandsMember ypf:TrustSettlementAgreementMember 2023-04-06 0000904851 ypf:ExtensionOfTheExplorationAndExploitationPeriodMember ypf:LaAzucenaBlockMember ypf:PalermoAikeMember 2023-10-10 2023-10-10 0000904851 ypf:ElCampamentoEsteBlockMember ypf:PalermoAikeMember ypf:ExtensionOfTheExplorationAndExploitationPeriodMember 2023-10-12 2023-10-12 0000904851 ypf:PetersonAndEtonParkAndYpfAndTheRepublicMember 2023-03-30 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2024-02-01 2024-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2024-02-01 2024-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2023-02-01 2023-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2023-02-01 2023-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2022-02-01 2022-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2022-02-01 2022-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2021-02-01 2021-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2021-02-01 2021-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2020-02-01 2020-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2020-02-01 2020-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:InterruptibleExportationTransportContractMember ypf:TransportadoraDeGasDelMercosurSAMember 2018-02-01 2018-02-01 0000904851 ifrs-full:CommencementOfMajorLitigationMember ypf:LawsuitsAndArbitrationsProceedingsMember ypf:TransportadoraDeGasDelMercosurSAMember 2018-02-01 2018-02-01 0000904851 ifrs-full:ParentMember ypf:OrganismoProvincialParaElDesarrolloSostenibleMember 2021-02-07 2021-02-07 0000904851 ypf:TransportadoraDeGasDelNorteSaMember 2013-04-03 2013-04-03 0000904851 ypf:CguGasAustralBasinMember 2022-01-01 2022-09-30 0000904851 ypf:CguGasNeuquinaBasinMember 2023-01-01 2023-09-30 0000904851 ypf:CguGasAustralBasinMember 2022-09-30 0000904851 ypf:WheatCornAndSorghumMember 2020-03-04 2020-03-04 0000904851 ifrs-full:TopOfRangeMember ypf:AgriculturalProductsMember 2020-03-04 2020-03-04 0000904851 ypf:ExportDutyRateMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 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:ExploitationFacilitiesAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:ExploitationFacilitiesAndEquipmentMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:LandAndBuildingsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:MachineryMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ypf:GasStationsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:VehiclesMember 2020-01-01 2020-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ypf:GasStationsMember 2020-01-01 2020-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:MachineryMember 2020-01-01 2020-12-31 0000904851 ypf:StimulusProgramForInvestmentsInNaturalGasProductionDevelopmentsFromUnconventionalReservoirsMember 2020-01-01 2020-12-31 0000904851 ypf:EnelAmericasSaMember ypf:YPFEEMember 2023-04-13 0000904851 ypf:PanAmericaSurSaMember ypf:YPFEEMember 2023-04-13 0000904851 ifrs-full:BottomOfRangeMember 2020-05-19 0000904851 ifrs-full:TopOfRangeMember 2020-05-19 0000904851 ifrs-full:FixedInterestRateMember 2020-07-31 0000904851 ifrs-full:ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember ypf:ImportedDieselMember 2023-02-22 2023-02-22 0000904851 ypf:ImportedGasolineMember ifrs-full:ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember 2023-02-22 2023-02-22 0000904851 ifrs-full:ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember 2022-12-01 2022-12-01 0000904851 ypf:ProvincialStimulusProgramProvinceOfMendozaMember 2021-07-07 2021-07-07 0000904851 ypf:StimulusProgramForInvestmentsInNaturalGasProductionDevelopmentsFromUnconventionalReservoirsMember 2018-01-01 2018-12-31 0000904851 ypf:ExmarEnergyNetherlandsBvExmarArgentinaSauAndExmarNvMember 2020-10-19 2020-10-19 0000904851 ypf:ExmarEnergyNetherlandsBvExmarArgentinaSauAndExmarNvMember ypf:OtherLiabilityMember 2020-10-19 2020-10-19 0000904851 ypf:CompaniaDeDesarrolloNoconvencionalSrlMember 2021-04-30 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:ShellArgentinaMember ypf:EquinorMember 2021-12-14 2021-12-14 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:ShellArgentinaMember ypf:EquinorMember 2021-01-14 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:EquinorMember 2021-01-14 2021-01-14 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:ShellArgentinaMember ypf:EquinorMember 2021-01-14 2021-01-14 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:EquinorMember 2020-04-22 2020-04-22 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember ypf:EquinorMember 2019-10-08 2019-10-08 0000904851 ypf:AssignmentAgreementMember ypf:OffShoreMember ypf:CanOneHundredExplorationPermitEOneConversionMember 2019-10-08 2019-10-08 0000904851 ypf:CovidNineteenMember ypf:YacimientosPetroliferosFiscalesBolivianosMember 2021-01-04 2021-01-04 0000904851 ypf:CharaguaBlockMember ypf:MixedEconomyCompanyMember ypf:YacimientosPetroliferosFiscalesBolivianosMember 2017-10-01 2017-10-01 0000904851 ypf:CharaguaBlockMember ypf:MixedEconomyCompanyMember ypf:YPFEandPMember 2017-10-01 2017-10-01 0000904851 ypf:CharaguaBlockMember ypf:MixedEconomyCompanyMember ypf:YpfbChacoSaMember 2017-10-01 2017-10-01 0000904851 ypf:AmendmentToTheOilAndServicesContractMember ypf:YpfbChacoSaMember ypf:ExplorationAgreementInTheCharaguaBlockMember 2021-05-25 0000904851 ypf:LetterOfIntentMember ypf:VacaMuertaMember ypf:PilotPlanMember 2021-07-26 2021-07-26 0000904851 ypf:YPFHoldingsMember ypf:MaxusEntitiesMember 2016-06-17 0000904851 ypf:TwoThousandAndTwentyTwoAndTwoThousandAndTwentyThreeMember 2023-07-21 2023-07-21 0000904851 ypf:ConventionalCrudeOilAssetsMember ypf:DivestmentOfCertainGroupsOfMatureAssetsMember ypf:GolfoSanJorgeNeuquinaCuyanaAndAustralBasinsMember 2024-02-29 0000904851 ifrs-full:EquityAttributableToOwnersOfParentMember 2022-12-31 0000904851 ifrs-full:NoncontrollingInterestsMember 2022-12-31 0000904851 ypf:ReservesForFutureDividendsMember 2022-12-31 0000904851 ifrs-full:StatutoryReserveMember 2022-12-31 0000904851 ypf:AcquisitionCostOfTreasurySharesMember 2022-12-31 0000904851 ifrs-full:ReserveOfSharebasedPaymentsMember 2022-12-31 0000904851 ifrs-full:TreasurySharesMember 2022-12-31 0000904851 ifrs-full:IssuedCapitalMember 2022-12-31 0000904851 ypf:ReservesForPurchaseOfTreasuryShareMember 2022-12-31 0000904851 ifrs-full:ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember 2022-12-31 0000904851 ypf:UnappropriatedRetainedEarningsAndLossesMember 2022-12-31 0000904851 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2022-12-31 0000904851 ypf:ShareholdersContributionMember 2022-12-31 0000904851 ifrs-full:SharePremiumMember 2022-12-31 0000904851 ypf:ShareTradingPremiumMember 2022-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:VehiclesMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:OtherPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:LandAndBuildingsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:NetBookValueOfPropertyPlantAndEquipmentMember ypf:MiningPropertyWellsAndRelatedEquipmentMember 2022-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:MachineryMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0000904851 ifrs-full:OfficeEquipmentMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:ConstructionInProgressMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2022-12-31 0000904851 ypf:ProvisionForObsolescenceOfMaterialsAndEquipmentMember 2022-12-31 0000904851 ypf:ProvisionForImpairmentOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2022-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember 2022-12-31 0000904851 ypf:NonCurrentMember 2022-12-31 0000904851 ifrs-full:CurrentMember 2022-12-31 0000904851 ypf:ShareBasedBenefitPlanTwoThousandTwentyOneToTwoThousandTwentyFourMember 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:MachineryMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:VehiclesMember 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:FixturesAndFittingsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:VehiclesMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:LandAndBuildingsMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ypf:MaterialsAndEquipmentInWarehouseMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ypf:ExploratoryDrillingInProgressMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:ConstructionInProgressMember ypf:NetBookValueOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:OilAndGasAssetsMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:OfficeEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2023-12-31 0000904851 ifrs-full:OtherPropertyPlantAndEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ypf:MiningPropertyWellsAndRelatedEquipmentMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:LandAndBuildingsMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember ypf:ProvedReservesUndevelopedMember 2022-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember ypf:ProvedReservesUndevelopedMember 2022-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember ypf:ProvedReservesDevelopedMember 2022-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember ypf:ProvedReservesDevelopedMember 2022-12-31 0000904851 country:AR ifrs-full:ConsolidatedStructuredEntitiesMember 2022-12-31 0000904851 ypf:WorldwideMember ifrs-full:ConsolidatedStructuredEntitiesMember 2022-12-31 0000904851 country:AR ypf:ConsolidatedAndEquityaccountedEntitiesMember 2022-12-31 0000904851 ypf:WorldwideMember ypf:ConsolidatedAndEquityaccountedEntitiesMember 2022-12-31 0000904851 country:AR ypf:ConsolidatedAndEquityaccountedEntitiesMember ypf:ProvedReservesUndevelopedMember 2022-12-31 0000904851 ypf:WorldwideMember ypf:ConsolidatedAndEquityaccountedEntitiesMember ypf:ProvedReservesUndevelopedMember 2022-12-31 0000904851 country:AR ypf:ConsolidatedAndEquityaccountedEntitiesMember ypf:ProvedReservesDevelopedMember 2022-12-31 0000904851 ypf:WorldwideMember ypf:ConsolidatedAndEquityaccountedEntitiesMember ypf:ProvedReservesDevelopedMember 2022-12-31 0000904851 ypf:DepreciationOfPropertyPlantAndEquipmentMember 2023-12-31 0000904851 ifrs-full:MiningRightsMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:ServiceConcessionRightsMember 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember 2023-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember 2023-12-31 0000904851 ifrs-full:MiningRightsMember 2023-12-31 0000904851 ifrs-full:OtherIntangibleAssetsMember 2023-12-31 0000904851 ifrs-full:ServiceConcessionRightsMember ifrs-full:GrossCarryingAmountMember 2023-12-31 0000904851 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherIntangibleAssetsMember 2023-12-31 0000904851 ifrs-full:AccumulatedDepreciationAmortisationAndImpairmentMember ifrs-full:OtherIntangibleAssetsMember 2023-12-31 0000904851 ypf:Worl