XML 154 R137.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans - Schedule of Loans (Detail) - USD ($) $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | $ 5,948 | $ 6,534 | $ 6,277
Loans current | 1,140 | 845 | 1,793
Argentine pesos [Member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | 110 | 203 | 141
Loans current | 101 | 134 | 351
Currencies other than Argentine pesos [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | 5,838 | 6,331 | 6,136
Loans current | $ 1,039 | 711 | 1,442
Export pre-financing [member] | Argentine pesos [Member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans current |  |  | 65
Export pre-financing [member] | Currencies other than Argentine pesos [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Maturity Year | 2023 |  |
Loans Noncurrent |  | 12 | 150
Loans current | $ 22 | 42 | 305
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.20% |  |
Export pre-financing [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 5.50% |  |
Negotiable obligations [member] | Argentine pesos [Member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | $ 64 | 67 | 77
Loans current | $ 5 | 56 | 205
Negotiable obligations [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 69.09% |  |
Maturity Year | 2023 |  |
Negotiable obligations [member] | Argentine pesos [Member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 69.18% |  |
Maturity Year | 2024 |  |
Negotiable obligations [member] | Currencies other than Argentine pesos [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | $ 5,594 | 6,206 | 5,905
Loans current | $ 828 | 541 | 739
Negotiable obligations [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 1.50% |  |
Maturity Year | 2023 |  |
Negotiable obligations [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 10.00% |  |
Maturity Year | 2047 |  |
Loans [member] | Argentine pesos [Member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Maturity Year | 2024 |  |
Loans Noncurrent | $ 46 | 136 | 64
Loans current | $ 25 | 70 | 81
Loans [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 90.46% |  |
Loans [member] | Argentine pesos [Member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 90.83% |  |
Loans [member] | Currencies other than Argentine pesos [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Loans Noncurrent | $ 244 | 113 | 81
Loans current | $ 168 | 125 | $ 398
Loans [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 2.68% |  |
Maturity Year | 2023 |  |
Loans [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 19.75% |  |
Maturity Year | 2027 |  |
Account Overdraft [member] | Argentine pesos [Member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Maturity Year | 2023 |  |
Loans current | $ 71 | 8 |
Account Overdraft [member] | Argentine pesos [Member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 69.50% |  |
Account Overdraft [member] | Argentine pesos [Member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 72.00% |  |
Imports Financing [member] | Currencies other than Argentine pesos [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Maturity Year | 2023 |  |
Loans current | $ 21 | $ 3 |
Imports Financing [member] | Currencies other than Argentine pesos [member] | Bottom of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 6.72% |  |
Imports Financing [member] | Currencies other than Argentine pesos [member] | Top of range [member] |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |
Interest rate | 8.57% |  |

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 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 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard -URIDate 2022-03-24 + 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=ypf_OtherCurrencyMember
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_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_NegotiableObligationsMember
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: |

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