v3.8.0.1

Equity, Cash Distributions (Details) - USD ($) $ / shares in Units, $ in Millions |  |  |  | 3 Months Ended
--- | --- | --- | --- | ---
Nov. 14, 2017 | Oct. 18, 2017 | Aug. 14, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | [1] | Mar. 31, 2017 | [1] | Dec. 31, 2016
Distribution Made to Member or Limited Partner |  |  |  |  |  |  |  |  |
Quarterly Distribution Per Unit |  |  |  |  | $ 0.9852 | [1],[2] | $ 0.9710 | $ 0.9400 | $ 0.9100
Total Cash Distribution including general partner IDRs (in millions) |  |  |  |  | $ 201 | [1],[2] | $ 147 | $ 140 | $ 140
Date of Distribution |  |  |  |  | Nov. 14, 2017 | [1],[2] | Aug. 14, 2017 | May 15, 2017 | Feb. 14, 2017
Unitholders Record Date |  |  |  |  | Nov. 03, 2017 | [1],[2] | Aug. 04, 2017 | May 05, 2017 | Feb. 03, 2017
Subsequent Event |  |  |  |  |  |  |  |  |
Distribution Made to Member or Limited Partner |  |  |  |  |  |  |  |  |
Distribution Made to Limited Partner, Declaration Date |  |  | Oct. 18, 2017 |  |  |  |  |  |
Distribution Made to Limited Partner, Cash Distributions Paid |  | $ 125 |  |  |  |  |  |  |
Western Refining Logistics |  |  |  |  |  |  |  |  |
Distribution Made to Member or Limited Partner |  |  |  |  |  |  |  |  |
Quarterly Distribution Per Unit | [3],[4] |  |  |  | $ 0.4675 |  |  |  |
Distribution Made to Limited Partner, Cash Distributions Paid |  |  |  | $ 33 |  |  |  |  |
Western Refining Logistics | Subsequent Event |  |  |  |  |  |  |  |  |
Distribution Made to Member or Limited Partner |  |  |  |  |  |  |  |  |
Date of Distribution |  | Aug. 18, 2017 |  |  |  |  |  |  |
Distribution Made to Limited Partner, Declaration Date |  |  | Jul. 25, 2017 |  |  |  |  |  |
[1] | This distribution is net of $12.5 million waived by TLGP on either IDRs or common units for each of the three months ended September 30, 2017, June 30, 2017, and March 31, 2017.
[2] | This distribution was declared on October 18, 2017 and will be paid on the date of distribution.
[3] | Adjusted to include the historical results of the Predecessors. See Note 1 for further discussion.
[4] | Total general partner earnings and limited partner earnings on common units for the nine months ended September 30, 2017 differ from the amounts recognized in equity as of September 30, 2017. The table above reconciles general and limited earnings calculated using the ownership structure in place after the WNRL Merger and IDR/GP Transaction to amounts recorded to equity as of September 30, 2017 by showing the earnings that were allocated to the general partner’s capital account based on the ownership structure in place for three months ended September 30, 2017.

X
- Definition The amount of cash distributions declared to partners by a limited partnership. + References No definition available. + Details
Name: | andx_DistributionMadeToPartnersTotalCashDistributionsDeclared
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash distribution paid to unit-holder of limited partnership (LP). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055 + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Date of record for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055 + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerDateOfRecord
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date of declaration for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055 + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerDeclarationDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date of distribution for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerDistributionDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per unit of ownership amount of cash distributions declared to unit-holder of a limited partnership (LP). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 272 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DistributionMadeToLimitedPartnerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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