XML 171 R154.htm IDEA: XBRL DOCUMENT
v3.23.1

Other Net Operating Results (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of Other Operating Results Net [abstract] |  |  |  |
Result for sale of participation in areas | [1] |  | $ 21 | $ 192
Result from sale of assets held for disposal |  |  | 57 |
Lawsuits |  | $ 145 | (341) | (70)
Insurance |  |  | 15 | 56
Result for contractual commitment Exmar | [2] |  |  | (105)
Miscellaneous |  | 5 | 16 | 20
Other operating results, net |  | $ 150 | $ (232) | $ 93
[1] | See Note 34.b).
[2] | See Note 34.d).

X
- Definition The amount of operating income (expense) that the entity does not separately disclose in the same statement or note. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 85 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherOperatingIncomeExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Disclosure of Other Operating Results Net [abstract] + References No definition available. + Details
Name: | ypf_DisclosureOfOtherOperatingResultsNetAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Insurance other operating income. + References No definition available. + Details
Name: | ypf_InsuranceOtherOperatingIncome
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Lawsuits other operating expense. + References No definition available. + Details
Name: | ypf_LawsuitsOtherOperatingExpense
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Miscellaneous and other operating income/expense. + References No definition available. + Details
Name: | ypf_MiscellaneousandOtherOperatingIncomeExpense
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Result for contractual commitment other net operating loss. + References No definition available. + Details
Name: | ypf_ResultForContractualCommitmentOtherNetOperatingLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Result for sale of participation in areas other operating expense. + References No definition available. + Details
Name: | ypf_ResultForSaleOfParticipationInAreasOtherOperatingExpense
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Result from sale of assets held for disposal. + References No definition available. + Details
Name: | ypf_ResultFromSaleOfAssetsHeldForDisposal
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration