XML 197 R175.htm IDEA: XBRL DOCUMENT
v3.21.1

Contractual Commitments - Granted Guarantees - Additional Information (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($)
Argentine Bonds 2029 and 2030 |
Disclosure of geographical areas [line items] |
Nominal Value of Security | $ 290
OPESSA |
Disclosure of geographical areas [line items] |
Security commitment | 30
Granted Guarantees [member] |
Disclosure of geographical areas [line items] |
Issued letters of credit | 8
Assumed other commitments | $ 239

X
- Definition The amount of related-party commitments made by the entity to do something if a particular event occurs or does not occur in the future, including executory contracts (recognised and unrecognised). [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 21 -Subparagraph i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_21_i&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_CommitmentsMadeByEntityRelatedPartyTransactions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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 The amount of liabilities settled by the entity on behalf of a related party in related party transactions. [Refer: Related parties [member]] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 24 -IssueDate 2020-01-01 -Paragraph 21 -Subparagraph j -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2020-en-r&anchor=para_21_j&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_SettlementOfLiabilitiesByEntityOnBehalfOfRelatedPartyRelatedPartyTransactions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Letters of credit issued. + References No definition available. + Details
Name: | ypf_LettersOfCreditIssued
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Security commitment. + References No definition available. + Details
Name: | ypf_SecurityCommitment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ypf_GuaranteedSecurityAxis=ypf_ArgentineBondsTwoThousandTwentyNineAndTwoThousandThirtyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ypf_GuaranteedSecurityAxis=ypf_OpessaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ContinuingInvolvementInDerecognisedFinancialAssetsByTypeOfInstrumentAxis=ifrs-full_GuaranteesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |