v3.8.0.1

Nature of the business, Description (Details) $ / shares in Units, $ in Thousands |  |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Mar. 09, 2018 | Jun. 18, 2014 USD ($) $ / shares shares | Mar. 31, 2018 | Dec. 31, 2014 USD ($) ConcessionalAsset
Nature of the business [Abstract] |  |  |  |
Shares issued (in shares) | shares |  | 24,850,000 |  |
Share price (in dollars per share) | $ / shares |  | $ 29 |  |
Proceeds from issuing shares |  | $ 720,650 |  |
Subsidiary of Abengoa [Member] |  |  |  |
Nature of the business [Abstract] |  |  |  |
Shares purchased by underwriters (in shares) | shares |  | 3,727,500 |  |
Total proceeds from offering |  | $ 828,748 |  |
Algonquin [Member] |  |  |  |
Nature of the business [Abstract] |  |  |  |
Ownership interest | 25.00% |  |  |
Abengoa [Member] |  |  |  |
Nature of the business [Abstract] |  |  |  |
Ownership interest | 16.50% |  | 16.47% |
Number of concessional assets contributed | ConcessionalAsset |  |  |  | 10
Interest consideration transferred |  |  |  | 64.28%
Cash consideration transferred |  |  |  | $ 655,300
Cash retained for liquidity purposes |  |  |  | $ 30,000

X
- Definition The amount of cash retained by the acquiree recognised at the acquisition date for business combinations. + References No definition available. + Details
Name: | aby_CashRetainedByAcquireeAtAcquisitionDate
Namespace Prefix: | aby_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The number of contracted concessional assets contributed to the Company. + References No definition available. + Details
Name: | aby_NumberOfContractedConcessionalAssetsContributed
Namespace Prefix: | aby_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total cash inflow from issuing shares through an initial public offering and from a secondary offering. + References No definition available. + Details
Name: | aby_ProceedsFromIssuingSharesInitialPublicOfferingAndSecondaryOffering
Namespace Prefix: | aby_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The proportion of ownership interests in the entity held by non-controlling interests. + References No definition available. + Details
Name: | aby_ProportionOfOwnershipInterestsHeldByNoncontrollingInterestsInReportingEntity
Namespace Prefix: | aby_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price per share received for common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | aby_SharePriceSaleOfStock
Namespace Prefix: | aby_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock sold during the period in a secondary offering. + References No definition available. + Details
Name: | aby_StockSoldInSecondaryOffering
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2017-01-01 -Paragraph B64 -Subparagraph f -Clause i -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2017-03-01&anchor=para_B64_f_i&doctype=Appendix&seq=2 -URIDate 2017-03-09 + Details
Name: | ifrs-full_CashTransferred
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2017-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=1&date=2017-03-01&anchor=para_106_d&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2017-01-01 -Paragraph B64 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IFRS&num=3&date=2017-03-01&anchor=para_B64_c&doctype=Appendix&seq=2 -URIDate 2017-03-09 + Details
Name: | ifrs-full_PercentageOfVotingEquityInterestsAcquired
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from issuing shares. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2017-01-01 -Paragraph 17 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/XBRL?type=IAS&num=7&date=2017-03-01&anchor=para_17_a&doctype=Standard -URIDate 2017-03-09 + Details
Name: | ifrs-full_ProceedsFromIssuingShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_CategoriesOfRelatedPartiesAxis=ifrs-full_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=aby_AlgonquinMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=aby_AbengoaSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |