XML 188 R172.htm IDEA: XBRL DOCUMENT
v3.25.1

Shareholders' Equity - Additional Information (Detail) $ in Millions, $ in Millions |  | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | ---
May 04, 2012 | Dec. 31, 2024 USD ($) shares | Dec. 31, 2022 USD ($) shares | Dec. 31, 2024 $ / shares | Apr. 26, 2024 USD ($) | Apr. 26, 2024 MXN ($) | Dec. 31, 2023 USD ($)
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Share capital |  | $ 3,922 |  |  |  |  |
Description in classes of shares |  | four classes of shares (A, B, C and D) |  |  |  |  |
Par value of share | $ / shares |  |  |  | $ 10 |  |  |
Description of voting rights |  | 1 vote per share |  |  |  |  |
Description of shares based on grants outstanding |  | the affirmative vote of the Argentine Government is required for: (i) mergers; (ii) acquisitions of more than 50% of YPF shares in an agreed or hostile bid; (iii) transfers of all the YPF’s exploitation and exploration rights; (iv) the voluntary dissolution of YPF; (v) change of corporate and/or tax address outside Argentina; or (vi) make an acquisition that would result in the purchaser holding 15% or more of the Company’s capital stock, or 20% or more of the outstanding Class D shares. Items (iii) and (iv) also require prior approval by the Argentine Congress. |  |  |  |  |
Repurchase of own shares issued, shares | shares |  |  | 1,888,798 |  |  |  |
Repurchase of own shares issued, value |  |  | $ 28 |  |  |  |
Legal reserves as a percentage of net profit prior year adjustments and transfer from other comprehensive income minimum |  | 5.00% |  |  |  |  |
Maximum percentage of legal reserve |  | 20.00% |  |  |  |  |
Statutory reserve |  | $ 787 |  |  |  |  |
Restricted distribution of retained earnings |  | 70 |  |  |  |  |
Distributable retained earnings subject to restriction acquisition cost of treasury shares |  | 28 |  |  |  |  |
Distributable retained earnings subject to restriction balance of share premium account |  | 42 |  |  |  |  |
Retained earnings |  | $ 7,146 | $ 5,947 |  |  |  | $ 4,445
Unappropriated Retained Earnings and Losses [Member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Retained earnings |  |  |  |  | $ 1,244 | $ 1,003,419 |
Reserves for Purchase Of Treasury Share [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Retained earnings |  |  |  |  | 36 | 28,745 |
Reserve of gains and losses from investments in equity instruments [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Retained earnings |  |  |  |  | $ 4,236 | $ 3,418,972 |
Expropation Shares of YPF Owned by Repsol [Member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Proportion of ownership interests in equity | 57.43% |  |  |  |  |  |
Petersen Energia SAU and Affiliates [Member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Participation in the capital stock | 25.46% |  |  |  |  |  |
Federal Government [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Percentage of shares subject to expropriation | 51.00% |  |  |  |  |  |
State or Province [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Percentage of shares subject to expropriation | 49.00% |  |  |  |  |  |
Ordinary shares [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Number of shares of common stock | shares |  | 393,312,793 |  |  |  |  |
Class A Shares [member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Common shares outstanding | shares |  | 3,764 |  |  |  |  |
Proportion of maximum shares acquired by related party |  | 50.00% |  |  |  |  |
Percentage of voting equity interests acquired |  | 50.00% |  |  |  |  |
Capital Stock [Member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Proportion of maximum shares acquired by related party |  | 15.00% |  |  |  |  |
Percentage of voting equity interests acquired |  | 15.00% |  |  |  |  |
Class D Shares [Member] |  |  |  |  |  |  |
Disclosure Of Detailed information Of Share Capital [line items] |  |  |  |  |  |  |
Proportion of maximum shares acquired by related party |  | 20.00% |  |  |  |  |
Percentage of voting equity interests acquired |  | 20.00% |  |  |  |  |

X
- Definition The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 79 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_79_a_iv&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NumberOfSharesOutstanding
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The nominal value per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 79 -Subparagraph a -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_79_a_iii&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ParValuePerShare
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Total for all business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B64 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The decrease in equity resulting from the purchase of treasury shares. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 106 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_106_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PurchaseOfTreasuryShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition A component of equity representing the entity's cumulative undistributed earnings or deficit. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph IG6 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_IG6&doctype=Implementation%20Guidance -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RetainedEarnings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A component of equity representing reserves created based on legal requirements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_StatutoryReserve
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of classes of shares. + References No definition available. + Details
Name: | ypf_DescriptionOfClassesOfShares
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of grant based on shares outstanding. + References No definition available. + Details
Name: | ypf_DescriptionOfGrantBasedOnSharesOutstanding
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of voting rights. + References No definition available. + Details
Name: | ypf_DescriptionOfVotingRights
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure Of Detailed information Of Share Capital [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedInformationOfShareCapitalLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Distributable retained earnings subject to restriction acquisition cost of treasury shares. + References No definition available. + Details
Name: | ypf_DistributableRetainedEarningsSubjectToRestrictionAcquisitionCostOfTreasuryShares
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Distributable retained earnings subject to restriction balance of share premium account. + References No definition available. + Details
Name: | ypf_DistributableRetainedEarningsSubjectToRestrictionBalanceOfSharePremiumAccount
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Legal reserves as a percentage of net profit prior year adjustments and transfer from other comprehensive income minimum. + References No definition available. + Details
Name: | ypf_LegalReservesAsAPercentageOfNetProfitPriorYearAdjustmentsAndTransferFromOtherComprehensiveIncomeMinimum
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of legal reserve. + References No definition available. + Details
Name: | ypf_MaximumPercentageOfLegalReserve
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares subscribed. + References No definition available. + Details
Name: | ypf_NumberOfSharesSubscribed
Namespace Prefix: | ypf_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of shares subject to expropriation. + References No definition available. + Details
Name: | ypf_PercentageOfSharesSubjectToExpropriation
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion of ownership interest in equity. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestInEquity
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion of ownership interest in shares by related party. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestInSharesByRelatedParty
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Restricted distribution of retained earnings. + References No definition available. + Details
Name: | ypf_RestrictedDistributionOfRetainedEarnings
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Treasury Stock Shares Acquired 1 + References No definition available. + Details
Name: | ypf_TreasuryStockSharesAcquired1
Namespace Prefix: | ypf_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ypf_UnappropriatedRetainedEarningsAndLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ypf_ReservesForPurchaseOfTreasuryShareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_RepsolSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_PetersenEnergiaSauAndAffiliatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_FederalGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_StateOrProvinceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ifrs-full_OrdinarySharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ypf_ClassASharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ypf_CapitalStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ypf_ClassDSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |