XML 162 R138.htm IDEA: XBRL DOCUMENT
v3.19.1

Revenues - Additional Information (Detail) - ARS ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Disclosure of revenue [line items] |  |  |
Revenue | $ 435,820 | $ 252,813 | $ 210,100
Revenues from contracts with customers | 1,564 |  |
Domestic market [member] |  |  |
Disclosure of revenue [line items] |  |  |
Revenue | 390,630 | 221,145 | 178,389
International market [member] |  |  |
Disclosure of revenue [line items] |  |  |
Revenue | $ 44,928 | $ 22,085 | $ 16,393

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

X
- Definition The amount of revenue from contracts with customers. A customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity’s ordinary activities in exchange for consideration. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2018-01-01 -Paragraph 113 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=15&date=2018-03-01&anchor=para_113_a&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 15 -IssueDate 2018-01-01 -Paragraph 114 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=15&date=2018-03-01&anchor=para_114&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_RevenueFromContractsWithCustomers
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Disclosure of revenue [line items] + References No definition available. + Details
Name: | ypf_DisclosureOfRevenueLineItems
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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