XML 176 R152.htm IDEA: XBRL DOCUMENT
v3.19.1

Contingent Assets and Liabilities - Additional Information (Detail) $ in Millions |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 30, 2014 Judgment | Aug. 31, 2003 Companies | Dec. 31, 2018 ARS ($) | Dec. 31, 2017 ARS ($) | Dec. 31, 2016 ARS ($) Companies | Dec. 31, 2010 ARS ($)
Disclosure Of Contingent Assets And Liabilities [line items] |  |  |  |  |  |
Income tax adjusted | $ |  |  | $ 51,538 | $ (3,969) | $ (1,425) | $ 1,175
Asociacion Superficiarios de la Patagonia [Member] |  |  |  |  |  |
Disclosure Of Contingent Assets And Liabilities [line items] |  |  |  |  |  |
Number of companies sued | Companies |  | 18 |  |  |  |
Dock Sud, Province of Buenos Aires [Member] |  |  |  |  |  |
Disclosure Of Contingent Assets And Liabilities [line items] |  |  |  |  |  |
Number of companies sued | Companies |  |  |  |  | 44 |
CSJN [member] |  |  |  |  |  |
Disclosure Of Contingent Assets And Liabilities [line items] |  |  |  |  |  |
Number of interlocutory judgments issued | Judgment | 2 |  |  |  |  |
Administracion Federal de Ingresos Publicos [member] |  |  |  |  |  |
Disclosure Of Contingent Assets And Liabilities [line items] |  |  |  |  |  |
Amount claimed against dispute | $ |  |  | $ 4,354 |  |  |

X
- Definition Adjustments for income tax expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2018-01-01 -Paragraph 35 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2018-03-01&anchor=para_35&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_AdjustmentsForIncomeTaxExpense
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate amount of claim. + References No definition available. + Details
Name: | ypf_AggregateAmountOfClaim
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of contingent assets and liabilities. + References No definition available. + Details
Name: | ypf_DisclosureOfContingentAssetsAndLiabilitiesLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of companies sued. + References No definition available. + Details
Name: | ypf_NumberOfCompaniesSued
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of interlocutory judgments. + References No definition available. + Details
Name: | ypf_NumberOfInterlocutoryJudgments
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ypf_AsociacionSuperficiariosDeLaPatagoniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ypf_DockSudRoMatanzaRiachueloQuilmesAndRefineriaLujanDeCuyoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ypf_CsjnMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ypf_AdministracionFederalDeIngresosPublicosMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |