XML 148 R131.htm IDEA: XBRL DOCUMENT
v3.23.1

Taxes Payable - Summary of taxes payable (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Disclosure of Taxes Payable [Line Items] |  |  |
Non current | $ 1 | $ 2 | $ 3
Current | 173 | 143 | 188
VAT [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 26 | 20 | 42
Withholdings and Perceptions [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 46 | 32 | 22
Royalties [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 77 | 61 | 46
Tax on Fuels [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 0 | 7 | 37
IIBB [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 8 | 3 | 3
Miscellaneous [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Non current | 1 | 2 | 3
Current | $ 16 | $ 20 | $ 38

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 2022-03-24 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78&doctype=Standard -URIDate 2022-03-24 + 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: |