XML 72 R200.htm IDEA: XBRL DOCUMENT
v3.20.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Costs Incurred for Oil and Gas Producing Activities (Parenthetical) (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 ARS ($)
Upstream Contracts comprised in right-of-use assets [member] | IFRS 16 [Member] |
Disclosure of information about consolidated structured entities [line items] |
Development Costs | $ 18,547

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

X
- Definition Development Costs + References No definition available. + Details
Name: | ypf_DevelopmentCosts
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfContractsAxis=ypf_UpstreamContractsComprisedInRightOfUseAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NewIFRSsAxis=ypf_IFRS16Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |