XML 229 R207.htm IDEA: XBRL DOCUMENT
v3.21.1

Supplemental Information on Oil And Gas Producing Activities (Unaudited) - Results of Operations from Oil and Gas Producing Activities (Parenthetical) (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure of information about consolidated structured entities [line items] |  |
Short-term leases and variable lease expense | $ 10,243 | $ 6,680
Depreciation of right-of-use assets | 17,873 | 10,509
IFRS 16 [Member] |  |
Disclosure of information about consolidated structured entities [line items] |  |
Depreciation of right-of-use assets | $ (9,005) | $ (6,060)

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2020-01-01 -Paragraph 53 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2020-en-r&anchor=para_53_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

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 Expense relating to short-term leases and variable lease payments. + References No definition available. + Details
Name: | ypf_ExpenseRelatingToShortTermLeasesAndVariableLeasePayments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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