XML 162 R141.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Loans - Evolution of the Loans (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Disclosure of detailed information about loans [abstract] |  |  |  |
Balance at beginning of the year |  | $ 7,088 | $ 7,379 | $ 8,070
Proceeds from loans | [1] | 2,667 | 402 | 963
Payments of loans | [1] | (1,396) | (780) | (1,653)
Payments of interest | [1] | (623) | (543) | (615)
Account overdrafts, net | [1] | (3) | 71 | 8
Accrued interest | [2] | 702 | 680 | 701
Net exchange and translation differences |  | (239) | (113) | (70)
Result from debt exchange | [3] |  |  | (21)
Result from net monetary position | [4] | (6) | (8) | (4)
Balance at the end of the year |  | $ 8,190 | $ 7,088 | $ 7,379
[1] | The main investing and financing transactions that have not affected cash and cash equivalents correspond to:
[2] | Includes capitalized financial costs.
[3] | See Note 21.
[4] | Includes the adjustment for inflation of opening balances of loans of subsidiaries with the peso as functional currency which was charged to “Other comprehensive income” in the statement of comprehensive income and the adjustment for inflation of the fiscal year, which was charged to net income in the statement of comprehensive income.

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + 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_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The gains (losses) representing the difference resulting from the restatement of non-monetary assets, owners' equity and items in the statement of comprehensive income and the adjustment of index linked assets and liabilities in hyperinflationary reporting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 29 -IssueDate 2023-01-01 -Paragraph 9 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=29&code=ifrs-tx-2023-en-r&anchor=para_9&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_GainsLossesOnNetMonetaryPosition
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for interest paid, classified as financing activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 31 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_31&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_InterestPaidClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from borrowings obtained. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Accrued interest on group loans. + References No definition available. + Details
Name: | ypf_AccruedInterestOnGroupLoans
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of detailed information about loans. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedInformationAboutLoansAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exchange differences and translation on group loans net of tax. + References No definition available. + Details
Name: | ypf_ExchangeDifferencesAndTranslationOnGroupLoansNetOfTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Proceeds from account overdraft net classified as financing activities. + References No definition available. + Details
Name: | ypf_ProceedsFromAccountOverdraftNetClassifiedAsFinancingActivities
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration