v3.8.0.1

Equity Equity, Net Earnings (Details) - USD ($) $ in Millions | 9 Months Ended
--- | ---
Sep. 30, 2017 | Sep. 30, 2016
Schedule of Capitalization, Equity [Line Items] |  |  |
Net Income (Loss) Attributable To Partners | [1] | $ 299 | $ 263
General Partner |  |  |
Schedule of Capitalization, Equity [Line Items] |  |  |
Participating Securities, Distributed and Undistributed Earnings (Loss), Basic |  | 94 | 89
Income (Loss) of General Partner Unit Issuance and Incentive Distribution Rights | [2] | 40 | 0
Net Income (Loss) Attributable To Partners |  | 119 | 89
Common |  |  |
Schedule of Capitalization, Equity [Line Items] |  |  |
Participating Securities, Distributed and Undistributed Earnings (Loss), Basic |  | 220 | 153
Income (Loss) of General Partner Unit Issuance and Incentive Distribution Rights | [2] | (40) | 0
Net Income (Loss) Attributable To Partners |  | 180 | $ 153
IDR/GP Transaction | General Partner |  |  |
Schedule of Capitalization, Equity [Line Items] |  |  |
Net Income (Loss) Attributable To Partners |  | $ 134 |
[1] | Adjusted to include the historical results of the Predecessors. See Note 1 for further discussion.
[2] | 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 Income (Loss) due to General Partner Unit Issuance and Incentive Distribution Rights + References No definition available. + Details
Name: | andx_IncomeLossofGeneralPartnerUnitIssuanceandIncentiveDistributionRights
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate amount of net income attributable to the partners, which excludes the amount of net income attributable to predecessor entities. + References No definition available. + Details
Name: | andx_NetIncomeLossAttributableToPartners
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of earnings (loss) distributed and earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 60B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=64863997&loc=SL5780133-109256 + Details
Name: | us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfCapitalizationEquityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PartnerCapitalComponentsAxis=us-gaap_GeneralPartnerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PartnerCapitalComponentsAxis=us-gaap_LimitedPartnerMember
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: |