XML 160 R138.htm IDEA: XBRL DOCUMENT
v3.21.1

Taxes Payable - Summary of taxes payable (Detail) - ARS ($) $ in Millions | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | ---
Disclosure of Taxes Payable [Line Items] |  |  |
Non current | $ 215 | $ 1,428 | $ 2,175
Current | 15,764 | 11,437 | 10,027
VAT [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 3,523 | 3,532 | 2,274
Withholdings and Perceptions [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 1,838 | 2,070 | 1,631
Royalties [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 3,886 | 1,268 | 1,464
Tax on Fuels [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 3,142 | 635 | 1,290
IIBB [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 227 | 512 | 547
Miscellaneous [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Non current | 215 | 1,428 | 2,175
Current | $ 3,148 | $ 3,420 | $ 2,821

X
- Definition The amount of current payables on social security and taxes other than incomes tax. [Refer: Payables on social security and taxes other than income tax] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_CurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current payables on social security and taxes other than incomes tax. [Refer: Payables on social security and taxes other than income tax] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 78 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NoncurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of taxes payable [Line Items]. + References No definition available. + Details
Name: | ypf_DisclosureOfTaxesPayableLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_IvaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_WithholdingsAndPerceptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_RoyaltiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_TaxOnFuelsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_IibbMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_MiscellaneousMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |