XML 157 R140.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans - Additional Information (Detail) - USD ($) |  |  |  |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 07, 2021 | Jul. 31, 2020 | Jul. 13, 2020 | Jul. 02, 2020 | Mar. 23, 2016 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Feb. 12, 2021 | Feb. 11, 2021
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
GainLossesFrom from debt exchange | [1] |  |  |  |  |  | $ 0 | $ 21,000,000 | $ (29,000,000) |  |
Negotiable Obligations [member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Percentage of discounted present value of the remaining cash flows |  |  |  |  |  |  |  | 10.00% |  |  |
GainLossesFrom from debt exchange |  |  |  |  |  |  |  | $ 21,000,000 | $ (29,000,000) |  |
Negotiable Obligations [member] | Debt Exchange [Member] | Class XVI [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Percentage of outstanding loan principal |  | 50.00% |  |  |  |  |  |  |  |  |
Percentage of outstanding capital stock |  | 50.00% |  |  |  |  |  |  |  |  |
Negotiable Obligations [member] | Debt Exchange [Member] | Class XLVII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Refinancing percentage |  |  |  |  |  |  |  |  |  |  | 60.00%
Negotiable Obligations [member] | Major Issuance Of Negotiable Obligations [Member] | Class XVI [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | $ 775,800,000 |
Negotiable Obligations [member] | Major Issuance Of Negotiable Obligations [Member] | Class XVIII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 575,600,000 |
Negotiable Obligations [member] | Major Issuance Of Negotiable Obligations [Member] | Class XVII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 747,800,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class XLVII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 247,300,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class XIII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 201,700,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class XXXIX [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 368,200,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class LIII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 190,700,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class I [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 101,000,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class LIV [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | 213,400,000 |
Negotiable Obligations [member] | Major Debt Swap [Member] | Class XXVIII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Principal value |  |  |  |  |  |  |  |  |  | $ 656,400,000 |
ClassXIII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Payment of cash for debt note exchange |  |  |  | $ 125 |  |  |  |  |  |  |
Notes and debentures issued |  |  | $ 542,800,000 | 1,000 |  |  |  |  |  |  |
ClassXLVII NO [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Borrowings, maturity |  |  | 58.73 |  |  |  |  |  |  |  |
Notional amount |  |  | $ 587,300,000 |  |  |  |  |  |  |  |
Payment of cash for debt note exchange |  |  | $ 90,000,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 |  |  |  |  |  |
Top of range [member] | Negotiable Obligations [member] | Debt Exchange [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Percentage of appreciation or depreciation on exchange rate |  | 9.00% |  |  |  |  |  |  |  |  |
Top of range [member] | Negotiable Obligations [member] | Debt Exchange [Member] | Class XLVII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Proportion of global exchange participation in loans |  |  |  |  |  |  |  |  |  |  | 59.80%
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% |  |  |  |  |  |
Bottom of range [member] | Negotiable Obligations [member] | Debt Exchange [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Percentage of appreciation or depreciation on exchange rate |  | 1.50% |  |  |  |  |  |  |  |  |
Bottom of range [member] | Negotiable Obligations [member] | Debt Exchange [Member] | Class XLVII [Member] |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about loans [line items] |  |  |  |  |  |  |  |  |  |  |
Proportion of global exchange participation in loans |  |  |  |  |  |  |  |  |  |  | 32.00%
[1] | See Note 21.

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types: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 2022-03-24 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + 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 appreciation or depreciation on exchange rate + References No definition available. + Details
Name: | ypf_PercentageOfAppreciationOrDepreciationOnExchangeRate
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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: | dtr-types: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: | dtr-types: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: | dtr-types: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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Refinancing percentage. + References No definition available. + Details
Name: | ypf_RefinancingPercentage
Namespace Prefix: | ypf_
Data Type: | dtr-types: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_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_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_ClassesOfFinancialInstrumentsAxis=ypf_ClassXviiMember
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_ClassesOfFinancialInstrumentsAxis=ypf_ClassxxviiiMember
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: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
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: |