v3.8.0.1

Derivative financial instruments, Breakdown of fair value amounts (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2017 | Dec. 31, 2016
Currency Swap [Member] |  |
Breakdown of fair value amount of derivative financial instruments [Abstract] |  |
Term of agreement | 5 years |
Interest Rate Derivatives [Member] | Cash Flow Hedge [Member] |  |
Breakdown of fair value amount of derivative financial instruments [Abstract] |  |
Assets | $ 8,230 | $ 3,822
Liabilities | $ 329,731 | $ 349,266

X
- Definition Period of time the derivative contract is in effect, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | aby_DerivativeFinancialInstrumentTermOfContract
Namespace Prefix: | aby_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a hedging instrument, recognised as an asset. [Refer: Hedging instruments [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Effective 2018-01-01 -Name IFRS -Number 7 -IssueDate 2016-01-13 -Paragraph 24A -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2016-03-30&anchor=para_24A_a&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_HedgingInstrumentAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of a hedging instrument, recognised as a liability. [Refer: Hedging instruments [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Note Effective 2018-01-01 -Name IFRS -Number 7 -IssueDate 2016-01-13 -Paragraph 24A -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=7&date=2016-03-30&anchor=para_24A_a&doctype=Standard -URIDate 2016-03-31 + Details
Name: | ifrs-full_HedgingInstrumentLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=ifrs-full_CurrencySwapContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_InterestRateRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfHedgesAxis=ifrs-full_CashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |