XML 149 R115.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Trade Receivables - Summary of Trade Receivables (Detail) - ARS ($) $ in Millions | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
--- | --- | --- | --- | ---
Disclosure of Trade receivables [Line Items] |  |  |  |
Current trade receivables | $ 40,649 | $ 33,645 | $ 22,111 |
Non-current trade receivables | 2,210 | 87 | 469 |
Accounts Receivable and Related Parties [member] |  |  |  |
Disclosure of Trade receivables [Line Items] |  |  |  |
Current trade receivables | 41,972 | 34,729 | 22,959 |
Non-current trade receivables | 2,210 | 87 | 469 |
Provision for Doubtful Trade Receivable [member] |  |  |  |
Disclosure of Trade receivables [Line Items] |  |  |  |
Current trade receivables | $ 1,323 | $ 1,084 | $ 848 | $ 866
Non-current trade receivables |  |  |  | $ 7

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