XML 208 R174.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Subsequent Events - Additional Information (Detail) $ in Millions, $ in Millions | Apr. 03, 2018 Installment | Feb. 08, 2018 USD ($) | Dec. 31, 2017 ARS ($) | Dec. 31, 2016 ARS ($) | Dec. 31, 2015 ARS ($) | Dec. 31, 2014 ARS ($)
--- | --- | --- | --- | --- | --- | ---
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Loans from banks |  |  | $ 191,063 | $ 154,345 | $ 105,751 | $ 49,305
Resolution of Compensation [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Percentage of amount in USD calculated using exchange rate at time of injection of natural gas | 85.00% |  |  |  |  |
Percentage of amount in USD calculated using exchange rate between time of injection and time of payment due | 15.00% |  |  |  |  |
Number of equal installment for payment of resolution of compensation | Installment | 30 |  |  |  |  |
Metrogas [member] | Unsecured Loans [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Loans from banks |  | $ 250 |  |  |  |
Debt repayment term |  | 36 months |  |  |  |
Frequency of debt pay off |  | 9 quarterly installments |  |  |  |
Loan payment period |  | As from the 12 months anniversary of the disbursement date |  |  |  |
Redemption price |  | 100.00% |  |  |  |
LIBOR [member] | Metrogas [member] | 0 to 1 year [member] | Unsecured Loans [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Variable interest rate |  | 3.00% |  |  |  |
LIBOR [member] | Metrogas [member] | Thirteenth To Eighteenth Month [member] | Unsecured Loans [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Variable interest rate |  | 3.50% |  |  |  |
LIBOR [member] | Metrogas [member] | Nineteenth To Twenty Fourth Month [Member] | Unsecured Loans [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Variable interest rate |  | 3.75% |  |  |  |
LIBOR [member] | Metrogas [member] | Later than Two Years [member] | Unsecured Loans [Member] |  |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |  |
Variable interest rate |  | 4.00% |  |  |  |

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_55&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2017-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-01&anchor=para_7&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_BorrowingsAdjustmentToInterestRateBasis
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt repayment term. + References No definition available. + Details
Name: | ypf_DebtRepaymentTerm
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of Loan Repayment Period + References No definition available. + Details
Name: | ypf_DescriptionOfLoanRepaymentPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Frequency of debt pay off. + References No definition available. + Details
Name: | ypf_FrequencyOfDebtPayOff
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equal installment for payment of resolution of compensation. + References No definition available. + Details
Name: | ypf_NumberOfEqualInstallmentForPaymentOfResolutionOfCompensation
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of amount in USD calculated using exchange rate at time of injection of natural gas. + References No definition available. + Details
Name: | ypf_PercentageOfAmountInUSDCalculatedUsingExchangeRateAtTimeOfInjectionOfNaturalGas
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of amount in USD calculated using exchange rate between time of injection and time of payment due. + References No definition available. + Details
Name: | ypf_PercentageOfAmountInUSDCalculatedUsingExchangeRateBetweenTimeOfInjectionAndTimeOfPaymentDue
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Redemption price percentage of aggregate principal amount. + References No definition available. + Details
Name: | ypf_RedemptionPricePercentageOfAggregatePrincipalAmount
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_ResolutionOfCompensationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRateregulatedActivitiesAxis=ypf_MetrogasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_UnsecuredLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ypf_LIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_ThirteenthToEighteenthMonthMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_NineteenthToTwentyFourthMonthMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_LaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |