v3.7.0.1

Equity Equity, Narrative (Details) - USD ($) $ / shares in Units, $ in Millions | 6 Months Ended |  |
--- | --- | --- | ---
Jun. 30, 2017 | Feb. 27, 2017 | Dec. 31, 2016
General partner units issued (units) | 2,202,880 | 101,980 | 2,100,900
Limited Liability Company (LLC) or Limited Partnership (LP), Managing Member or General Partner, Ownership Interest | 2.00% |  |
Variable Interest Entity, Qualitative or Quantitative Information, Ownership Percentage | 33.00% |  |
Common units issued (units) | 108,002,273 | 5,000,000 | 102,981,495
Shares Issued, Price Per Share |  | $ 56.19 |
Proceeds from Issuance of Common Limited Partners Units | $ 287 |  |
Public common units |  |  |
Limited Partners' Capital Account, Units Outstanding | 73,947,231 |  |
Andeavor common units |  |  |
Limited Partners' Capital Account, Units Outstanding | 34,055,042 |  |
Common |  |  |
Proceeds from Issuance of Common Limited Partners Units | $ 281 |  |
General Partner |  |  |
Proceeds from Issuance of Common Limited Partners Units | $ 6 |  |

X
- Definition The number of general 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 + Details
Name: | us-gaap_GeneralPartnersCapitalAccountUnitsIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage investment held by the managing member or general partner of the limited liability company (LLC) or 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 + Details
Name: | us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
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
- Definition The number of limited partner units outstanding. + 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 5 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770 + Details
Name: | us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow from the issuance of common limited partners units during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonLimitedPartnersUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=64801991&loc=SL6759159-111685 + Details
Name: | us-gaap_VariableInterestEntityOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_PartnerCapitalComponentsAxis=andx_LimitedPartnerUnitsAffiliateMember
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_PartnerCapitalComponentsAxis=us-gaap_GeneralPartnerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |