XML 61 R27.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Costs | 12 Months Ended
--- | ---
Dec. 31, 2017
Text block1 [abstract] |
Costs | 20. COSTS
|  | 2017 |  |  | 2016 |  |  | 2015 |
Inventories at beginning of year |  |  | 21,820 |  |  |  | 19,258 |  |  |  | 13,001 |
Purchases for the year |  |  | 66,075 |  |  |  | 48,760 |  |  |  | 33,886 |
Production costs(1) |  |  | 147,423 |  |  |  | 127,075 |  |  |  | 85,550 |
Translation effect |  |  | 3,877 |  |  |  | 4,031 |  |  |  | 6,358 |
Reclassifications and other movements |  |  | (92 | ) |  |  | — |  |  |  | — |
Inventories at end of year |  |  | (27,291 | ) |  |  | (21,820 | ) |  |  | (19,258 | )
|  |  | 211,812 |  |  |  | 177,304 |  |  |  | 119,537 |
(1) | See Note 21.

X
- Definition The disclosure of expenses. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 10 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_10_e&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_DisclosureOfExpensesExplanatory
Namespace Prefix: | ifrs-full_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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