XML 223 R144.htm IDEA: XBRL DOCUMENT
v3.20.1

Loans - Breakdown of Group's Borrowings (Parenthetical) (Detail) $ in Millions | Dec. 31, 2017 ARS ($)
--- | ---
Disclosure of detailed information about loans [abstract] |
Liabilities associated to assets held for disposal | $ 3,130

X
- Definition Disclosure of detailed information about loans. + References No definition available. + Details
Name: | ypf_DisclosureOfDetailedInformationAboutLoansAbstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loans Reclassified to liabilities included in disposal groups classified as held for sale + References No definition available. + Details
Name: | ypf_LoansReclassifiedToLiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant