XML 100 R76.htm IDEA: XBRL DOCUMENT
v3.19.1

Acquisitions and Dispositions - Additional Information (Detail) $ in Millions, $ in Millions |  |  |  |  |  |  |  |  |  | 1 Months Ended | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 20, 2018 USD ($) | Jun. 11, 2018 USD ($) | Apr. 27, 2018 | Mar. 20, 2018 | Feb. 06, 2018 | Dec. 14, 2017 | Nov. 22, 2017 | Jul. 17, 2017 | Feb. 23, 2017 USD ($) | Mar. 31, 2017 | Dec. 31, 2018 USD ($) | Dec. 31, 2018 ARS ($) | Nov. 23, 2018 USD ($) | Nov. 02, 2018 USD ($) | Oct. 14, 2016 USD ($) | Jul. 25, 2016 USD ($)
Cerro Bandera [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit from assignment agreement |  |  |  |  |  |  |  |  |  |  |  | $ 284 |  |  |  |
Bajo del Toro [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aforementioned investments |  |  |  |  |  |  |  |  |  |  |  |  | $ 30.0 |  |  |
Agreement for the exploitation of the Aguada Pichana and Aguada de Castro Areas [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Profit from exploitation agreement |  |  |  |  |  |  |  |  |  |  |  | $ 1,167 |  |  |  |
Agreement for the exploitation of the Aguada Pichana and Aguada de Castro Areas [member] | Aguada Pichana East (APE) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  |  |  |  |  | 22.50% |  |  | 22.50% | 22.50% |  |  |  |
Change in ownership stake, percentage |  |  |  |  |  |  |  | 4.77% |  |  | (4.77%) | (4.77%) |  |  |  |
Agreement for the exploitation of the Aguada Pichana and Aguada de Castro Areas [member] | Aguada Pichana Oeste (APO) [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  |  |  |  |  | 30.00% |  |  | 30.00% | 30.00% |  |  |  |
Change in ownership stake, percentage |  |  |  |  |  |  |  | 2.73% |  |  | 2.73% | 2.73% |  |  |  |
Agreement for the exploitation of the Aguada Pichana and Aguada de Castro Areas [member] | Aguada De Castro (ACA) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interest in joint operation |  |  |  |  |  |  |  | 30.00% |  |  | 30.00% | 30.00% |  |  |  |
Change in ownership stake, percentage |  |  |  |  |  |  |  | 20.00% |  |  | (20.00%) | (20.00%) |  |  |  |
YPF S.A. and PetroUruguay S.A. [member] | Equity in Aguada la Arena area [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest percentage |  |  |  |  |  |  |  |  | 20.00% |  | 20.00% | 20.00% |  |  |  |
Participation interest transfer amount |  |  |  |  |  |  |  |  | $ 18.0 |  |  |  |  |  |  |
Participation interest increasing percentage |  |  |  |  |  |  |  |  | 100.00% |  | 100.00% | 100.00% |  |  |  |
YPF S.A. and PetroUruguay S.A. [member] | Rio Neuquen [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation interest percentage |  |  |  |  |  |  |  |  |  |  | 33.33% | 33.33% |  |  |  |
YPF EE [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  | 100.00% | 100.00% |  |  |  |
Subscription price |  |  |  |  |  |  |  |  |  |  | $ 275.0 |  |  |  |  |
Gain on revaluation |  |  |  |  |  |  |  |  |  |  |  | $ 11,980 |  |  |  |
Gain on dilution of interest |  |  |  |  |  |  |  |  |  |  |  | $ 13,552 |  |  |  |
Investment fair value evaluation period |  |  |  |  |  |  |  |  |  |  | 1 year | 1 year |  |  |  |
YPF EE [member] | 0 to 1 year [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution made at closing date |  |  |  |  |  |  |  |  |  |  | $ 135.0 |  |  |  |  |
YPF EE [member] | Later than one year [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution receivable |  |  |  |  |  |  |  |  |  |  | $ 140.0 |  |  |  |  |
YPF EE [member] | 24 months from the closing date [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price evaluation percentage |  |  |  |  |  |  |  |  |  |  | 33.33% | 33.33% |  |  |  |
YPF EE [member] | Subsequent Years [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price evaluation percentage |  |  |  |  |  |  |  |  |  |  | 16.67% | 16.67% |  |  |  |
YPF EE [member] | Top of range [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent price |  |  |  |  |  |  |  |  |  |  | $ 35.0 |  |  |  |  |
YPF EE [member] | GEFS Global Energy B V [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  | 24.99% | 25.00% |  |  |  |  |  |  |  |  |  |
Ownership interest |  |  |  | 24.99% |  |  |  |  |  |  |  |  |  |  |  |
YPF EE [member] | Group [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership interest |  |  |  |  |  |  |  |  |  |  | 75.00001% | 75.00001% |  |  |  |
YPF [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revaluation of residual interest |  |  |  |  |  |  |  |  |  |  |  | $ 10,114 |  |  |  |
Loss on reversal of net profit of balance accrued from investment translation |  |  |  |  |  |  |  |  |  |  |  | $ 1,572 |  |  |  |
YPF [member] | YPF EE [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  | 72.69218% | 72.69218% |  |  |  |
Gain on revaluation |  |  |  |  |  |  |  |  |  |  |  | $ 11,879 |  |  |  |
Gain on dilution of interest |  |  |  |  |  |  |  |  |  |  |  | 13,451 |  |  |  |
Revaluation of residual interest |  |  |  |  |  |  |  |  |  |  |  | $ 3,438 |  |  |  |
OPESSA [member] | YPF EE [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Participation in the capital stock |  |  |  |  |  |  |  |  |  |  | 2.30783% | 2.30783% |  |  |  |
Gain on revaluation |  |  |  |  |  |  |  |  |  |  |  | $ 101 |  |  |  |
Gain on dilution of interest |  |  |  |  |  |  |  |  |  |  |  | $ 101 |  |  |  |
PEPASA [member] | Petrobras Argentina S.A. [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Capital and voting rights held |  |  |  |  |  |  |  |  |  |  | 67.20% | 67.20% |  |  |  |
PEPASA [member] | YPF S.A. [member] | Areas in Providence of Neuquen [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Guaranteed loan equivalent to the acquisition price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 140.0
Rio Neuquen [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  |  |  |  |  |  |  |  |  |  | 33.33% | 33.33% |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 72.0 |
Equity interests in operating concessions participation percentage cancelled |  |  |  |  |  |  |  |  |  | 33.33% |  |  |  |  |  |
Rio Neuquen [member] | Cerro Bandera [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business acquisition percentage of equity interest |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Aguada de la Arena [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions participation percentage |  |  |  |  |  |  |  |  |  |  | 80.00% | 80.00% |  |  |  |
Equity interests in operating concessions |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 68.0 |
Equity interests in operating concessions participation percentage cancelled |  |  |  |  |  |  |  |  |  | 80.00% |  |  |  |  |  |
YPF And Oilstone Energia S.A [member] | Cerro Bandera [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration amount |  |  |  |  |  |  |  |  |  |  | $ 14.0 |  |  |  |  |
Business acquisition percentage of equity interest |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |
YPF And Oilstone Energia S.A [member] | Al Surdel Dorsal [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions | $ 12.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business acquisition percentage of equity interest | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Oil Combustibles SA [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration amount |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 85.0 |  |
Net assets acquired |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 63.0 |  |
YPF And Petrleos Sudamericanos SA [member] | Bajodel Piche Barrancade Los Loros ElMedanito And ElSantiagueo [member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Disclosure of detailed information about business combination [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity interests in operating concessions |  | $ 22.3 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business acquisition percentage of equity interest |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2018-01-01 -Paragraph B64 -Subparagraph f -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2018-03-01&anchor=para_B64_f&doctype=Appendix&seq=2 -URIDate 2018-03-16 + Details
Name: | ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of assets, other than cash or cash equivalents, in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2018-01-01 -Paragraph 40 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2018-03-01&anchor=para_40_d&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_AssetsOtherThanCashOrCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash and cash equivalents in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]; Cash and cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2018-01-01 -Paragraph 40 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2018-03-01&anchor=para_40_c&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of consideration paid or received in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2018-01-01 -Paragraph 40 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2018-03-01&anchor=para_40_a&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_ConsiderationPaidReceived
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount recognised as of the acquisition date for contingent consideration arrangements assumed and indemnification assets acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2018-01-01 -Paragraph B64 -Subparagraph g -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2018-03-01&anchor=para_B64_g_i&doctype=Appendix&seq=2 -URIDate 2018-03-16 + Details
Name: | ifrs-full_ContingentConsiderationArrangementsAndIndemnificationAssetsRecognisedAsOfAcquisitionDate
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The fair value, at the acquisition date, of equity interests of the acquirer transferred as consideration in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2018-01-01 -Paragraph B64 -Subparagraph f -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2018-03-01&anchor=para_B64_f_iv&doctype=Appendix&seq=2 -URIDate 2018-03-16 + Details
Name: | ifrs-full_EquityInterestsOfAcquirer
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The proportion of ownership interest in a joint operation attributable to the entity. [Refer: Joint operations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2018-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2018-03-01&anchor=para_21_a_iv&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInJointOperation
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2018-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2018-03-01&anchor=para_17_b_iii&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2018-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2018-03-01&anchor=para_16_b_iii&doctype=Standard -URIDate 2018-03-16 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2018-01-01 -Paragraph 19B -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2018-03-01&anchor=para_19B_c&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The proportion of the voting rights in an associate held by the entity. [Refer: Associates [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2018-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2018-03-01&anchor=para_17_b_iii&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2018-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=27&date=2018-03-01&anchor=para_16_b_iii&doctype=Standard -URIDate 2018-03-16 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2018-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=12&date=2018-03-01&anchor=para_21_a_iv&doctype=Standard -URIDate 2018-03-16 + Details
Name: | ifrs-full_ProportionOfVotingPowerHeldInAssociate
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business acquisition percentage of equity interest. + References No definition available. + Details
Name: | ypf_BusinessAcquisitionPercentageOfEquityInterest
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Change in ownership Stake + References No definition available. + Details
Name: | ypf_ChangeInOwnershipStake
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent Price Evaluation Percentage + References No definition available. + Details
Name: | ypf_ContingentPriceEvaluationPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity interests in operating concessions participation cancelled percentage. + References No definition available. + Details
Name: | ypf_EquityInterestsInOperatingConcessionsParticipationCancelledPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity interests in operating concessions participation percentage. + References No definition available. + Details
Name: | ypf_EquityInterestsInOperatingConcessionsParticipationPercentage
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of aforementioned investments. + References No definition available. + Details
Name: | ypf_FairValueOfAforementionedInvestments
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gain on dilution of interest. + References No definition available. + Details
Name: | ypf_GainOnDilutionOfInterest
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gain on revaluation. + References No definition available. + Details
Name: | ypf_GainOnRevaluation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Guaranteed loan equilent to the acquisition price. + References No definition available. + Details
Name: | ypf_GuaranteedLoanEquivalentToTheAcquisitionPrice
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Increasing percentage of participation interest. + References No definition available. + Details
Name: | ypf_IncreasingPercentageOfParticipationInterest
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment fair value evaluation period. + References No definition available. + Details
Name: | ypf_InvestmentFairValueEvaluationPeriod
Namespace Prefix: | ypf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss on reversal of net profit of balance accrued from investment translation. + References No definition available. + Details
Name: | ypf_LossOnReversalOfNetProfitOfBalanceAccruedFromInvestmentTranslation
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net assets acquired + References No definition available. + Details
Name: | ypf_NetAssetsAcquired
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Participation interest transfer amount. + References No definition available. + Details
Name: | ypf_ParticipationInterestTransferAmount
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of participation interest held. + References No definition available. + Details
Name: | ypf_PercentageOfParticipationInterestHeld
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Profit from assignment agreement. + References No definition available. + Details
Name: | ypf_ProfitFromAssignmentAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Profit From Exploitation Agreement. + References No definition available. + Details
Name: | ypf_ProfitFromExploitationAgreement
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proportion of ownership interest in shares by related party. + References No definition available. + Details
Name: | ypf_ProportionOfOwnershipInterestInSharesByRelatedParty
Namespace Prefix: | ypf_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revaluation of residual interest. + References No definition available. + Details
Name: | ypf_RevaluationOfResidualInterest
Namespace Prefix: | ypf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Details
Name: | ifrs-full_JointOperationsAxis=ypf_AguadaPichanaAndAguadaDeCastroAreasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YPFSAAndPetroUruguaySAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_YPFEEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_WithInTwoYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ypf_SubsequentYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFEEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_GEFSGlobalEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ypf_GroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_YPFMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=ypf_OPESSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_PampaEnergiaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=ypf_PetrobrasArgentinaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_ParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_RioNeuquenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_AguadaDeLaArenaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_YpfAndOilstoneEnergiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_OilCombustiblesSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ypf_YPFAndPetrleosSudamericanosSaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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