XML 127 R93.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Financial Instruments by Category - Additional Information (Detail) $ in Millions, $ in Millions | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2016 ARS ($) | Dec. 31, 2017 ARS ($) | Sep. 21, 2016 USD ($) | Jul. 13, 2016 USD ($) | Dec. 31, 2015 ARS ($)
BONAR Two Thousand Twenty US Dollar [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Bonds interest rate | 8.00% |  |  |  |
Bonds maturity year | 2020 |  |  |  |
Face value |  |  | $ 12 | $ 630 |
BONAR Two Thousand Twenty US Dollar [member] | Top of range [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Selling percentage of aggregate amount | 3.00% |  |  |  |
Accrued balance percentage | 12.00% |  |  |  |
Level 3 [member] | Estimated Fair Value of Loans [member] |  |  |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |  |  |
Other remaining financial loans | $ 157,133 | $ 200,264 |  |  | $ 106,336

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_112_c&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Accrued balance percentage. + References No definition available. + Details
Name: | ypf_AccruedBalancePercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Bond maturity year + References No definition available. + Details
Name: | ypf_BondMaturityYear
Namespace Prefix: | ypf_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Bonds issued interest rate. + References No definition available. + Details
Name: | ypf_BondsIssuedInterestRate
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other remaining financial loans. + References No definition available. + Details
Name: | ypf_OtherRemainingFinancialLoans
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Selling percentage. + References No definition available. + Details
Name: | ypf_SellingPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_BONARTwoThousandTwentyUsDollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_EstimatedFairValueOfLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |