XML 147 R113.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Inventories - Summary of Inventories (Detail) - ARS ($) $ in Millions | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
--- | --- | --- | --- | ---
Disclosure of inventories [line items] |  |  |  |
Inventories | $ 27,291 | $ 21,820 | $ 19,258 | $ 13,001
Refined products [member] |  |  |  |
Disclosure of inventories [line items] |  |  |  |
Inventories | 16,260 | 13,390 | 10,709 |
Crude oil and natural gas [member] |  |  |  |
Disclosure of inventories [line items] |  |  |  |
Inventories | 8,474 | 6,551 | 7,155 |
Products in process [member] |  |  |  |
Disclosure of inventories [line items] |  |  |  |
Inventories | 640 | 411 | 169 |
Construction works in progress for third parties [member] |  |  |  |
Disclosure of inventories [line items] |  |  |  |
Inventories | 142 | 12 | 85 |
Raw materials, packaging materials and others [member] |  |  |  |
Disclosure of inventories [line items] |  |  |  |
Inventories | $ 1,775 | $ 1,456 | $ 1,140 |

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 Disclosure of inventories [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfInventoriesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_RefinedProductsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_CrudeOilAndCommercializedNaturalGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_ProductsInProcessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_ConstructionWorksInProgressForThirdPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=ypf_RawMaterialsPackagingMaterialsAndOthersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |