XML 115 R93.htm IDEA: XBRL DOCUMENT
v3.21.1

Financial Risk Management - Summary of Maximum Exposure to Credit Risk (Detail) $ in Millions | Dec. 31, 2020 ARS ($)
--- | ---
Cash and cash equivalents [member] |
Disclosure of credit risk exposure [line items] |
Maximum exposure to credit risk | $ 54,618
Other financial assets [member] |
Disclosure of credit risk exposure [line items] |
Maximum exposure to credit risk | $ 180,382

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

X
- Definition The amount that best represents the maximum exposure to credit risk without taking into account any collateral held or other credit enhancements (for example, netting agreements that do not qualify for offset in accordance with IAS 32). [Refer: Credit risk [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 35K -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2020-en-r&anchor=para_35K_a&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2020-01-01 -Paragraph 36 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_36_a&doctype=Standard&book=b -URIDate 2020-01-01 + Details
Name: | ifrs-full_MaximumExposureToCreditRisk
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_CashAndCashEquivalentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfFinancialInstrumentsAxis=ypf_OtherFinancialAssetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |