XML 192 R176.htm IDEA: XBRL DOCUMENT
v3.25.1

Contractual Commitments - Contractual Commitments - Additional Information (Detail) - USD ($) $ in Millions |  |  | 12 Months Ended
--- | --- | --- | ---
Nov. 01, 2024 | Feb. 09, 2023 | Dec. 31, 2024
Disclosure of Contractual Commitments [Line Items] |  |  |
The exploratory and investment commitments and expenses until the completion of the most significant exploration permits and exploitation concessions |  |  | $ 1,994
Transportation concession percentage |  | 24.80% |
Offshore Exploration Permits AUS 105 and AUS 106 [Member] |  |  |
Disclosure of Contractual Commitments [Line Items] |  |  |
Proportion of voting rights held in joint operation | 35.00% |  |

X
- Definition The proportion of the voting rights in a joint operation held by the entity. [Refer: Total for all joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2024-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2024-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ProportionOfVotingRightsHeldInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The exploratory and investment commitments and expenses until the completion of the most significant exploration permits and exploitation concessions. + References No definition available. + Details
Name: | ypf_AmountOfExpenseByNature
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disclosure of contractual commitments. + References No definition available. + Details
Name: | ypf_DisclosureOfContractualCommitmentsLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of transportation concession. + References No definition available. + Details
Name: | ypf_PercentageOfTransportationConcession
Namespace Prefix: | ypf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ypf_AgreementAxis=ypf_OffshoreExplorationPermitsAus105AndAus106Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |