XML 55 R142.htm IDEA: XBRL DOCUMENT
v3.20.1

Loans - Schedule of Loans (Parenthetical) (Detail) $ in Millions, $ in Millions | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2019 ARS ($) | Dec. 31, 2018 ARS ($) | Dec. 31, 2017 ARS ($) | Dec. 31, 2019 USD ($) | Dec. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) | Dec. 31, 2016 ARS ($)
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Repurchase of negotiable obligations | $ 326 | $ 410 | $ 309 |  |  |  |
Loans accrued | 526,760 | 335,078 | 191,063 |  |  |  | $ 154,345
Cancellation of negotiable obligations | 4,643 | 2,634 | 1,528 |  |  |  |
Cancellation of negotiable obligations in U.S. dollars |  |  |  | $ 15,850 | $ 15,850 | $ 15,850 |
Proceeds from loans | 97,351 | 39,673 | 54,719 |  |  |  |
Banco Nacion Argentina [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loans accrued |  | 500 | 2,500 |  |  |  |
Financial loans and NO secured by cash flows |  |  | 492 |  |  |  |
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 |  |  |  |
Banco Nacion Argentina [member] | Fixed interest rate [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loans accrued |  |  | $ 1,000 |  |  |  |
Interest rate |  |  | 20.00% |  |  | 20.00% |
Export Pre financing [member] | Banco Nacion Argentina [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loans accrued | $ 4,933 |  |  |  |  |  |
Loans accrued |  | $ 5,264 |  |  |  |  |
Interest rate | 6.89% | 3.93% |  | 6.89% | 3.93% |  |
Export Pre financing [member] | Banco Nacion Argentina [member] | Two percentage fixed interest rate [member] |  |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |  |
Loans accrued |  |  | $ 1,116 |  |  |  |
Interest rate |  |  | 2.00% |  |  | 2.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 2019-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_55&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2019-en-r&anchor=para_7&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 17 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=7&code=ifrs-tx-2019-en-r&anchor=para_17_c&doctype=Standard -URIDate 2019-03-27 + 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 Cancellation of negotiable obligations in U.S. dollars. + References No definition available. + Details
Name: | ypf_CancellationOfNegotiableObligationsInUSDollars
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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=ifrs-full_FixedInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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