XML 141 R120.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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

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 2023-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard -URIDate 2023-03-23 + 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_DisclosureEvolutionOfTheProvisionForDoubtfulTradeReceivablesLineItems
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 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: |