XML 202 R178.htm IDEA: XBRL DOCUMENT
v3.19.1

Subsequent Events - Additional Information (Detail) $ in Millions |  |  | 12 Months Ended
--- | --- | --- | ---
Mar. 01, 2019 | Jan. 01, 2019 ARS ($) Installment | Dec. 31, 2018 ARS ($)
Administracion Federal de Ingresos Publicos [member] |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |
Amount claimed against dispute |  |  | $ 4,354
Events After Reporting Period [member] |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |
Power charges | 20.00% |  |
Tax revaluation expiration date |  |  | Mar. 29, 2019
Percentage of special tax payment |  | 10.00% |
Loss recognised on tax revaluation on deferred tax |  | $ 4,600 |
Gain recognised on tax revaluation on deferred tax |  | 32,700 |
Events After Reporting Period [member] | Administracion Federal de Ingresos Publicos [member] |  |  |
Disclosure of non-adjusting events after reporting period [line items] |  |  |
Amount claimed against dispute |  | $ 5,500 |
Number of installments for paying claim amount | Installment |  | 60 |
Loss due to claim payment |  | $ 18,800 |

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_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 Gain recognised on tax revaluation on deferred tax. + References No definition available. + Details
Name: | ypf_GainRecognisedOnTaxRevaluationOnDeferredTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Loss due to claim payment. + References No definition available. + Details
Name: | ypf_LossDueToClaimPayment
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Loss recognised on tax revaluation on deferred tax. + References No definition available. + Details
Name: | ypf_LossRecognisedOnTaxRevaluationOnDeferredTax
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of installments for paying claim amount. + References No definition available. + Details
Name: | ypf_NumberOfInstallmentsForPayingClaimAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of special tax payment. + References No definition available. + Details
Name: | ypf_PercentageOfSpecialTaxPayment
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Power charges percentage. + References No definition available. + Details
Name: | ypf_PowerChargesPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax revaluation expiration date. + References No definition available. + Details
Name: | ypf_TaxRevaluationExpirationDate
Namespace Prefix: | ypf_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ifrs-full_NonadjustingEventsAfterReportingPeriodAxis=ypf_EventsAfterReportingPeriodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |