XML 22 R5.htm IDEA: XBRL DOCUMENT
v3.23.1

Consolidated statements of changes in shareholders equity (Parenthetical) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Corresponding to the effect of the translation | $ 1,431 | $ 1,237 | $ 1,175
Corresponding to recognition of result for the net monetary position of subsidiaries, associates and joint ventures with the Peso as functional currency | $ 937 | $ 673 | $ 513

X
- Definition The amount of reclassification adjustments related to exchange differences when the financial statements of foreign operations are translated, net of tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2022-03-24 -Paragraph 48 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2022-en-r&anchor=para_48&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 92 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_92&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationNetOfTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments corresponding to recognition of results from net monetary position. + References No definition available. + Details
Name: | ypf_ReclassificationAdjustmentsCorrespondingToRecognitionOfResultsFromNetMonetaryPosition
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration