v3.7.0.1

Related-Party Transactions, Summary of Affiliate Transactions (Details) - USD ($) $ / shares in Units, $ in Millions |  |  |  | 12 Months Ended
--- | --- | --- | --- | ---
Feb. 14, 2017 | Feb. 03, 2017 | Jan. 18, 2017 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Subsequent Event |  |  |  |  |  |  |
Revenues |  |  |  |  | $ 715 | $ 615 | $ 497
Operating and maintenance expenses |  |  |  |  | 166 | 135 | 111
Imbalance settlement gains and reimbursements from Tesoro | [1] |  |  |  | (24) | (42) | (43)
General and administrative expenses |  |  |  |  | 69 | 72 | 39
Imbalance settlement gains |  |  |  |  | (7) | (8) | (17)
Reimbursements from Tesoro |  |  |  |  | 17 | 34 | 26
Quarterly cash distributions, including IDRs |  |  |  |  | $ (245) | $ (148) | $ (87)
Subsequent Event |  |  |  |  |  |  |
Subsequent Event |  |  |  |  |  |  |
Cash distributions paid per unit |  |  |  | $ 0.91 |  |  |
Cash distribution to Tesoro |  | $ 140 |  | $ 77 |  |  |
Date of distribution |  | Feb. 14, 2017 |  |  |  |  |
Distribution Made to Limited Partner, Declaration Date |  |  | Feb. 03, 2017 | Jan. 18, 2017 |  |  |
[1] | Includes net imbalance settlement gains of $7 million, $8 million and $17 million in the years ended December 31, 2016, 2015 and 2014, respectively. Also includes reimbursements primarily related to pressure testing and repairs and maintenance costs pursuant to the Amended Omnibus Agreement and the Carson Assets Indemnity Agreement of $17 million, $34 million and $26 million in the years ended December 31, 2016, 2015 and 2014, respectively.

X
- Definition Related Party, gain (loss) on settlements and reimbursements + References No definition available. + Details
Name: | andx_RelatedPartyGainLossOnSettlementAndReimbursements
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value of gains (losses) arising from changes in volumes of crude oil or refined products due to pressure and temperature changes, evaporation and variances in other measurement methods. + References No definition available. + Details
Name: | andx_VolumeGainsLossesValue
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 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 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 distributions of earnings to an entity that is affiliated with the reporting entity by means of direct or indirect ownership. + 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 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDistributionsToAffiliates
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
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
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: |