XML 96 R79.htm IDEA: XBRL DOCUMENT
v3.23.1

Basis of Preparation of the Consolidated Financial Statements - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Use of estimates | The preparation of financial statements at a certain date requires the Company to make estimates and assessments affecting the amount of assets and liabilities recorded, contingent assets and liabilities disclosed at such date, as well as income and expenses recorded during the fiscal year. Future results might differ from the estimates and assessments made on the date of preparation of these consolidated financial statements. |  |  |
Consolidation policies | This capacity is, in general but not solely, obtained by the direct or indirect ownership of more than 50% of the voting shares of an entity. |  |  |
Maximum accumulated inflation rate | In recent years, inflation in Argentina has been high, with an accumulated inflation rate exceeding 100% over the last 3 years. |  |  |
Description of significant influence in associates | Associates are those entities in respect of which the Group has significant influence, understood as the power to participate in the financial and operating policy decisions of the investee but not control or joint control over those policies. Significant influence is presumed in companies in which a company has an interest of 20% or more and less than 50%. |  |  |
Useful life of cash generating units | 5 years |  |  |
Shareholders equity attributable to shareholders of the parent company | $ 10,552 | $ 8,264 | $ 8,131 | $ 9,167
Assets classified as disposal group held for sale | 0 | 1 | 6 |
Share trading premiums | 38 |  |  |
Revenues | 18,757 | 13,682 | 9,690 |
Selling expenses | $ 1,896 | $ 1,507 | $ 1,324 |
Dilutive effect of share options on number of ordinary shares | 0 | 0 | 0 |
Increase (decrease) due to changes in accounting policy [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Revenues |  | $ 450 | $ 322 |
Selling expenses |  | 450 | 322 |
Legal reserve [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Shareholders equity attributable to shareholders of the parent company | $ 787 | $ 787 | $ 787 | $ 787
Metrogas S.A. [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Percentage of non-controlling interest acquired | (30.00%) |  |  |
YTEC [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Percentage of non-controlling interest acquired | (49.00%) |  |  |
Bottom of range [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Percentage of defined contribution plan | 3.00% |  |  |
Bottom of range [member] | Legal reserve [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Percentage of legal reserve transferred | 5.00% |  |  |
Top of range [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Percentage of defined contribution plan | 10.00% |  |  |
Top of range [member] | Legal reserve [member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Maximum legal reserve of subscribed Capital plus adjustment to contribution | 20.00% |  |  |
Consolidated entities [Member] |  |  |  |
Disclosure of estimated useful life of the Property, plant and equipment [line items] |  |  |  |
Investment Owned Percent Of Net Assets | 100.00% |  |  |

X
- Definition The description of the nature of assets that are subject to assumptions that have a significant risk of resulting in a material adjustment to the amounts of those assets within the next financial year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 125 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_125_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DescriptionOfNatureOfAssetsWithSignificantRiskOfMaterialAdjustmentsWithinNextFinancialYear
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of dilutive potential ordinary shares that relate to the assumed exercise of the entity's share options. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 33 -IssueDate 2022-03-24 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_70_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DilutiveEffectOfShareOptionsOnNumberOfOrdinaryShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfAssetsAndLiabilitiesWithSignificantRiskOfMaterialAdjustmentLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of costs relating to the distribution of goods and services. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 99 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DistributionCosts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of residual interest in the assets of the entity after deducting all its liabilities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2022-03-24 -Paragraph 24 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_24_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 1 -IssueDate 2022-03-24 -Paragraph 32 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_32_a_i&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_a&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_b&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 13 -IssueDate 2022-03-24 -Paragraph 93 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_e&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_Equity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 28 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 23 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_a&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 32 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_32&doctype=Standard -URIDate 2022-03-24 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard -URIDate 2022-03-24 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2022-03-24 -Paragraph 34 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard -URIDate 2022-03-24 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2022-03-24 -Paragraph 33 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2022-03-24 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B12 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph B10 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2022-03-24 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 82 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_a&doctype=Standard -URIDate 2022-03-24 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 103 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard -URIDate 2022-03-24 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 102 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_Revenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Accumulated inflation rate description. + References No definition available. + Details
Name: | ypf_AccumulatedInflationRateDescription
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Common Stock Voting Rights + References No definition available. + Details
Name: | ypf_CommonStockVotingRights1
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Current assets or disposal groups classified as held for sale + References No definition available. + Details
Name: | ypf_CurrentAssetsOrDisposalGroupsClassifiedAsHeldForSale
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Description of significant influence in associates. + References No definition available. + Details
Name: | ypf_DescriptionOfSignificantInfluenceInAssociates
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Owned Percent Of Net Assets 1. + References No definition available. + Details
Name: | ypf_InvestmentOwnedPercentOfNetAssets1
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of defined contribution plan. + References No definition available. + Details
Name: | ypf_PercentageOfDefinedContributionPlan
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of maximum legal reserve. + References No definition available. + Details
Name: | ypf_PercentageOfMaximumLegalReserve
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of minimum legal reserve. + References No definition available. + Details
Name: | ypf_PercentageOfMinimumLegalReserve
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of non-controlling interest acquired. + References No definition available. + Details
Name: | ypf_PercentageOfNoncontrollingInterestAcquired
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share trading premiums. + References No definition available. + Details
Name: | ypf_ShareTradingPremiums
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of cash generating units. + References No definition available. + Details
Name: | ypf_UsefulLifeOfCashGeneratingUnits
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis=ifrs-full_FinancialEffectOfChangesInAccountingPolicyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ConsolidatedStructuredEntitiesAxis=ifrs-full_ConsolidatedStructuredEntitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |