XML 46 R178.htm IDEA: XBRL DOCUMENT
v3.20.1

Balances and Transactions with Related Parties - Summary of Compensation of Key Management Personnel (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure of key management personnel compensation [abstract] |  |  |
Social Security contributions | $ 133 | $ 66 | $ 50

X
- Definition A class of employee benefits expense that represents social security contributions. [Refer: Employee benefits expense] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2019-01-01 -Paragraph 9 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2019-en-r&anchor=para_9&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_SocialSecurityContributions
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