XML 202 R180.htm IDEA: XBRL DOCUMENT
v3.21.1

Balances and Transactions with Related Parties - Information about Related Party (Parenthetical) (Detail) - Natural gas [member] $ in Millions | Dec. 31, 2020 ARS ($)
--- | ---
Disclosure of transactions between related parties [line items] |
Other provisions | $ 1,887
Net of liabilities | $ 4,239

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of assets less the amount of liabilities. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 1 -IssueDate 2020-01-01 -Paragraph IG63 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2020-en-r&anchor=para_IG63&doctype=Implementation%20Guidance -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_112_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NetAssetsLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of provisions other than provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2020-01-01 -Paragraph 84 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=37&code=ifrs-tx-2020-en-r&anchor=para_84_a&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 78 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_78_d&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_OtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_NaturalGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |