XML 162 R128.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Loans - Schedule of Loans (Parenthetical) (Detail) $ in Millions, $ in Millions | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2017 ARS ($) | Dec. 31, 2016 ARS ($) | Dec. 31, 2015 ARS ($) | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($) | Dec. 31, 2014 ARS ($)
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Repurchase of negotiable obligations | $ 309 | $ 672 | $ 1,349 |  |  |
Loans from banks | 191,063 | 154,345 | 105,751 |  |  | $ 49,305
Cancellation of negotiable obligations | 1,528 | 3,253 | 9,970 | $ 15,850 | $ 11,248 |
Proceeds from loans | 54,719 | 101,322 | 55,158 |  |  |
Banco Nacion Argentina [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans from banks | 2,500 | 2,105 | 460 |  |  |
Bank overdrafts |  | 1,440 | 1,926 |  |  |
Banco Nacion Argentina [member] | Badlar Variable Rate Plus Margin of 3.5 Percentage [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans accrued | $ 1,500 | $ 2,000 |  |  |  |
Interest rate | 3.50% | 3.50% |  | 3.50% | 3.50% |
Banco Nacion Argentina [member] | Badlar Variable Rate Plus Spread of 4 Percentage [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans accrued |  | $ 105 | $ 250 |  |  |
Interest rate |  | 4.00% | 4.00% |  | 4.00% |
Banco Nacion Argentina [member] | Fixed interest rate [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans accrued | $ 1,000 |  | $ 210 |  |  |
Interest rate | 20.00% |  | 15.00% | 20.00% |  |
Negotiable obligations and financial loans [Member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Proceeds from loans | $ 492 | $ 4,960 | $ 2,575 |  |  |

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

X
- Definition The cash inflow from borrowings obtained. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 17 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_17_c&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Bank overdrafts. + References No definition available. + Details
Name: | ypf_BankOverdrafts1
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Negotiable obligations cancelled. + References No definition available. + Details
Name: | ypf_NegotiableObligationsCancelled
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Negotiable obligations repurchased. + References No definition available. + Details
Name: | ypf_NegotiableObligationsRepurchased
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_BancoNacionArgentinaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ypf_FinancialLoansAndNegotiableObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |