XML 174 R153.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Revenues - Summary of Credits, Contract Assets and Contract Liabilities (Detail) - USD ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Disclosure of revenue [abstract] |  |  |
Current Credits for contracts included in the item "Trade receivables" | $ 993 | $ 1,490 | $ 1,334
Current contract assets | 10 | 1 | 13
Current contract liabilities | 69 | 77 | 130
Noncurrent Credits for contracts included in the item "Trade receivables" | 41 | 51 | 116
Noncurrent Contract liabilities | $ 34 | $ 0 | $ 0

X
- Definition The amount of current contract assets. [Refer: Contract assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 105 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentContractAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current contract liabilities. [Refer: Contract liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 105 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentContractLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current receivables from contracts with customers. [Refer: Receivables from contracts with customers] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 105 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CurrentReceivablesFromContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current contract liabilities. [Refer: Contract liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 105 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NoncurrentContractLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current receivables from contracts with customers. [Refer: Receivables from contracts with customers] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2023-01-01 -Paragraph 105 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_NoncurrentReceivablesFromContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure of revenue [abstract] + References No definition available. + Details
Name: | ypf_DisclosureOfRevenueAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration