XML 79 R123.htm IDEA: XBRL DOCUMENT
v3.20.1

Trade Receivables - Summary of Trade Receivables (Detail) - ARS ($) $ in Millions | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | --- | ---
Disclosure of Trade receivables [line items] |  |  |
Accounts receivable and related parties, current gross | $ 118,077 | $ 72,646 | $ 40,649
Non-current trade receivables | 15,325 | 23,508 | 2,210
Accounts Receivable and Related Parties [member] |  |  |
Disclosure of Trade receivables [line items] |  |  |
Accounts receivable and related parties, current gross | 124,657 | 75,422 | 41,972
Non-current trade receivables | 15,325 | 23,508 | 2,210
Provision for Doubtful Trade Receivable [member] |  |  |
Disclosure of Trade receivables [line items] |  |  |
Current trade receivables | $ (6,580) | $ (2,776) | $ (1,323)

X
- Definition The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Expiry date 2021-01-01 -Name IFRS -Number 7 -IssueDate 2019-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b -URIDate 2019-03-27 + Details
Name: | ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_68&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_CurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of non-current trade receivables. [Refer: Trade receivables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2019-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2019-en-r&anchor=para_78_b&doctype=Standard -URIDate 2019-03-27 + Details
Name: | ifrs-full_NoncurrentTradeReceivables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_AccountsReceivableAndRelatedPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ypf_ProvisionForDoubtfulTradeReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |