XML 119 R95.htm IDEA: XBRL DOCUMENT
v3.19.1

Financial Instruments by Category - Additional Information (Detail) - ARS ($) $ in Millions | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | --- | ---
Level 3 [member] | Estimated Fair Value of Loans [member] |  |  |
Disclosure of detailed information about financial instruments [line items] |  |  |
Other remaining financial loans | $ 293,972 | $ 200,264 | $ 157,133

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_DisclosureOfFinancialInstrumentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other remaining financial loans. + References No definition available. + Details
Name: | ypf_OtherRemainingFinancialLoans
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_EstimatedFairValueOfLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |