v3.8.0.1

Organization and Basis of Presentation WNRL Acquisition (Details) - USD ($) $ in Millions |  | 9 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Oct. 30, 2017 | Sep. 30, 2017 | Dec. 31, 2016 | Feb. 27, 2017
Incentive Distribution, Distribution |  | $ 38.0 | $ 12.5 |
Common units issued (units) |  | 108,075,130 | 102,981,495 | 5,000,000
Subsequent Event | WNRL Merger |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares | 0.4921 |  |  |
Subsequent Event | Western Refining Logistics | WNRL Merger |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares | 0.5233 |  |  |
Subsequent Event | Andeavor [Member] | WNRL Merger |  |  |  |
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares | 0.4639 |  |  |
Subsequent Event | Minimum |  |  |  |
Incentive Distribution, Distribution | $ 60.0 |  |  |
Subsequent Event | Maximum [Member] |  |  |  |
Incentive Distribution, Distribution | $ 160.0 |  |  |
IDR/GP Transaction | Subsequent Event |  |  |  |
Common units issued (units) | 78,000,000 |  |  |

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of incentive obligation paid in cash or stock during the period to a limited liability corporation managing member or limited partnership general partner. + 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 + Details
Name: | us-gaap_IncentiveDistributionDistributionPerYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of limited partner units issued. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770 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 + Details
Name: | us-gaap_LimitedPartnersCapitalAccountUnitsIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=andx_WNRLMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | andx_EquityOwnershipAxis=andx_AndeavorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAxis=andx_IDRGPTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |