XML 168 R152.htm IDEA: XBRL DOCUMENT
v3.25.1

Loans - Additional Information (Detail) - USD ($) $ in Millions | Sep. 20, 2024 | Sep. 05, 2024 | Aug. 29, 2024
--- | --- | --- | ---
Class XXXIX and Class LIII [Member] |  |  |
Disclosure of detailed information about loans [line items] |  |  |
Aggregate notional amount for which offer was announced |  |  | $ 500
Class XXXIX [member] |  |  |
Disclosure of detailed information about loans [line items] |  |  |
Aggregate notional amount for which offer of repurchase was accepted |  |  | 334
Aggregate notional amount for which offer received |  | $ 40 |
Aggregate notional amount for which offer cancelled | $ 40 |  |
Class LIII [member] |  |  |
Disclosure of detailed information about loans [line items] |  |  |
Aggregate notional amount for which offer of repurchase was accepted |  |  | $ 166
Class XXXIX and Class XXXI [Member] |  |  |
Disclosure of detailed information about loans [line items] |  |  |
Borrowings, interest rate |  | 8.75% |
Notional amount |  | $ 500 |

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

X
- Definition Aggregate notional amount for which offer cancelled. + References No definition available. + Details
Name: | ypf_AggregateNotionalAmountForWhichOfferCancelled
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate notional amount for which offer of repurchase was accepted. + References No definition available. + Details
Name: | ypf_AggregateNotionalAmountForWhichOfferOfRepurchaseWasAccepted
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate notional amount for which offer received. + References No definition available. + Details
Name: | ypf_AggregateNotionalAmountForWhichOfferReceived
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregate notional amount for which offer was announced. + References No definition available. + Details
Name: | ypf_AggregateNotionalAmountForWhichOfferWasAnnounced
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_ClassThirtyNineAndClassFiftyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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