XML 118 R96.htm IDEA: XBRL DOCUMENT
v3.21.1

Segment Information - Summary of Revenue By Geographic Area (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Disclosure of geographical areas [line items] |  |  |
Revenue | $ 669,186 | $ 678,595 | $ 435,820
Property, plant and equipment | 1,379,527 | 1,069,011 | 699,087
Argentina [member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Revenue | 585,652 | 589,653 | 390,892
Property, plant and equipment | 1,379,191 | 1,068,832 | 698,222
Mercosur and Associates Countries [member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Revenue | 26,834 | 36,154 | 20,056
Property, plant and equipment | 336 | 179 | 865
Rest of the world [member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Revenue | 23,620 | 35,836 | 15,711
Europe [member] |  |  |
Disclosure of geographical areas [line items] |  |  |
Revenue | $ 33,080 | $ 16,952 | $ 9,161

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

X
- Definition The amount of tangible assets that: (a) are held for use in the production or supply of goods or services, for rental to others, or for administrative purposes; and (b) are expected to be used during more than one period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 16 -IssueDate 2020-01-01 -Paragraph 73 -Subparagraph e -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=16&code=ifrs-tx-2020-en-r&anchor=para_73_e&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 54 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_54_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_PropertyPlantAndEquipment
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 28 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_28_a&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 23 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_23_a&doctype=Standard -URIDate 2020-01-01 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 32 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_32&doctype=Standard -URIDate 2020-01-01 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 33 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_33_a&doctype=Standard -URIDate 2020-01-01 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 8 -IssueDate 2020-01-01 -Paragraph 34 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2020-en-r&anchor=para_34&doctype=Standard -URIDate 2020-01-01 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 82 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_82_a&doctype=Standard -URIDate 2020-01-01 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 103 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_103&doctype=Standard -URIDate 2020-01-01 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2020-01-01 -Paragraph 102 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2020-en-r&anchor=para_102&doctype=Standard -URIDate 2020-01-01 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 5 -IssueDate 2020-01-01 -Paragraph 33 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2020-en-r&anchor=para_33_b_i&doctype=Standard -URIDate 2020-01-01 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph B12 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B -URIDate 2020-01-01 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 12 -IssueDate 2020-01-01 -Paragraph B10 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2020-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B -URIDate 2020-01-01 + Details
Name: | ifrs-full_Revenue
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_AR
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ypf_MercosurAndAssociatesCountriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=ifrs-full_ForeignCountriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |