XML 148 R124.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables - Summary of Evolution of the Provision for Doubtful Trade Receivables (Detail) - Provision for Doubtful Trade Receivable [member] - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure Evolution Of the Provision For Doubtful Trade Receivables [line items] |  |  |
Balance at beginning of the fiscal year | $ 2,776 | $ 1,323 | $ 1,084
Modification of balance at beginning of the fiscal year |  | 425 |
Balance at beginning of the fiscal year | 2,776 | 1,748 | 1,084
Increases charged to expenses | 3,891 | 444 | 222
Decreases charged to income | (707) | (91) | (194)
Amounts incurred due to utilization | (112) |  |
Translation differences | 847 | 607 | 92
Result from net monetary position | (103) | 92 |
Other movements | (12) | (24) | 119
Balance at end of period | $ 6,580 | $ 2,776 | $ 1,323

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 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 + 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. + References No definition available. + Details
Name: | ypf_ModificationOfTradeReceivableBalance
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 Due To Other Movements + References No definition available. + Details
Name: | ypf_TradeReceivablesDueToOtherMovements
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: | ifrs-full_ClassesOfAssetsAxis=ypf_ProvisionForDoubtfulTradeReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |