XML 151 R129.htm IDEA: XBRL DOCUMENT
v3.21.1

Provisions - Summary of Changes in Group's Provisions (Parenthetical) (Detail) - ARS ($) $ in Millions | 9 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Dec. 31, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure of provisions [line items] |  |  |  |  |
Liabilities associated to assets held for disposal |  |  |  |  | $ (4,193)
Tax claims reclassified to tax charges | $ 10,572 |  |  |  |
Hydrocarbon Wells Abandonmnet Cost [member] |  |  |  |  |
Disclosure of provisions [line items] |  |  |  |  |
Abandonment of hydrocarbon wells cost |  | $ (13,918) | $ 1,172 | $ (11,710) |
Liabilities associated to assets held for disposal |  |  |  | $ (3,133) |
Hydrocarbon Wells Abandonmnet Cost [member] | Extended Moratorium [Member] |  |  |  |  |
Disclosure of provisions [line items] |  |  |  |  |
Tax claims reclassified to tax charges |  | 2,953 |  |  |
Recovery of Liabilities of Dispute relating to tax Deduction |  | $ 3,645 |  |  |

X
- Definition The increase (decrease) in property, plant and equipment resulting from transfers and changes that the entity does not separately disclose in the same statement or note. [Refer: Property, plant and equipment] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 16 -IssueDate 2020-01-01 -Paragraph 73 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2020-en-r&anchor=para_73_e&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesPropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of liabilities included in disposal groups classified as held for sale. [Refer: Liabilities; Disposal groups classified as held for sale [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2020-01-01 -Paragraph 38 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2020-en-r&anchor=para_38&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 54 -Subparagraph p -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_54_p&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of provisions. + References No definition available. + Details
Name: | ypf_DisclosureOfProvisionsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Liabilities Decrease Through Balances Recovered in Current Period. + References No definition available. + Details
Name: | ypf_LiabilitiesDecreaseThroughBalancesRecoveredInCurrentPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Taxes payable due in tax claims. + References No definition available. + Details
Name: | ypf_TaxesPayableDueInTaxClaims
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_HydrocarbonWellsAbandonmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_MoratoriumAxis=ypf_ExtendedMoratoriumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |