XML 159 R143.htm IDEA: XBRL DOCUMENT
v3.25.1

Taxes Payable - Summary of taxes payable (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Disclosure of Taxes Payable [Line Items] |  |  |
Non current | $ 0 | $ 0 | $ 1
Current | 247 | 139 | 173
VAT [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 19 | 22 | 26
Withholdings and Perceptions [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 71 | 21 | 46
Royalties [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 84 | 75 | 77
Fuels tax [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 30 |  |
Turnover tax [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Current | 7 | 7 | 8
Miscellaneous [member] |  |  |
Disclosure of Taxes Payable [Line Items] |  |  |
Non current |  |  | 1
Current | $ 36 | $ 14 | $ 16

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 2024-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78&doctype=Standard -URIDate 2024-03-27 + 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 2024-01-01 -Paragraph 78 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78&doctype=Standard -URIDate 2024-03-27 + 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_FuelsTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_TaxesByTypeAxis=ypf_TurnoverTaxPayableMember
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: |