XML 170 R148.htm IDEA: XBRL DOCUMENT
v3.21.1

Loans - Additional Information (Detail) $ in Millions |  |  |  |  | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 31, 2020 USD ($) | Jul. 13, 2020 USD ($) | Jul. 02, 2020 USD ($) | Mar. 23, 2016 USD ($) | Dec. 31, 2020 ARS ($) | Dec. 31, 2020 USD ($) | Jan. 07, 2021 USD ($) | Aug. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Apr. 28, 2017 USD ($)
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
GainLossesFrom from debt exchange | [1] |  |  |  |  | $ (2,097) |  |  |  |  |
Negotiable Obligations [member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Percentage of discounted present value of the remaining cash flows |  |  |  |  |  | 10.00% | 10.00% |  |  |  |
GainLossesFrom from debt exchange |  |  |  |  |  |  | $ 2,097 |  |  |  |
ClassXIII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Payment of cash for debt note exchange |  | $ 90,000,000 | $ 125 |  |  |  |  |  |  |  |
Notes and debentures issued |  |  | 1,000 |  |  |  |  |  | $ 542,800,000 |  |
ClassXLVII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Borrowings, maturity |  | 58.73 |  |  |  |  |  |  |  |  |
Notional amount |  | $ 587,300,000 |  |  |  |  |  |  |  |  |
currency US [Member] | ClassXIII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Borrowings, maturity |  |  |  | 2025 |  |  |  |  |  |  |
Notional amount |  |  |  | $ 950,000,000 |  |  |  |  |  |  |
Payment of cash for debt note exchange |  |  |  | 100 |  |  |  |  |  |  |
currency US [Member] | ClassXLVII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Borrowings, maturity |  |  |  |  | 2021 |  |  |  |  |  |
Notional amount |  |  |  |  | $ 1,000,000,000 |  |  |  |  |  |
Notes and debentures issued |  |  |  | $ 1,000 |  |  |  |  |  |  |
Frequent Issuer regime [member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  | $ 6,500,000,000 |  | $ 2,000,000,000 |
Top of range [member] | ClassXIII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Notional amount |  |  | $ 925,000,000 |  |  |  |  |  |  |  |
Top of range [member] | currency US [Member] | ClassXIII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Borrowings, interest rate |  |  |  | 8.50% |  |  |  |  |  |  |
Top of range [member] | Medium Term Notes [member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Notes and debentures issued |  |  |  |  |  |  |  |  |  |  | $ 10,000,000,000
[1] | See Note 20.

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_7&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maturity of borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 7 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_7&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_BorrowingsMaturity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of notes and debentures issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_112_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NotesAndDebenturesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 112 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_112_c&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Disclosure of detailed information about loans. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedInformationAboutLoansLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gain losses from from debt exchange + References No definition available. + Details
Name: | ypf_GainLossesFromFromDebtExchange
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + References No definition available. + Details
Name: | ypf_Loans
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Payment of cash for debt note exchange. + References No definition available. + Details
Name: | ypf_PaymentOfCashForDebtNoteExchange
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of discounted present value of the remaining cash flows. + References No definition available. + Details
Name: | ypf_PercentageOfDiscountedPresentValueOfTheRemainingCashFlows
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ypf_LetterOfCreditFacilityAxis=ypf_ClassxiiiNoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_LetterOfCreditFacilityAxis=ypf_ClassxlviiNoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CurrencyAxis=ypf_CurrencyUsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_LoansByNameAxis=ypf_FrequentIssuerRegimeMember
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_ClassesOfAssetsAxis=ypf_MediumTermNotes1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |