XML 128 R94.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Financial Instruments by Category - Summary of Gains and Losses on Financial Instruments (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Disclosure of detailed information about financial instruments [line items] |  |  |
Interest income | $ 1,598 | $ 1,472 | $ 1,638
Interest loss | (18,385) | (18,109) | (8,618)
Financial accretion | (3,169) | (3,159) | (1,987)
Net exchange differences | 8,950 | 11,611 | 20,214
Fair value gains on financial assets at fair value through profit or loss | 2,208 | 1,826 | 446
Gains on derivative financial instruments |  | 213 | 464
Net financial results | (8,798) | (6,146) | 12,157
Financial and non-financial Assets / Liabilities at amortized cost [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Interest income | 1,598 | 1,472 | 1,638
Interest loss | (18,385) | (18,109) | (8,618)
Financial accretion | (3,169) | (3,159) | (1,987)
Net exchange differences | 8,950 | 11,611 | 20,214
Net financial results | (11,006) | (8,185) | 11,247
Financial Assets / Liabilities at fair value through profit or loss [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Fair value gains on financial assets at fair value through profit or loss | 2,208 | 1,826 | 446
Gains on derivative financial instruments |  | 213 | 464
Net financial results | $ 2,208 | $ 2,039 | $ 910

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 amount of income or cost associated with interest and other financing activities of the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 85 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_85&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_FinanceIncomeCost
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) on financial assets at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2017-01-01 -Paragraph 20 -Subparagraph a -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-01&anchor=para_20_a_i&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLoss
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of expense arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 23 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_23_d&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 28 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_28_e&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2017-01-01 -Paragraph B13 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2017-03-01&anchor=para_B13_f&doctype=Appendix&seq=2 -URIDate 2017-03-09 + Details
Name: | ifrs-full_InterestExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of income arising from interest. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 23 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_23_c&doctype=Standard -URIDate 2017-03-09 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2017-01-01 -Paragraph 28 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=8&date=2017-03-01&anchor=para_28_e&doctype=Standard -URIDate 2017-03-09 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2018-01-01 -Name IAS -Number 18 -IssueDate 2017-01-01 -Paragraph 35 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=18&date=2017-03-02&anchor=para_35_b_iii&doctype=Standard&book=B -URIDate 2017-03-09 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2017-01-01 -Paragraph B13 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2017-03-01&anchor=para_B13_e&doctype=Appendix&seq=2 -URIDate 2017-03-09 Reference 5: 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_RevenueFromInterest
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financial accretion. + References No definition available. + Details
Name: | ypf_FinancialAccretion
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gain (loss) on derivative financial instruments. + References No definition available. + Details
Name: | ypf_GainLossOnDerivativeFinancialInstruments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net foreign exchange gain (loss). + References No definition available. + Details
Name: | ypf_NetForeignExchangeGainLoss
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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