XML 198 R176.htm IDEA: XBRL DOCUMENT
v3.21.1

Contractual Commitments - Agreement for Settlement - Additional information (Detail) | Oct. 19, 2020 USD ($)
--- | ---
Exmar energy netherlands BV exmar argentina SAU and exmar NV [member] |
Disclosure of geographical areas [line items] |
Agreement Termination Settlemnt Amount | $ 150,000,000
Down Payment Amount | 22,000,000
YPF S.A. [member] |
Disclosure of geographical areas [line items] |
Loss from Settlement Agreement | $ 8,285
Other Liability | Exmar energy netherlands BV exmar argentina SAU and exmar NV [member] |
Disclosure of geographical areas [line items] |
Amount Payable in Monthly Installment Period | 18 months

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfGeographicalAreasLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount Payable in Monthly Installment Period. + References No definition available. + Details
Name: | ypf_AmountPayableInMonthlyInstallmentPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Down Payment Amount. + References No definition available. + Details
Name: | ypf_DownPaymentAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Loss From Settlement Agreement. + References No definition available. + Details
Name: | ypf_LossFromSettlementAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Termination Settlement Amount. + References No definition available. + Details
Name: | ypf_TerminationSettlementAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ypf_ExmarEnergyNetherlandsBvExmarArgentinaSauAndExmarNvMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CounterpartiesAxis=ifrs-full_ParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_LiabilityClassAxis=ypf_OtherLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |