XML 190 R156.htm IDEA: XBRL DOCUMENT
v3.8.0.1

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

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 2017-01-01 -Paragraph 21 -Subparagraph i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=24&date=2017-03-01&anchor=para_21_i&doctype=Standard -URIDate 2017-03-09 + 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: |