v3.8.0.1

Related-Party Transactions Related-Party Transactions, Summary of Transactions Narrative (Details) - USD ($) $ / shares in Units, $ in Millions |  |  | 3 Months Ended | 6 Months Ended | 9 Months Ended
--- | --- | --- | --- | --- | ---
Nov. 14, 2017 | Oct. 18, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | [4] | Mar. 31, 2017 | [4] | Dec. 31, 2016 | Jun. 30, 2016 | Sep. 30, 2017 | Sep. 30, 2016
Cash Dividends Paid to Parent Company |  |  |  |  |  |  |  |  |  | $ 223 |  |
Revenue from Related Parties | [1] |  |  |  |  |  |  |  |  | 934 | $ 521 | [2]
Related Party Transaction, Expenses from Transactions with Related Party | [3] |  |  |  |  |  |  |  |  | 132 | 107 |
Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party |  |  |  |  |  |  |  |  |  | $ 62 | 52 |
Concentration Risk, Percentage |  |  |  |  |  |  |  |  | 58.00% | 44.00% |  |
Cost of Reimbursable Expense |  |  |  |  |  |  |  |  |  | $ 12 | 12 |
Distribution Made to Limited Partner, Distributions Declared, Per Unit |  |  |  | $ 0.9852 | [4],[5] | $ 0.9710 | $ 0.9400 | $ 0.9100 |  |  |  |
Distribution Made to Limited Partner, Distribution Date |  |  |  | Nov. 14, 2017 | [4],[5] | Aug. 14, 2017 | May 15, 2017 | Feb. 14, 2017 |  |  |  |
Partner to Andeavor [Member] | Omnibus Agreement |  |  |  |  |  |  |  |  |  |  |  |
Payment for Administrative Fees |  |  |  |  |  |  |  |  |  | 11 |  |
Andeavor to Partner | Secondment and Logistics Services Agreement |  |  |  |  |  |  |  |  |  |  |  |
Long-term Purchase Commitment, Amount |  |  |  |  |  |  |  |  |  | 16 | $ 7 |
Western Refining Logistics |  |  |  |  |  |  |  |  |  |  |  |
Cash Dividends Paid to Parent Company |  |  |  |  |  |  |  |  |  | $ 19 |  |
Distribution Made to Limited Partner, Distributions Declared, Per Unit | [6],[7] |  |  | $ 0.4675 |  |  |  |  |  |  |  |
Subsequent Event |  |  |  |  |  |  |  |  |  |  |  |
Distribution Made to Limited Partner, Declaration Date |  |  | Oct. 18, 2017 |  |  |  |  |  |  |  |  |
Subsequent Event | Western Refining Logistics |  |  |  |  |  |  |  |  |  |  |  |
Distribution Made to Limited Partner, Declaration Date |  |  | Jul. 25, 2017 |  |  |  |  |  |  |  |  |
Distribution Made to Limited Partner, Distribution Date |  | Aug. 18, 2017 |  |  |  |  |  |  |  |  |  |
[1] | Andeavor accounted for 44% and 58% of our total revenues for the nine months ended September 30, 2017 and 2016, respectively
[2] | Adjusted to include the historical results of the Predecessors. See Note 1 for further discussion.
[3] | Net of reimbursements from Andeavor pursuant to the Amended Omnibus Agreement, the Carson Assets Indemnity Agreement and other affiliate agreements of $12 million for the nine months ended September 30, 2017 and 2016, respectively.
[4] | 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.
[5] | This distribution was declared on October 18, 2017 and will be paid on the date of distribution.
[6] | Adjusted to include the historical results of the Predecessors. See Note 1 for further discussion.
[7] | 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 This element represents disclosure of the total aggregate cash dividends paid to the entity by consolidated subsidiaries, by unconsolidated subsidiaries, and by 50% or less owned persons accounted for using the equity method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(b)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 235 -Section S99 -Paragraph 2 -Subparagraph (SX 210.9-06) -URI http://asc.fasb.org/extlink&oid=6882215&loc=d3e537971-122884 + Details
Name: | us-gaap_CashDividendsPaidToParentCompany
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=64851502&loc=d3e6351-108592 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13531-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=64851502&loc=d3e6404-108592 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13537-108611 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cost associated with reimbursable income. This occurs when a services entity incurs expenses on behalf of the client and passes through the cost of reimbursable expenses to a client. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostOfReimbursableExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount paid to managing member or general partner, affiliate of managing member or general partner, or affiliate of limited liability company (LLC) or limited partnership (LP) for administrative services provided to the LLC or LP, for example, but not limited to, salaries, rent, or overhead costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_PaymentForAdministrativeFees
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Related Parties -URI http://asc.fasb.org/extlink&oid=16382449 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=6488393&loc=d3e606610-122999 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=andx_PartnertoTesoroMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=andx_OmnibusAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=andx_TesorotoPartnerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=andx_SecondmentandLogisticsServicesAgreementMember
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: |

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