XML 172 R138.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Costs - Detailed Information of Inventory Costs (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure of details of inventory costs [Abstract] |  |  |
Inventories at beginning of year | $ 21,820 | $ 19,258 | $ 13,001
Purchases for the year | 66,075 | 48,760 | 33,886
Production costs | 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)
Total | $ 211,812 | $ 177,304 | $ 119,537

X
- Definition The amount of costs relating to expenses directly or indirectly attributed to the goods or services sold, which may include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, unallocated production overheads and abnormal amounts of production costs of inventories. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 99 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_99&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_103&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_CostOfSales
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of current inventories. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 2 -IssueDate 2017-01-01 -Paragraph 36 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=2&date=2017-03-01&anchor=para_36_b&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 54 -Subparagraph g -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_54_g&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_68&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_Inventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of reclassification adjustments related to the net movement in regulatory deferral account balances, net of tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods. [Refer: Regulatory deferral account balances [member]; Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 14 -IssueDate 2017-01-01 -Paragraph 22 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=14&date=2017-03-01&anchor=para_22_b&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_ReclassificationAdjustmentsOnNetMovementInRegulatoryDeferralAccountBalancesNetOfTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of details of inventory costs. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailsOfInventoryCostsAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Inventory production costs. + References No definition available. + Details
Name: | ypf_InventoryProductionCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Inventory purchases. + References No definition available. + Details
Name: | ypf_InventoryPurchases
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Inventory translation effect. + References No definition available. + Details
Name: | ypf_InventoryTranslationEffect
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration