XML 117 R83.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Financial Risk Management - Additional Information (Details) (Detail) - ARS ($) | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Aggregate value of financial assets at fair value through profit or loss | $ 31,987,000,000 | $ 18,093,000,000 | $ 1,578,000,000
Provision for doubtful trade receivables | 1,323,000,000 |  |
Provision for other doubtful receivables | 292,000,000 |  |
Guarantees granted by third parties | 10,789,000,000 | 9,300,000,000 | 6,277,000,000
Executed guarantees received | 2,000,000 | $ 1,000,000 | $ 2,000,000
Other financial assets [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Maximum exposure to credit risk | $ 63,911,000,000 |  |
Other financial assets [member] | National Government And Direct Agencies Accounts [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Percentage of maximum exposure to credit risk | 31.00% |  |
Maximum exposure to credit risk | $ (14,911,000,000) |  |
Interest rate risk [member] | U.S. Dollar [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Percentage of financial loans denominated in foreign currency | 77.00% |  |
Financial loans denominated in foreign currency, value | $ 146,353,000,000 |  |
Interest rate risk [member] | Switzerland, Francs [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Percentage of financial loans denominated in foreign currency | 3.00% |  |
Financial loans denominated in foreign currency, value | $ 5,785,000,000 |  |
Interest rate risk [member] | LIBOR [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 8,509,000,000 |  |
Interest rate risk [member] | LIBOR [member] | Bottom of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 1.40% |  |
Interest rate risk [member] | LIBOR [member] | Top of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 7.50% |  |
Interest rate risk [member] | BADLAR [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Loans accrued | $ 31,500,000,000 |  |
Interest rate risk [member] | BADLAR [member] | Bottom of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 0.00% |  |
Interest rate risk [member] | BADLAR [member] | Top of range [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Variable interest rate | 6.00% |  |
Other price risk [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Aggregate value of financial assets at fair value through profit or loss | $ 31,987,000,000 |  |
Liquidity risk [member] |  |  |
Disclosure of nature and extent of risks arising from financial instruments [line items] |  |  |
Amount available for liquidity | 44,454,000,000 |  |
Cash | 9,672,000,000 |  |
Other liquid financial assets | 19,066,000,000 |  |
Available credit lines with banks | $ 15,716,000,000 |  |
Percentage of outstanding loans that are subject to financial covenants related to leverage ratio and debt service coverage ratio | 52.00% |  |

X
- Definition A classification of cash equivalents representing banking arrangements that the entity does not separately disclose in the same statement or note. [Refer: Cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_45&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_BankingArrangementsClassifiedAsCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 The amount of cash on hand and demand deposits. [Refer: Cash on hand] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_45&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_Cash
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of financial assets that are measured at fair value and for which gains (losses) are recognised in profit or loss. A financial asset shall be measured at fair value through profit or loss unless it is measured at amortised cost or at fair value through other comprehensive income. A gain (loss) on a financial asset measured at fair value shall be recognised in profit or loss unless it is part of a hedging relationship, it is an investment in an equity instrument for which the entity has elected to present gains and losses in other comprehensive income or it is a financial asset measured at fair value through other comprehensive income. [Refer: At fair value [member]; Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2017-01-01 -Paragraph 8 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-01&anchor=para_8_a&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount that best represents the maximum exposure to credit risk without taking into account any collateral held or other credit enhancements (for example, netting agreements that do not qualify for offset in accordance with IAS 32). [Refer: Credit risk [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Effective 2018-01-01 -Name IFRS -Number 7 -IssueDate 2017-01-01 -Paragraph 35K -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-01&anchor=para_35K_a&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2018-01-01 -Name IFRS -Number 7 -IssueDate 2017-01-01 -Paragraph 36 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-02&anchor=para_36_a&doctype=Standard&book=B -URIDate 2017-03-09 + Details
Name: | ifrs-full_MaximumExposureToCreditRisk
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of cash and cash equivalents that the entity does not separately disclose in the same statement or note. [Refer: Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 45 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_45&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_OtherCashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount available for liquidity. + References No definition available. + Details
Name: | ypf_AmountAvailableForLiquidity
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Executed Guarantees Received + References No definition available. + Details
Name: | ypf_ExecutedGuaranteesReceived
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial loans accrued. + References No definition available. + Details
Name: | ypf_FinancialLoansAccrued
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Financial loans denominated in foreign currency, value. + References No definition available. + Details
Name: | ypf_FinancialLoansDenominatedInForeignCurrencyValue
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Guarantees Granted by Third Parties + References No definition available. + Details
Name: | ypf_GuaranteesGrantedByThirdParties
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of financial loans denominated in foreign currency. + References No definition available. + Details
Name: | ypf_PercentageOfFinancialLoansDenominatedInForeignCurrency
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of maximum exposure to credit risk. + References No definition available. + Details
Name: | ypf_PercentageOfMaximumExposureToCreditRisk
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Outstanding Loans That Are Subject To Financial Covenants Related To Leverage Ratio And Debt Service Coverage Ratio + References No definition available. + Details
Name: | ypf_PercentageOfOutstandingLoansThatAreSubjectToFinancialCovenantsRelatedToLeverageRatioAndDebtServiceCoverageRatio
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Provision for doubtful trade receivables. + References No definition available. + Details
Name: | ypf_ProvisionForDoubtfulTradeReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Provision for other doubtful receivables + References No definition available. + Details
Name: | ypf_ProvisionForOtherDoubtfulReceivables
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | ifrs-full_InternalCreditGradesAxis=ypf_NationalGovernmentAndDirectAgenciesAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_InterestRateRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=currency_USD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=currency_CHF
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_RangeAxis=ifrs-full_BottomOfRangeMember
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_TypesOfInterestRatesAxis=ypf_BadlarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_OtherPriceRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_LiquidityRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |