XML 137 R113.htm IDEA: XBRL DOCUMENT
v3.19.1

Trade Receivables - Summary of Trade Receivables (Detail) - ARS ($) $ in Millions | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | --- | ---
Disclosure of Trade receivables [line items] |  |  |
Accounts receivable and related parties, current gross | $ 72,646 | $ 40,649 | $ 33,645
Non-current trade receivables | 23,508 | 2,210 | 87
Accounts Receivable and Related Parties [member] |  |  |
Disclosure of Trade receivables [line items] |  |  |
Accounts receivable and related parties, current gross | 75,422 | 41,972 | 34,729
Non-current trade receivables | 23,508 | 2,210 | 87
Provision for Doubtful Trade Receivable [member] |  |  |
Disclosure of Trade receivables [line items] |  |  |
Current trade receivables | $ (2,776) | $ (1,323) | $ (1,084)

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 2018-01-01 -Paragraph 16 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2017-03-02&anchor=para_16&doctype=Standard&book=b -URIDate 2018-03-16 + 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 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2018-01-01 -Paragraph 68 -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_68&doctype=Standard -URIDate 2018-03-16 + 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 2018-01-01 -Paragraph 78 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2018-03-01&anchor=para_78_b&doctype=Standard -URIDate 2018-03-16 + 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: |