Description of Business and Summary of Significant Accounting Policies | Note 1 - Description of Business and Summary of Significant Accounting Policies Description and Nature of Business Andeavor Logistics LP (“Andeavor Logistics” or the “Partnership”) is a growth-oriented Delaware limited partnership formed in December 2010 by Andeavor and its wholly-owned subsidiary, Tesoro Logistics GP, LLC (“TLGP”), our general partner in December 2010 to own, operate, develop and acquire logistics and related assets and businesses. Unless the context otherwise requires, references in this report to “we,” “us,” “our,” or “ours” refer to Andeavor Logistics LP, one or more of its consolidated subsidiaries or all of them taken as a whole. Unless the context otherwise requires, references in this report to “Andeavor” or our “Sponsor” refer collectively to Andeavor and any of its subsidiaries, other than Andeavor Logistics, its subsidiaries and its general partner. Our logistics assets are integral to the success of Andeavor’s refining and marketing operations and are used to gather crude oil and to distribute, transport and store crude oil and refined products. We are a full service logistics company operating primarily in the western and mid-continent regions of the United States. We own and operate a network of crude oil, refined products and natural gas pipelines as well as operate crude oil and refined products truck and marine terminals and provide crude oil and refined product storage capacity. In addition, we own and operate bulk petroleum distribution facilities and natural gas processing and fractionation complexes. Our assets are categorized into the following segments: Terminalling and Transportation, Gathering and Processing, and Wholesale. See Note 13 for additional information regarding our segments. We generate revenues by charging fees for terminalling, transporting and storing crude oil and refined products, gathering crude oil and produced water, gathering and processing natural gas and selling fuel through wholesale commercial contracts. We are generally not directly exposed to commodity price risk with respect to any of the crude oil, natural gas, NGLs or refined products that we handle, as part of our normal operations. However, we may be subject to nominal commodity risk exposure due to pipeline loss allowance provisions in many of our pipeline gathering and transportation contracts and a nominal amount of condensate retained as part of our natural gas gathering services. For the NGLs that we handle under keep-whole agreements, the Partnership has a fee-based processing agreement with Andeavor which minimizes the impact of commodity price movement during the annual period subsequent to renegotiation of terms and pricing each year. We do not engage in the trading of crude oil, natural gas, NGLs or refined products; therefore we have minimal direct exposure to risks associated with commodity price fluctuations. However, these risks indirectly influence our activities and results of operations over the long-term through their effects on our customers’ operations. As part of the WNRL Merger, we acquired a wholesale fuel business that has exposure to commodity prices while the refined product is being transported but are mitigated by fixed margin contracts. In the years ended December 31, 2017 , 2016 and 2015 , 44% , 59% and 55% of our revenue was derived from Andeavor under various long-term, fee-based commercial agreements, the majority of which include minimum volume commitments, and from wholesale fuel sales to Andeavor. QEP Resources accounted for 13% and 16% of our total revenues in the years ended December 31, 2016 and 2015 , respectively. No single customer, other than Andeavor, accounted for more than 10% of our total revenues for the year ended December 31, 2017 . Our Terminalling and Transportation segment consists of the Northwest Products Pipeline, which includes a regulated common carrier products pipeline running from Salt Lake City, Utah to Spokane, Washington and a jet fuel pipeline to the Salt Lake City International Airport; a regulated common carrier refined products pipeline system connecting Andeavor’s Kenai refinery to our terminals in Anchorage, Alaska; tankage and related equipment at Andeavor’s Kenai refinery; and crude oil and refined products terminals and storage facilities in the western, southwest and midwestern U.S.; storage facilities located at Andeavor’s El Paso, Gallup and St. Paul Park refineries; marine terminals in California and in Washington; asphalt terminalling and processing services at our asphalt plant and terminal in El Paso, as well as at three stand-alone asphalt terminals in Albuquerque and Phoenix and Tucson, Arizona; a rail-car unloading facility in Washington; a manifest rail facility in Washington; an asphalt trucking operation, a petroleum coke handling and storage facility in Los Angeles; and other pipelines which transport products and crude oil from Andeavor’s refineries to nearby facilities in Salt Lake City and Los Angeles. Our Gathering and Processing segment includes crude oil and natural gas pipeline gathering systems in the Bakken Shale/Williston Basin area of North Dakota and Montana (the “Bakken Region”) and the Green River Basin, Uinta Basin and Vermillion Basin in the states of Utah, Colorado and Wyoming (the “Rockies Region”), the Delaware Basin in the Permian Basin area of West Texas and Southern New Mexico, the Four Corners area of Northwestern New Mexico, and consists of crude trucking operations and gas processing and fractionation complexes. Our Wholesale segment consists of bulk petroleum distribution facilities and a fleet of refined product delivery trucks. Principles of Consolidation and Basis of Presentation The accompanying consolidated financial statements include the accounts of Andeavor Logistics and its subsidiaries. All intercompany accounts and transactions have been eliminated. We have evaluated subsequent events through the filing of this Form 10-K. Any material subsequent events that occurred during this time have been properly recognized or disclosed in our financial statements. We have not reported comprehensive income due to the absence of items of other comprehensive income in the years presented. In 2017 , 2016 and 2015 , we entered into various transactions with Andeavor and our general partner, TLGP, pursuant to which Andeavor Logistics acquired from Andeavor the following: • crude oil, feedstock and refined products storage, the Anacortes marine terminal, a manifest rail facility and crude oil and refined products pipelines located in Anacortes, Washington on November 8, 2017; • logistic assets owned by Western Refining Logistics, LP (“WNRL”), which consisted of pipelines, gathering, terminalling, storage, transportation and wholesale fuel distribution assets effective October 30, 2017; • tankage, refined product storage, marine terminal terminalling and storage assets, pipelines, causeway and ancillary equipment located in Martinez, California (the “Northern California Terminalling and Storage Assets”) effective November 21, 2016 ; • all of the limited liability company interests in Tesoro Alaska Terminals, LLC, tankage, bulk tank farm, a truck rack and rail-loading facility, terminalling and other storage assets located in Kenai, Anchorage and Fairbanks, Alaska (the “Alaska Storage and Terminalling Assets”) completed in two stages on July 1, 2016 and September 16, 2016; and • a crude oil and refined products storage tank facility located at Andeavor’s Los Angeles refinery and a 50% fee interest in a pipeline that transports jet fuel from Andeavor’s Los Angeles refinery to the Los Angeles International Airport (the “LA Storage and Handling Assets”) effective November 12, 2015 . These transactions are collectively referred to as “Acquisitions from Andeavor” and the related assets, liabilities and results of the operations are collectively referred to as the “Predecessors.” The Acquisitions from Andeavor were transfers between entities under common control. As an entity under common control with Andeavor, we record the assets that we acquire from Andeavor on our consolidated balance sheet at Andeavor’s historical basis instead of fair value. Transfers of businesses between entities under common control are accounted for as if the transfer occurred at the beginning of the period, and prior periods are retrospectively adjusted to furnish comparative information. Accordingly, the accompanying financial statements and related notes of Andeavor Logistics have been retrospectively adjusted to include the historical results of the assets acquired in the Acquisitions from Andeavor prior to the effective date of each acquisition. The acquisition of logistics assets located in Anacortes, Washington in 2017 was immaterial to our consolidated financial statements. While this acquisition is a common control transaction, prior periods have not been recast as these assets do not constitute a business in accordance with ASU 2017-01, “Clarifying the Definition of a Business” (“ASU 2017-01”). See Note 2 for additional information regarding the 2017 , 2016 and 2015 acquisitions. The accompanying financial statements and related notes present the combined financial position, results of operations, cash flows and equity of our Predecessors at historical cost. The financial statements of our Predecessors have been prepared from the separate records maintained by Andeavor and may not necessarily be indicative of the conditions that would have existed or the results of operations if our Predecessors had been operated as an unaffiliated entity. Other than WNRL, our Predecessors did not record revenue for transactions with Andeavor. Accordingly, the revenues in our Predecessors’ historical combined financial statements relate only to amounts received from third parties for these services. Use of Estimates We prepare our consolidated financial statements in conformity with accounting principles generally accepted in the United States of America, which requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and revenues and expenses reported and presented as of and for the periods ended. We review our estimates on an ongoing basis using currently available information. Changes in facts and circumstances may result in revised estimates and actual results could differ from those estimates. Cash and Cash Equivalents Cash and cash equivalents include bank deposits and low-risk short-term investments with original maturities of three months or less at the time of purchase. Cash equivalents are stated at cost, which approximates market value. We place our cash deposits and temporary cash investments with high credit quality financial institutions. At times, our cash and cash equivalents may be uninsured or in deposit accounts that exceed the Federal Deposit Insurance Corporation insurance limit. We had no cash and cash equivalents held in money market funds. Receivables A portion of the Partnership’s accounts receivable is due from Andeavor. Credit for non-affiliated customers is extended based on an evaluation of each customer’s financial condition and in certain circumstances, collateral, such as letters of credit or guarantees, is required. Our allowance for doubtful accounts is based on various factors including current sales amounts, historical charge-offs and specific accounts identified as high risk. After reasonable efforts to collect the amounts have been exhausted, balances are deemed uncollectible and are charged against the allowance for doubtful accounts. Write-offs were immaterial in 2017 , 2016 and 2015 . The Company does not have any off-balance-sheet credit exposure related to its customers. Property, Plant and Equipment Property, plant and equipment are stated at the lower of historical cost less accumulated depreciation or fair value, if impaired. We capitalize all construction-related direct labor and material costs, as well as indirect construction costs. Indirect construction costs include general engineering and other allocated employee costs. Costs, including complete asset replacements and enhancements or upgrades that increase the original efficiency, productivity or capacity of property, plant and equipment, are also capitalized. The costs of repairs, minor replacements and maintenance projects that do not increase the original efficiency, productivity or capacity of property, plant and equipment are expensed as incurred. We capitalize interest as part of the cost of major projects during the construction period. Capitalized interest totaled $5 million during both 2017 and 2016 and $9 million during 2015 , and is recorded as a reduction to net interest and financing costs in our consolidated statements of operations. We compute depreciation of property, plant and equipment using the straight-line method, based on the estimated useful life and salvage value of each asset. When assets are placed into service, we make estimates with respect to their useful lives that we believe are reasonable. However, factors such as maintenance levels, economic conditions impacting the demand for these assets and regulatory or environmental requirements could cause us to change our estimates, thus impacting the future calculation of depreciation. We depreciate leasehold improvements and property acquired under capital leases over the lesser of the lease term or the economic life of the asset. Depreciation expense totaled $231 million , $159 million and $158 million for 2017 , 2016 and 2015 , respectively. When items of property, plant and equipment are sold or otherwise disposed of, any gains or losses are reported in net income. Gains on the disposal of property, plant and equipment are recognized when earned, which is generally at the time of closing. If a loss on disposal is expected, such losses are recognized when the assets are classified as held for sale. Asset Retirement Obligations We record AROs at fair value in the period in which we have a legal obligation to incur costs, whether by government action or contractual arrangement, to retire a tangible asset and can make a reasonable estimate of the fair value of the liability. AROs are calculated based on the present value of the estimated removal and other closure costs using our credit-adjusted risk-free rate given an estimated settlement date for the obligation. We estimate settlement dates by considering our past practice, industry practice, management’s intent and estimated economic lives. We cannot currently estimate the fair value for certain potential AROs primarily because we cannot estimate settlement dates (or range of dates) associated with these assets. These AROs include, but are not limited to, the removal or dismantlement of terminal facilities, pipelines and other buildings. AROs included in our consolidated balance sheets were $11 million and $9 million at December 31, 2017 and 2016 , respectively. Acquired Intangibles and Goodwill Acquired intangibles are recorded at fair value as of the date acquired and consist of customer relationships obtained in connection with the acquisitions of WNRL, the North Dakota Gathering and Processing Assets as defined below and QEP Field Services, LLC, (the “Rockies Natural Gas Business Acquisition”). The value for the identified customer relationships consists of cash flow expected from existing contracts and future arrangements from the existing customer base. We amortize acquired intangibles with finite lives on a straight-line basis over an estimated weighted average useful life of 22 years and we include the amortization in depreciation and amortization expenses on our consolidated statements of operations. Goodwill represents the amount the purchase price exceeds the fair value of net assets acquired in a business combination. We do not amortize goodwill or indefinite-lived intangible assets. The goodwill recorded for the acquisition of WNRL represents goodwill recognized by Andeavor. Goodwill represents future organic growth opportunities, anticipated synergies and intangible assets that did not qualify for separate recognition. We are required, however, to review goodwill and indefinite-lived intangible assets for impairment annually, or more frequently if events or changes in business circumstances indicate that the asset might be impaired. In such circumstances, we record the impairment in loss on asset disposals and impairments in our consolidated statements of operations. We review the recorded value of goodwill for impairment on November 1 st of each year, or sooner if events or changes in circumstances indicate the carrying amount may exceed fair value using qualitative and/or quantitative assessments at the reporting level. There were no impairments of goodwill during the years ended December 31, 2017 , 2016 and 2015 . Impairment of Long-Lived Assets We review property, plant and equipment and other long-lived assets, including acquired intangibles with finite lives, for impairment whenever events or changes in business circumstances indicate the net book values of the assets may not be recoverable. Impairment is indicated when the undiscounted cash flows estimated to be generated by those assets are less than the assets’ net book value. If this occurs, an impairment loss is recognized for the difference between the asset fair value and net book value. Factors that indicate potential impairment include: a significant decrease in the market value of the asset, operating or cash flow losses associated with the use of the asset and a significant change in the asset’s physical condition or use. Equity Method Investments and Joint Ventures For equity investments that are not required to be consolidated under the variable interest model, we evaluate the level of influence we are able to exercise over an entity’s operations to determine whether to use the equity method of accounting. We use equity method of accounting when we are able to have significant influence over an entity’s operations. Our judgment regarding the level of control over an equity method investment includes considering key factors such as our ownership interest, participation in policy-making and other significant decisions and material intercompany transactions. Amounts recognized for equity method investments are included in other noncurrent assets in our consolidated balance sheets and adjusted for our share of the net earnings or losses of the investee, which are presented separately in our statements of consolidated operations, capital contributions made and cash dividends received. We evaluate our equity method investments for impairment whenever events or changes in circumstances indicate that the carrying amounts of such investments may be impaired. An impairment loss is recorded in earnings in the current period to write down the carrying value of the investment to fair value if a decline in the value of an equity method investment is determined to be other than temporary. There were no impairments of our equity method investments during the years ended December 31, 2017 , 2016 and 2015 . Financial Instruments Financial instruments including cash and cash equivalents, receivables, accounts payable and accrued liabilities are recorded at their carrying value. We believe the carrying value of these financial instruments approximates fair value. Our fair value assessment incorporates a variety of considerations, including: • the short term duration of the instruments (approximately 1% of our third-party receivables and approximately 8% of trade payables have been outstanding for greater than 90 days); and • the expected future insignificance of bad debt expense, which includes an evaluation of counterparty credit risk. The fair value of our senior notes is based on prices from recent trade activity and is categorized in level 2 of the fair value hierarchy. The carrying value and fair value of our debt were approximately $4.2 billion and $4.3 billion at December 31, 2017 , respectively, and were approximately $4.1 billion and $4.3 billion at December 31, 2016 , respectively. These carrying and fair values of our debt do not consider the unamortized issuance costs, which are netted against our total debt. Income Taxes We are a limited partnership, with the exception of three of our subsidiaries, and are not subject to federal or state income taxes. Our taxable income or loss is included in the federal and state income tax returns of our partners. Taxable income may vary substantially from income or loss reported for financial reporting purposes due to differences in the tax bases and financial reporting bases of assets and liabilities, and due to certain taxable income allocation requirements of the partnership agreement. We are unable to readily determine the net difference in the bases of our assets and liabilities for financial and tax reporting purposes because individual unitholders have different investment bases depending upon the timing and price of acquisition of their partnership units. Contingencies Environmental Matters We are subject to federal, state and local laws and regulations governing environmental quality and pollution control. These laws and regulations require us to remove or remedy the effect of the disposal or release of specified substances at current and former operating sites. Our environmental liabilities are estimates using internal and third-party assessments and available information to date. It is possible these estimates will change as additional information becomes available. We capitalize environmental expenditures that extend the life or increase the capacity of facilities as well as expenditures that prevent environmental contamination. We expense costs that relate to an existing condition caused by past operations and that do not contribute to current or future revenue generation. We record liabilities when environmental assessments and/or remedial efforts are probable and can be reasonably estimated. Cost estimates are based on the expected timing and the extent of remedial actions required by governing agencies, experience gained from similar sites for which environmental assessments or remediation have been completed, and the amount of our anticipated liability considering the proportional liability and financial abilities of other responsible parties. Certain of our environmental liabilities, specific to long-term monitoring costs we believe are fixed and determinable, are recorded on a discounted basis. Where the available information is sufficient to estimate the amount of liability, that estimate is used. Where the information is only sufficient to establish a range of probable liability and no point within the range is more likely than another, the lower end of the range is used. Possible recoveries of some of these costs from other parties are not recognized in the financial statements until they become probable. Legal costs associated with environmental remediation are included as part of the estimated liability. The majority of our environmental liabilities are recorded on an undiscounted basis. Legal Matters In the ordinary course of business, we become party to lawsuits, administrative proceedings and governmental investigations. These matters may involve large or unspecified damages or penalties that may be sought from us and may require years to resolve. We record a liability related to a loss contingency attributable to such legal matters in other current liabilities or other noncurrent liabilities on our consolidated balance sheets, depending on the classification as current or noncurrent if we determine the loss to be both probable and estimable. The liability is recorded for an amount that is management’s best estimate of the loss, or when a best estimate cannot be made, the minimum loss amount of a range of possible outcomes. Acquisitions We use the acquisition method of accounting for the recognition of assets acquired and liabilities assumed with acquisitions at their estimated fair values as of the date of acquisition, with the exception of the Acquisitions from Andeavor. As an entity under common control with Andeavor, we record the assets that we acquire from Andeavor on our consolidated balance sheet at Andeavor’s historical basis instead of fair value. Any excess consideration transferred over the estimated fair values of the identifiable net assets acquired from third parties is recorded as goodwill. While we use our best estimates and assumptions to measure the fair value of the identifiable assets acquired and liabilities assumed at the acquisition date, our estimates are inherently uncertain and subject to refinement. As a result, during the measurement period, not to exceed one year from the date of acquisition, any changes in the estimated fair values of the net assets recorded for the acquisitions will result in an adjustment to goodwill. Upon the conclusion of the measurement period or final determination of the values of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are recorded to our consolidated statements of operations. Our acquisitions are discussed further in Note 2 . Revenue Recognition The Partnership generates revenue by charging fees for gathering crude oil and natural gas, for terminalling, transporting and storing crude oil and refined products, for processing natural gas and natural gas liquids and for selling fuel through wholesale commercial contracts. Revenues are recognized as crude oil, natural gas and refined products are transported through, delivered by, or stored in our pipelines, terminals and storage facility assets and transported by our trucking operations. Processing revenues are generated under long-term contracts with fee-based or keep-whole agreements. Under our fee-based agreements, the amount of fee-based revenue we generate is based on the volumes of natural gas that we process at our processing complexes. Other than the revenue associated with WNRL, the only historic revenues reflected in the financial statements of our Predecessors are amounts received from third-party use of our pipelines and terminals. Andeavor was not charged fees for services rendered with respect to any terminalling, storage or pipeline transportation services, except as described above, prior to the Acquisitions from Andeavor, as the respective assets were operated as a component of Andeavor’s petroleum refining and marketing businesses. The Partnership has several streams of revenue. Revenues are recognized as products are shipped through our pipelines and terminals. Billings to customers for obligations under their quarterly minimum revenue commitments (shortfall payments) are recorded as deferred revenue when they have the right and physical ability to receive future services for these billings. Some of our fee-based agreements provide for fixed demand charges, which are recognized as revenue pursuant to the contract terms. Revenue associated with shortfall payments is recognized at the earlier of (i) the customer receiving the services provided by these billings, (ii) the expiration of the period in which the customer is contractually allowed to receive the services, (iii) the determination that future services will not be required. Reimbursements Pursuant to the Fourth Amended and Restated Omnibus Agreement (“Amended Omnibus Agreement”) and Carson Assets Indemnity Agreement, Andeavor reimburses the Partnership for pressure testing, required repairs and maintenance identified as a result of the first inspection of certain pipeline and tank assets subsequent to the Acquisitions from Andeavor, as well as maintenance projects identified in the Amended Omnibus Agreement for which the costs were not known at the date of the Acquisitions from Andeavor. These amounts are recorded as a reduction to operating expense during the period the costs are incurred. These amounts were $16 million , $17 million and $34 million for the years ended December 31, 2017 , 2016 and 2015 , respectively. In addition, Andeavor reimburses the Partnership for capital projects identified in the Amended Omnibus Agreement. These amounts are recorded as a capital contribution by affiliate and were $34 million , $29 million and $22 million for the years ended December 31, 2017 , 2016 and 2015 , respectively. Imbalances We experience volume gains and losses, which we sometimes refer to as imbalances, within our pipelines, terminals and storage facilities due to pressure and temperature changes, evaporation and variances in meter readings and in other measurement methods. On our crude oil gathering and transportation system in North Dakota and Montana (the “High Plains System”), we retain 0.20% of the crude oil shipped on our owned and operated common carrier pipelines in North Dakota and Montana and we bear any crude oil volume losses in excess of that amount. Under the Second Amended and Restated Master Terminalling Service Agreement with Andeavor, we retain 0.25% of the refined products we handle at certain of our terminals for Andeavor, and bear any refined product volume losses in excess of that amount. The value of any crude oil or refined product imbalance settlements resulting from these tariffs or contractual provisions is determined by using the monthly average market prices for the applicable commodity, less a specified discount. The Partnership measures volume losses annually for the terminals and pipelines in the Northwest Products System. We retain 0.125% of the distillates and 0.25% of the other refined products we handle at our terminals on the Northwest Products System and we bear any refined product volume losses in excess of those amounts. The value of any refined product losses is determined by using the annual average market price for the applicable commodity. Any settlements under tariffs or contractual provisions where we bear any crude oil or refined product volume losses in excess of amounts specified reduce our operating expenses in the period in which they are realized, to the extent they are within the loss allowance, and increase our operating expenses in such period to the extent they exceed the loss allowance. There are pipeline loss allowance provisions associated with the pipeline agreements acquired in the WNRL Merger. There is a 0.20% pipeline loss allowance for the crude oil shipped on these pipeline systems. Each month we invoice Andeavor for 0.20% of the volume delivered to us by Andeavor for the month as a volume loss at a price equal to that month's calendar day average for WTI crude oil, as quoted on the New York Mercantile Exchange, less $8.00 per barrel. Following the end of the month, we calculate the actual volume loss and provide a credit to Andeavor for the amount of actual volume loss at a price equal to the month's calendar day average for WTI crude oil, as quoted on the New York Mercantile Exchange, less $8.00 per barrel. For all of our other terminals, and under our other commercial agreements with Andeavor, we have no obligation to measure volume losses and have no liability for physical losses. The consolidated balance sheets also include offsetting natural gas imbalance receivables or payables resulting from differences in gas volumes received by customers and gas volumes delivered to interstate pipelines. Natural gas volumes owed to or by the Partnership that are subject to tariffs are valued at market index prices, as of the balance sheet dates, and are subject to cash settlement procedures. Other natural gas volumes owed to or by the Partnership are valued at our weighted average cost of natural gas as of the balance sheet dates and are settled in-kind. Cost Classification Cost of fuel and other includes the purchase cost of refined products sold within our Wholesale segment, the cost of inbound transportation and distribution costs incurred to transport product to our customers, and NGL expense. NGL expense results from the gross presentation required for our percent of proceeds arrangements associated with the acquired crude oil, natural gas and produced water gathering systems and two natural gas processing facilities from Whiting Oil and Gas Corporation, GBK Investments, LLC and WBI Energy Midstream, LLC (the “North Dakota Gathering and Processing Assets”). Operating expenses are comprised of direct operating costs including costs incurred for direct labor, repairs and maintenance, outside services, chemicals and catalysts, utility costs, including the purchase of electricity and natural gas used by our facilities, property taxes, e |