XML 144 R128.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade Receivables - Summary of Trade Receivables (Detail) - USD ($) $ in Millions | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Disclosure of Trade receivables [line items] |  |  |  |
Accounts receivable and related parties, current gross |  | $ 1,620 | $ 973 | $ 1,504
Accounts receivable and related parties, non- current gross |  | 1 | 31 | 6
Accounts Receivable and Related Parties [member] |  |  |  |
Disclosure of Trade receivables [line items] |  |  |  |
Accounts receivable and related parties, current gross | [1],[2] | 1,672 | 1,020 | 1,580
Accounts receivable and related parties, non- current gross | [1],[2] | 10 | 43 | 61
Provision for Doubtful Trade Receivable [member] |  |  |  |
Disclosure of Trade receivables [line items] |  |  |  |
Current trade receivables |  | (52) | (47) | (76)
Accounts receivable and related parties, non- current gross |  | $ (9) | $ (12) | $ (55)
[1] | See Note 24 for information about credits for contracts included in trade receivables.
[2] | See Note 36 for information about related parties.

X
- Definition The amount of current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_68&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 78 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_78_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Allowance for credit losses of financial assets. + References No definition available. + Details
Name: | ypf_AllowanceForCreditLossesOfFinancialAssets
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of Trade receivables [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfTradeReceivablesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_AccountsReceivableAndRelatedPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_ProvisionForDoubtfulTradeReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |