XML 167 R173.htm IDEA: XBRL DOCUMENT
v3.20.1

Contractual Commitments - Granted Guarantees - Additional Information (Detail) - Granted Guarantees [member] $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 USD ($)
Disclosure of geographical areas [line items] |
Issued letters of credit | $ 19
Assumed other commitments | $ 314

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 2019-01-01 -Paragraph 21 -Subparagraph i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=24&code=ifrs-tx-2019-en-r&anchor=para_21_i&doctype=Standard -URIDate 2019-03-27 + 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 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
- Details
Name: | ifrs-full_ContinuingInvolvementInDerecognisedFinancialAssetsByTypeOfInstrumentAxis=ifrs-full_GuaranteesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |