XML 97 R75.htm IDEA: XBRL DOCUMENT
v3.21.1

Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
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:
|  | 2020 |  |  | 2019 |  |  | 2018 |
Net (loss) / profit |  |  | (69,649 | ) |  |  | (34,071 | ) |  |  | 38,613 |
Average number of shares outstanding |  |  | 392,555,569 |  |  |  | 392,314,842 |  |  |  | 392,302,437 |
Basic and diluted earnings per share |  |  | (177.42 | ) |  |  | (86.85 | ) |  |  | 98.43 |

X
- Definition The disclosure of earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2020-01-01 -Paragraph 66 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2020-en-r&anchor=para_66&doctype=Standard -URIDate 2020-01-01 + 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