XML 130 R114.htm IDEA: XBRL DOCUMENT
v3.25.1

Right-of-use Assets - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2024
Exploitation equipment and facilities [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 6 years
Equipment for natural gas compression and power generation [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 5 years
Regasification and gas liquefaction equipment [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 5 years
Vessels and barges for hydrocarbon transportation [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 3 years
Truck fleets [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 2 years
Gas stations [member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 10 years
Reservoirs and installations for the underground storage of natural gas [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 4 years
Permits for the use of ports and land [Member] |
Disclosure of quantitative information about right-of-use assets [line items] |
Aggregate Lease Term Lease | 9 years

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_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate lease term lease. + References No definition available. + Details
Name: | ypf_AggregateLeaseTermLease
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

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

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

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

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

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

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

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