XML 120 R152.htm IDEA: XBRL DOCUMENT
v3.20.1

Revenues - Summary of Breakdown of Revenues by Type of Good or Service (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Disclosure of revenue [abstract] |  |  |
Revenue from natural gas produced by the Company | $ 71,491 | $ 55,882 | $ 28,341

X
- Definition The amount of revenue arising from the sale of natural gas. [Refer: Current natural gas; Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_112_c&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_RevenueFromSaleOfNaturalGas
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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