XML 167 R150.htm IDEA: XBRL DOCUMENT
v3.23.1

Revenues - Summary of Credits, Contract Assets and Contract Liabilities (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Disclosure of revenue [abstract] |  |  |
Current credits for contracts included in Trade Receivables | $ 1,490 | $ 1,334 | $ 1,176
Current contract assets | 1 | 13 | 10
Current contract liabilities | 77 | 130 | 81
Noncurrent Credits for contracts included in Trade Receivables | $ 51 | $ 116 | $ 183

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