XML 199 R182.htm IDEA: XBRL DOCUMENT
v3.23.1

Employee Benefit Plans and Similar Obligations - Summary of Share Based Compensation Plan (Plan 2020-2023) (Detail) - Plan 2020-2023 [member] $ / shares in Units, $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) $ / shares | Dec. 31, 2021 USD ($) $ / shares | Dec. 31, 2020 USD ($) $ / shares
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |  |
Amount at the beginning of the fiscal year | 469,779 | 774,150 | 0
Granted |  |  | 774,150
Settled | (308,298) | (263,914) |
Expired | (22,435) | (40,457) |
Amount at the end of the fiscal year | 139,046 | 469,779 | 774,150
Expense recognized during the fiscal year | $ | $ 1 | $ 2 | $ 1
Fair value of shares on grant date (in U.S. dollars) | $ / shares | $ 4.75 | $ 4.75 | $ 4.75

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_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense from share-based payment transactions with employees. [Refer: Expense from share-based payment transactions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_d&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercised in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options expired in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_v&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options granted in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share Based Payment Arrangement Options Grants In Period Weighted Average Grant Date Fair Value + References No definition available. + Details
Name: | ypf_ShareBasedPaymentArrangementOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | ypf_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=ypf_ShareBasedBenefitPlanTwoThousandTwentyToTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |