XML 180 R158.htm IDEA: XBRL DOCUMENT
v3.21.1

Revenues - Summary of Credits, Contract Assets and Contract Liabilities (Detail) - ARS ($) $ in Millions | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | --- | ---
Disclosure of revenue [abstract] |  |  |
Current credits for contracts included in Trade Receivables | $ 98,832 | $ 100,706 | $ 59,419
Current contract assets | 871 | 203 | 420
Current contract liabilities | 6,824 | 7,404 | 4,996
Noncurrent Credits for contracts included in Trade Receivables | $ 15,505 | 6,785 | 7,804
Noncurrent Contract liabilities |  | $ 294 | $ 1,828

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 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 105 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2020-en-r&anchor=para_105&doctype=Standard -URIDate 2020-01-01 + 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