XML 203 R181.htm IDEA: XBRL DOCUMENT
v3.21.1

Balances and Transactions with Related Parties - Summary of Compensation of Key Management Personnel (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Disclosure of key management personnel compensation [abstract] |  |  |
Short-term employee benefits | $ 719 | $ 515 | $ 337
Share-based benefits | 161 | 123 | 55
Post-retirement benefits | 32 | 22 | 14
Termination benefits | 242 |  |
Total | $ 1,154 | $ 660 | $ 406

X
- Definition The amount of compensation to key management personnel. [Refer: Key management personnel of entity or parent [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 17 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_17&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_KeyManagementPersonnelCompensation
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of compensation to key management personnel in the form of post-employment benefits. [Refer: Key management personnel of entity or parent [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_17_b&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_KeyManagementPersonnelCompensationPostemploymentBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of compensation to key management personnel in the form of share-based payments. [Refer: Key management personnel of entity or parent [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_17_e&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_KeyManagementPersonnelCompensationSharebasedPayment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of compensation to key management personnel in the form of short-term employee benefits. [Refer: Key management personnel of entity or parent [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_17_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_KeyManagementPersonnelCompensationShorttermEmployeeBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of compensation to key management personnel in the form of termination benefits. [Refer: Termination benefits expense; Key management personnel of entity or parent [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 17 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_17_d&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_KeyManagementPersonnelCompensationTerminationBenefits
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of key management personnel compensation. + References No definition available. + Details
Name: | ypf_DisclosureOfKeyManagementPersonnelCompensationAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration