XML 147 R125.htm IDEA: XBRL DOCUMENT
v3.21.1

Trade Receivables - Summary of Evolution of the Provision for Doubtful Trade Receivables (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Current [member] |  |  |
Disclosure Evolution Of the Provision For Doubtful Trade Receivables [line items] |  |  |
Balance at beginning of the fiscal year | $ 6,580 | $ 2,776 | $ 1,323
Modification of balance at beginning of the fiscal year |  |  | 425
Balance at beginning of the fiscal year | 6,580 | 2,776 | 1,748
Increases charged to expenses | 10,818 | 3,891 | 444
Decreases charged to income | (729) | (707) | (91)
Amounts incurred due to utilization |  | (112) |
Translation differences | 715 | 847 | 607
Result from net monetary position | (232) | (103) | 92
Reclassifications | (6,633) | (12) | (24)
Balance at end of period | 10,519 | $ 6,580 | $ 2,776
Non current [member] |  |  |
Disclosure Evolution Of the Provision For Doubtful Trade Receivables [line items] |  |  |
Increases charged to expenses | 2,228 |  |
Reclassifications | 6,633 |  |
Balance at end of period | $ 8,861 |  |

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 2020-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78_b&doctype=Standard -URIDate 2020-01-01 + 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 Modification of trade receivable balance due to change in accounting policy. + References No definition available. + Details
Name: | ypf_ModificationOfTradeReceivableBalanceDueToChangeInAccountingPolicy
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restate trade receivables. + References No definition available. + Details
Name: | ypf_RestatedTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: |