XML 220 R198.htm IDEA: XBRL DOCUMENT
v3.21.1

Subsequent Events - Additional Information (Detail) - Negotiable obligations [member] - USD ($) $ in Millions | Feb. 11, 2021 | Jan. 07, 2021 | Feb. 26, 2021 | Feb. 12, 2021 | Dec. 31, 2020
--- | --- | --- | --- | --- | ---
Class XIV [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  | $ 75.6 |  |
Class XIX [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans denominated in UVA |  |  | $ 60.5 |  |
Debt Exchange [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Principal Maturity | 2021 |  |  |  |
Debt Exchange [Member] | Class XVI [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Percentage of outstanding capital stock |  | 50.00% |  |  |
Percentage of outstanding loan principal |  | 50.00% |  |  |
Debt Exchange [Member] | Class XLVII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Refinancing percentage | 60.00% |  |  |  |
Debt Exchange [Member] | Bottom of range [member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Percentage of appreciation or depreciation on exchange rate |  | 1.50% |  |  |
Debt Exchange [Member] | Bottom of range [member] | Class XLVII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Proportion of global exchange participation in loans | 32.00% |  |  |  |
Debt Exchange [Member] | Top of range [member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Percentage of appreciation or depreciation on exchange rate |  | 9.00% |  |  |
Debt Exchange [Member] | Top of range [member] | Class XLVII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Proportion of global exchange participation in loans | 59.80% |  |  |  |
Major Issuance Of Negotiable Obligations [Member] | Class XVI [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | $ 775.8 |
Major Issuance Of Negotiable Obligations [Member] | Class XVIII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 747.8 | $ 575.6
Major Issuance Of Negotiable Obligations [Member] | Class XIV [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Interest rate |  |  | 2.00% |  |
Major Issuance Of Negotiable Obligations [Member] | Class XIX [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Interest rate |  |  | 3.50% |  |
Major Debt Swap [Member] | Class XLVII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 247.3 |
Major Debt Swap [Member] | Class XVIII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 656.4 |
Major Debt Swap [Member] | Class XIII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 201.7 |
Major Debt Swap [Member] | Class XXXIX [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 368.2 |
Major Debt Swap [Member] | Class LIII [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 190.7 |
Major Debt Swap [Member] | Class I [Member]v |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | 101.0 |
Major Debt Swap [Member] | Class LIV [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans |  |  |  | $ 213.4 |
Debt Exchange authorized payment by BCRA [Member] |  |  |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |  |  |
Loans | $ 9.0 |  |  |  |

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 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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 Loans denominated in UVA. + References No definition available. + Details
Name: | ypf_LoansDenominatedInUva
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The interest rate on loans. + References No definition available. + Details
Name: | ypf_LoansInterestRate
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Percentage of outstanding capital stock. + References No definition available. + Details
Name: | ypf_PercentageOfOutstandingCapitalStock
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of outstanding loan principal. + References No definition available. + Details
Name: | ypf_PercentageOfOutstandingLoanPrincipal
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proportion of global exchange participation in loans. + References No definition available. + Details
Name: | ypf_ProportionOfGlobalExchangeParticipationInLoans
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Refinancing percentage. + References No definition available. + Details
Name: | ypf_RefinancingPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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

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

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_DebtExchangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
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_NonadjustingEventsAfterReportingPeriodAxis=ypf_MajorIssuanceOfNegotiableObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_MajorDebtSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_DebtExchangeAuthorizedPaymentByBcraMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |