XML 160 R139.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans - Schedule of Loans (Detail) - USD ($) $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | $ 6,682 |  | $ 5,948 | $ 6,534 |
Loans current |  | 1,508 |  | 1,140 | 845 |
Argentine pesos [Member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | 9 |  | 110 | 203 |
Loans current |  | 131 |  | 101 | 134 |
Currencies other than Argentine pesos [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | 6,673 |  | 5,838 | 6,331 |
Loans current |  | $ 1,377 |  | 1,039 | 711 |
Negotiable obligations [member] | Argentine pesos [Member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Loans Noncurrent |  |  |  | 64 | 67 |
Loans current |  | $ 60 |  | 5 | 56 | [1]
Negotiable obligations [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 122.41% |  |  |  |
Negotiable obligations [member] | Argentine pesos [Member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 126.90% |  |  |  |
Negotiable obligations [member] | Currencies other than Argentine pesos [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent | [3],[4] | $ 6,191 |  | 5,594 | 6,206 |
Loans current | [3],[4] | $ 767 |  | 828 | 541 |
Negotiable obligations [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 0.00% |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Negotiable obligations [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 10.00% |  |  |  |
Maturity Year |  | 2047 |  |  |  |
Export pre-financing [member] | Currencies other than Argentine pesos [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | $ 102 |  |  | 12 |
Loans current |  | $ 545 | [5] | 22 | 42 | [5]
Export pre-financing [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 1.90% |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Export pre-financing [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 10.95% |  |  |  |
Maturity Year |  | 2025 |  |  |  |
Imports Financing [member] | Currencies other than Argentine pesos [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans current |  |  |  | 21 | 3 |
Loans [member] | Argentine pesos [Member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | $ 9 |  | 46 | 136 |
Loans current |  | $ 15 |  | 25 | 70 |
Loans [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 143.65% |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Loans [member] | Argentine pesos [Member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 143.65% |  |  |  |
Maturity Year |  | 2025 |  |  |  |
Loans [member] | Currencies other than Argentine pesos [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Loans Noncurrent |  | $ 380 |  | 244 | 113 |
Loans current |  | $ 65 |  | 168 | 125 |
Loans [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 6.28% |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Loans [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 19.54% |  |  |  |
Maturity Year |  | 2030 |  |  |  |
Account Overdraft [member] | Argentine pesos [Member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Maturity Year |  | 2024 |  |  |  |
Loans current |  | $ 56 |  | $ 71 | $ 8 |
Account Overdraft [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 94.00% |  |  |  |
Account Overdraft [member] | Argentine pesos [Member] | Top of range [member] |  |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |  |
Interest rate | [2] | 103.00% |  |  |  |
[1] | Includes 45 as of December 31, 2021, of nominal value that were canceled in U.S. dollars at the applicable exchange rate according to the conditions of the issued series.
[2] | Nominal annual interest rate as of December 31, 2023.
[3] | Disclosed net of 3, 9 and 4 corresponding to YPF’s own NO repurchased through open market transactions, as of December 31, 2023, 2022 and 2021, respectively.
[4] | Includes 1,327, 523 and 602 as of December 31, 2023, 2022 and 2021, respectively, of nominal value that will be canceled in pesos at the applicable exchange rate in accordance with the terms of the series issued.
[5] | Includes 85 and 2 as of December 31, 2023 and 2021, respectively, of pre-financing of exports granted by BNA, which accrue a 1.90% fixed interest rate as of December 31, 2023 and a 5.50% weighted average rate as of December 31, 2021.

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard -URIDate 2023-03-23 + 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 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 non-current portion of non-current borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LongtermBorrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ShorttermBorrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=ypf_NegotiableObligationsMember
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_BorrowingsByNameAxis=ypf_ExportPreFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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