v3.7.0.1

Related-Party Transactions, Agreements (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($) | Dec. 31, 2014 USD ($)
Related Party Transaction |  |  |  |
Receivables from affiliate related to third-party revenues |  | $ 193 | $ 105 | $ 83
Other Commitments |  |  |  |
2017, Commitment |  | 268 |  |
2018, Commitment |  | 268 |  |
2019, Commitment |  | 265 |  |
2020, Commitment |  | 263 |  |
2021, Commitment |  | 260 |  |
Operating Leases, Future Minimum Payments Receivable, Thereafter |  | 890 |  |
Indemnification deductible |  | $ 1 |  |
Transportation Agreement (High Plains System) |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2011 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Second Amended and Restated Trucking Transportation Services Agreement (High Plains System) |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2011 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Stockton Minimum Throughput Commitment (MTA suppliement) |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2011 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Salt Lake City Storage Agreement |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2011 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Amended and Restated Transportation Services Agreement |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2011 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Amorco Terminal Use and Throughput Agreement (Martinez Marine) |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2012 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Length Of Time For Continuing Minimum Payments |  | 12 months |  |
Amended Anacortes Track Use and Throughput Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | November 2012 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Terminalling Services Agreement for Northwest Product System [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | June 2013 |  |
Term (years) |  | 1 year |  |
Number Of Contract Renewals |  | 0 |  |
Term Of Renewal |  | 1 year |  |
Southern California Terminalling Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | June 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Carson Storage Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | June 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Southern California Dedicated Storage Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | June 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Long Beach Storage Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Carson Coke Handling Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Long Beach Throughput Agreement |  |  |  |
Related Party Transaction |  |  |  |
Initiation date | [1] | December 2013 |  |
Term (years) | [1] | 10 years |  |
Term Of Modification | [1] | 20 years |  |
Number Of Contract Renewals | [1] | 2 |  |
Term Of Renewal | [1] | 5 years |  |
Transportation Services Agreement (SoCal Pipelines) [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Amended and Restated Long Beach Berth Access Use and Throughput Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2013 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
BASH Storage-TRMC Tanks [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | April 2014 |  |
Term (years) |  | 5 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Terminalling Services Agreement - Martinez [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | July 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Terminalling Services Agreement - Nikiski [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | July 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Storage Services Agreement - Anacortes [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | July 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Martinez Dedicated LPG Storage Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | July 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
THPP Reversal Open Season Northbound Commitment [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | September 2014 |  |
Term (years) |  | 7 years |  |
Number Of Contract Renewals |  | 0 |  |
Term Of Renewal |  | 0 years |  |
Tesoro Alaska Pipeline Throughput Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | September 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Transportation Services Agreement (LAR Short Haul Pipeline) [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | September 2014 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Keep-Whole Commodity Fee Agreement |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2014 |  |
Term (years) |  | 5 years |  |
Number Of Contract Renewals |  | 1 |  |
Term Of Renewal |  | 1 year |  |
Length Of Time For Continuing Minimum Payments |  | 3 months |  |
Terminalling Services Agreement-Anacortes Rack [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | November 2015 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Carson Tank Farm Storage Agreement |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | November 2015 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Kenai Storage Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | July 2016 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Alaska Terminalling Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | September 2016 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Avon Marine Terminal Operating Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | November 2016 |  |
Term (years) |  | 0 years |  |
Number Of Contract Renewals |  | 0 |  |
Term Of Renewal |  | 0 years |  |
Martinez Storage Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | November 2016 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Asphalt and Propane Rack Loading Services Agreement [Member] |  |  |  |
Related Party Transaction |  |  |  |
Initiation date |  | December 2016 |  |
Term (years) |  | 10 years |  |
Number Of Contract Renewals |  | 2 |  |
Term Of Renewal |  | 5 years |  |
Omnibus Agreement |  |  |  |
Other Commitments |  |  |  |
Omnibus agreement annual fee |  | $ 11 |  |
Los Angeles Terminal Assets |  |  |  |
Other Commitments |  |  |  |
Years to identify conditions after the date of purchase (years) |  | 5 years |  |
Partner to Tesoro [Member] | Secondment and Logistics Services Agreement |  |  |  |
Other Commitments |  |  |  |
Operational services fee |  | $ 5 | 3 |
Tesoro to Partner [Member] | Secondment and Logistics Services Agreement |  |  |  |
Other Commitments |  |  |  |
Operational services fee |  | $ 18 | $ 8 |
[1] | Agreement gives Tesoro the option to renew for two five-year terms, or Tesoro may modify the term of the agreements to a twenty-year term by providing notice in accordance with each agreement.

X
- Definition Amount of annual deductible for each type (unknown environmental liabilities, title or tax matters) of liability before being entitled to indemnification. + References No definition available. + Details
Name: | andx_IndemnificationDeductible
Namespace Prefix: | andx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Length of time in which minimum payments will be received after the suspension, reduction or termination of the obligations of one party in an agreement. + References No definition available. + Details
Name: | andx_LengthOfTimeForContinuingMinimumPayments
Namespace Prefix: | andx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Contract Renewals that are currently in the contractual arrangement + References No definition available. + Details
Name: | andx_NumberOfContractRenewals
Namespace Prefix: | andx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Service Agreement Initiation Date + References No definition available. + Details
Name: | andx_ServiceAgreementInitiationDate
Namespace Prefix: | andx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The term of the agreement. Agreement could be a lease, debt, arrangement, services agreement or other arrangement. + References No definition available. + Details
Name: | andx_TermOfAgreement
Namespace Prefix: | andx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term Of Modification Option + References No definition available. + Details
Name: | andx_TermOfModification
Namespace Prefix: | andx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of years in a renewal option under an agreement. + References No definition available. + Details
Name: | andx_TermOfRenewal
Namespace Prefix: | andx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of years in which a pre-closing condition must be identified for indemnification. + References No definition available. + Details
Name: | andx_YearsToIdentifyConditionsForIndemnification
Namespace Prefix: | andx_
Data Type: | xbrli:durationItemType
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 Future rental payments receivable within one year of the balance sheet date under an operating lease. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6454179&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future rental payments receivable within the fourth year from the balance sheet date under an operating lease. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6454179&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future rental payments receivable within the third year from the balance sheet date under an operating lease. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6454179&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future rental payments receivable within the second year from the balance sheet date under an operating lease. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6454179&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future minimum lease payments receivable under operating leases for periods greater than five years following the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6454179&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableThereafter
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of revenue recognized for the period from operating leases, including minimum lease revenue, contingent revenue, percentage revenue and sublease revenue. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=7501430&loc=d3e39896-112707 + Details
Name: | us-gaap_OperatingLeasesIncomeStatementLeaseRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum amount of other commitment maturing in the fifth fiscal year following the latest fiscal year for commitments not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in this taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_OtherCommitmentFiscalYearMaturityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=andx_AsphaltandPropaneRackLoadingServicesAgreementMember
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_PropertyPlantAndEquipmentByTypeAxis=andx_LosAngelesTerminalAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=andx_PartnertoTesoroMember
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: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=andx_TesorotoPartnerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |