XML 134 R117.htm IDEA: XBRL DOCUMENT
v3.23.1

Trade Receivables - Summary of Evolution of the Provision for Doubtful Trade Receivables (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Current [member] |  |  |
Disclosure Evolution Of the Provision For Doubtful Trade Receivables [line items] |  |  |
Balance at beginning of year | $ 102 | $ 125 | $ 110
Increases charged to expenses | 21 | 39 | 149
Decreases charged to income | (7) | (19) | (11)
Applications due to utilization | (7) | (25) | 0
Reclassifications | 0 | 0 | (78)
Net exchange and translation differences | (29) | (14) | (42)
Result from net monetary position | (4) | (4) | (3)
Balance at end of period | 76 | 102 | 125
Non current [member] |  |  |
Disclosure Evolution Of the Provision For Doubtful Trade Receivables [line items] |  |  |
Balance at beginning of year | 95 | 105 | 0
Increases charged to expenses | 0 | 10 | 32
Reclassifications | 0 | 0 | 78
Net exchange and translation differences | (40) | (20) | (5)
Balance at end of period | $ 55 | $ 95 | $ 105

X
- Definition The amount due from customers for goods and services sold. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_TradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure evolution of the provision for doubtful trade receivables line item. + References No definition available. + Details
Name: | ypf_DisclosureEvolutionOfTheProvisionForDoubtfulTradeReceivableslineItemsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase decrease charged to expenses in trade receivables. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseChargedToExpensesInTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase decrease charged to income in trade receivables. + References No definition available. + Details
Name: | ypf_IncreaseDecreaseChargedToIncomeInTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Trade receivables adjustments due to reclassifications. + References No definition available. + Details
Name: | ypf_TradeReceivablesAdjustmentsDueToReclassifications
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Trade receivables incurred due to utilization. + References No definition available. + Details
Name: | ypf_TradeReceivablesIncurredDueToUtilization
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Trade Receivables Reclassification Adjustments On Exchange Differences On Translation Net Of Tax + References No definition available. + Details
Name: | ypf_TradeReceivablesReclassificationAdjustmentsOnExchangeDifferencesOnTranslationNetOfTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Trade Receivables Result from net monetary position. + References No definition available. + Details
Name: | ypf_TradeReceivablesResultFromNetMonetaryPosition
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ypf_ClassOfProvisionAxis=ifrs-full_CurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_ClassOfProvisionAxis=ypf_NonCurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |