XML 115 R81.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Financial Risk Management - Schedule of Breakdown of Effect a Variation of 10% in Prevailing Exchange Rates on Net Income (Details) (Detail) - Exchange rate risk [member] $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 ARS ($)
Positive variation impact on net income before income tax corresponding to financial assets and liabilities [member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Income/(loss) for fiscal year ended December 31, 2017 | $ 1,248
Negative variation impact on net income before income tax corresponding to financial assets and liabilities [member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Income/(loss) for fiscal year ended December 31, 2017 | $ (1,248)
U.S. Dollar [member] | Positive variation impact on net income before income tax corresponding to financial assets and liabilities [member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Appreciation (+) / depreciation (-) of exchange rate of peso against U.S. dollar | 10.00%
U.S. Dollar [member] | Negative variation impact on net income before income tax corresponding to financial assets and liabilities [member] |
Disclosure of nature and extent of risks arising from financial instruments [line items] |
Appreciation (+) / depreciation (-) of exchange rate of peso against U.S. dollar | (10.00%)

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 exchange differences recognised in profit or loss that arise from foreign currency transactions, excluding those arising on financial instruments measured at fair value through profit or loss in accordance with IFRS 9. [Refer: At fair value [member]; Financial instruments, class [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Section A Statement of cash flows for an entity other than a financial institution -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=sect_AStatementofcashflowsforanentityotherthanafinancialinstitution&doctype=Illustrative%20Examples -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 21 -IssueDate 2017-01-01 -Paragraph 52 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=21&date=2017-03-01&anchor=para_52_a&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of appreciation or depreciation exchange rate of peso against us dollar. + References No definition available. + Details
Name: | ypf_PercentageOfAppreciationOrDepreciationOnExchangeRateOfForeignCurrency
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ypf_ForeignCurrencyRiskAxis=ypf_PositiveVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_ForeignCurrencyRiskAxis=ypf_NegativeVariationImpactOnNetIncomeBeforeIncomeTaxCorrespondingToFinancialAssetsAndLiabilitiesMember
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: |