XML 91 R67.htm IDEA: XBRL DOCUMENT
v3.19.1

Earning Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2018
Text block [abstract] |
Summary of Earnings Per Share | The following table shows the net income and the number of shares that have been used for the calculation of the basic and diluted earnings per share:
|  | 2018 |  |  | 2017 |  |  | 2016 |
Net profit (loss) |  |  | 38,613 |  |  |  | 12,340 |  |  |  | (28,237 | )
Average number of shares outstanding |  |  | 392,302,437 |  |  |  | 392,625,259 |  |  |  | 391,497,615 |
Basic and diluted earnings per share |  |  | 98.43 |  |  |  | 31.43 |  |  |  | (72.13 | )

X
- Definition The disclosure of earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2018-01-01 -Paragraph 66 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=33&date=2018-03-01&anchor=para_66&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_EarningsPerShareExplanatory
Namespace Prefix: | ifrs-full_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Text block [abstract] + References No definition available. + Details
Name: | ypf_TextBlockAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration