Description of Business and Summary of Significant Accounting Policies | 1. Description of Business and Summary of Significant Accounting Policies Partnership Businesses Sprague Resources LP (the “Partnership”) is a Delaware limited partnership formed on June 23, 2011 by Sprague Holdings and its General Partner and engages in the purchase, storage, distribution and sale of refined products and natural gas, and provides storage and handling services for a broad range of materials. Unless the context otherwise requires, references to “Sprague Resources,” and the “Partnership,” refer to Sprague Resources LP and its subsidiaries; references to the "General Partner" refer to Sprague Resources GP LLC; references to “Axel Johnson” or the "Sponsor" refer to Axel Johnson Inc. and its controlled affiliates, collectively, other than Sprague Resources, its subsidiaries and its General Partner; references to “Sprague Holdings” refer to Sprague Resources Holdings LLC, a wholly owned subsidiary of Axel Johnson and the owner of the General Partner. The Partnership owns, operates and/or controls a network of refined products and materials handling terminals and storage facilities predominantly located in the Northeast United States from New York to Maine and in Quebec, Canada. The Partnership also utilizes third-party terminals in the Northeast United States through which it sells or distributes refined products pursuant to rack, exchange and throughput agreements. The Partnership has four reportable segments: refined products, natural gas, materials handling and other operations. • The refined products segment purchases a variety of refined products, such as heating oil, diesel fuel, residual fuel oil, kerosene, jet fuel, and gasoline - primarily from refining companies, trading organizations and producers - and sells them to wholesale and commercial customers. • The natural gas segment purchases natural gas from natural gas producers and trading companies and sells and distributes natural gas to commercial and industrial customers. • The materials handling segment offloads, stores and prepares for delivery a variety of customer-owned products, including asphalt, clay slurry, salt, gypsum, crude oil, residual fuel oil, coal, petroleum coke, caustic soda, tallow, pulp and heavy equipment. • The other operations segment primarily includes the marketing and distribution of coal and certain commercial trucking activities. See Note 2 - Revenue for a description of the Partnership's revenue activities within these business segments. As of December 31, 2020, the Sponsor, through its ownership of Sprague Holdings, owned 12,951,236 common units representing 56.4% of the limited partner interest in the Partnership. Sprague Holdings also owns the General Partner, which in turn owns a non-economic interest in the Partnership. Sprague Holdings currently holds incentive distribution rights ("IDRs") that entitle it to receive increasing percentages, up to a maximum of 50.0%, of the cash the Partnership distributes from distributable cash flow in excess of $0.4744 per unit per quarter. The maximum distribution of 50% does not include any distributions that Sprague Holdings may receive on any limited partner units that it owns. Upon consummation of the IDR Reset Election, Sprague Holdings will own 16,058,484 common units, representing 61.6% of the limited partner interest in the Partnership. See Note 21 - Earnings Per Unit, Note 23 - Partnership Distributions and Note 24 - Subsequent Events. Services Agreement The Partnership, the General Partner and Sprague Holdings operate under a services agreement (the “Services Agreement”) pursuant to which the General Partner provides certain general and administrative and operational services to the Partnership and Sprague Holdings, and the Partnership and Sprague Holdings reimburse the General Partner for all costs and expenses incurred in connection with providing such services to the Partnership and Sprague Holdings. The Services Agreement does not limit the amount that may be reimbursed or paid by the Partnership to the General Partner. The initial term of the Services Agreement expired on October 30, 2018 and automatically renewed at the end of the initial term for successive one-year terms until terminated in accordance with the terms thereof. The Services Agreement does not limit the ability of the officers and employees of the General Partner to provide services to other affiliates of Sprague Holdings or unaffiliated third parties. See Note 13 - Related Party Transactions. As of December 31, 2020, the General Partner employed approximately 663 full-time employees who support the Partnership’s operations, 73 of whom were covered by six collective bargaining agreements. One of these agreements, covering 38 employees, is up for renewal in June 30, 2021. As of December 31, 2020, the Partnership's Canadian subsidiary had 102 employees, 39 of whom were covered by one collective bargaining agreement which expires on March 18, 2021. Basis of Presentation The Consolidated Financial Statements include the accounts of the Partnership and its wholly-owned subsidiaries. Intercompany transactions between the Partnership and its subsidiaries have been eliminated. COVID-19 The global outbreak of the novel coronavirus (COVID-19) was declared a pandemic by the World Health Organization and a national emergency by the U.S. Government in March 2020 and has negatively affected the U.S. and global economy, disrupted global supply chains, resulted in significant travel and transport restrictions, including mandated closures and orders to “shelter-in-place,” and created significant disruption of the financial markets. Beginning in the quarterly period ended March 31, 2020, a wide array of sectors including but not limited to the energy, transportation, manufacturing and commercial, along with global economic conditions generally, have been significantly disrupted by the pandemic. A growing number of the Partnership’s customers in these industries have experienced substantial reductions in their operations due to travel restrictions as well as the extended shutdown of various businesses in affected regions. Furthermore, government measures have also led to a precipitous decline in fuel prices in response to concerns about demand for fuel. The pandemic and associated impacts on economic activity had an adverse effect on the Partnership’s operating results for the year ended December 31, 2020, specifically, the Partnership has seen a decline in demand and related sales volume as large sectors of the global economy have been adversely impacted by the crisis. In response to these developments, the Partnership took swift action to ensure the safety of employees and other stakeholders, and initiated a number of initiatives relating to cost reduction, liquidity and operating efficiencies. The Partnership makes estimates and assumptions that affect the reported amounts on these consolidated financial statements and accompanying notes as of the date of the financial statements. The Partnership assessed accounting estimates that require consideration of forecasted financial information, including, but not limited to, the allowance for credit losses, the carrying value of goodwill, intangible assets, and other long-lived assets. This assessment was conducted in the context of information reasonably available to the Partnership, as well as consideration of the future potential impacts of COVID-19 on the Partnership’s business as of December 31, 2020. At this time, the Partnership is unable to predict with specificity the ultimate impact of the crisis, as it will depend on the magnitude, severity and duration of the pandemic, as well as how quickly, and to what extent, normal economic and operating conditions resume on a sustainable basis globally. Accordingly, if the impact is more severe or longer in duration than the Partnership has assumed, such impact could potentially result in impairments and increases in credit allowances. Use of Estimates The preparation of financial statements requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities in the balance sheet and the reported net sales and expenses in the income statement. Actual results could differ from those estimates. Among the estimates made by management are asset and liability valuations as part of an acquisition, the fair value of derivative assets and liabilities, valuation of contingent consideration, valuation of reporting units within the goodwill impairment assessment, and if necessary long-lived asset impairments and environmental and legal obligations. Revenue Recognition and Cost of Products Sold Revenue is recognized when performance obligations under the terms of a contract with a customer are satisfied. The majority of the Partnership’s revenue is generated from refined products and natural gas contracts that have a single performance obligation which is the delivery of the related energy product. Accordingly, the Partnership recognizes revenue for refined products and natural gas when title and control have been transferred to the customer which is generally at the time of shipment or delivery of products. Revenue for the Partnership’s materials handling segment is recorded on a straight-line basis under leasing arrangements or as services are performed. Revenue is measured as the amount of consideration the Partnership expects to receive in exchange for transferring products or providing services and is generally based upon a negotiated index, formula, list or fixed price. An allowance for doubtful accounts is recorded to reflect an estimate of the ultimate realization of the Partnership's accounts receivable and includes an assessment of the customers’ creditworthiness and the probability of collection. The provision for the allowance for doubtful accounts is included in cost of products sold (exclusive of depreciation and amortization). Estimated discounts are included in the transaction price of the contracts with customers as a reduction to net sales. Cash discounts were $4.1 million, $7.5 million and $7.7 million for the years ended December 31, 2020, 2019 and 2018, respectively. The Partnership sells its products or provides its services directly to commercial customers and wholesale distributors generally under agreements with payment terms typically less than 30 days. The Partnership has elected to account for shipping and handling as activities to fulfill the promise to transfer the good. As such, shipping and handling fees billed to customers in a sales transaction are recorded in net sales and shipping and handling costs incurred are recorded in cost of products sold (exclusive of depreciation and amortization). The Partnership has elected to exclude from net sales any value add, sales and other taxes which it collects concurrently with revenue-producing activities. These accounting policy elections are consistent with the way the Partnership historically recorded shipping and handling fees and taxes. The majority of the Partnership's revenue is derived from contracts (i) with an original expected length of one year or less and (ii) contracts for which it recognizes revenue at the amount in which it has the right to invoice the customer as product is delivered. The Partnership has elected the practical expedient not to disclose the value of remaining performance obligations associated with these types of contracts. Commodity Derivatives The Partnership utilizes derivative instruments consisting of futures contracts, forward contracts, swaps, options and other derivatives individually or in combination, to mitigate its exposure to fluctuations in prices of refined petroleum products and natural gas. The use of these derivative instruments within the Partnership's risk management policy may, on a limited basis, generate gains or losses from changes in market prices. The Partnership enters into futures and over-the-counter ("OTC") transactions either on regulated exchanges or in the OTC market. Futures contracts are exchange-traded contractual commitments to either receive or deliver a standard amount or value of a commodity at a specified future date and price, with some futures contracts based on cash settlement rather than a delivery requirement. Futures exchanges typically require margin deposits as security. OTC contracts, which may or may not require margin deposits as security, involve parties that have agreed either to exchange cash payments or deliver or receive the underlying commodity at a specified future date and price. The Partnership posts initial margin with futures transaction brokers, along with variation margin, which is paid or received on a daily basis, and is included in other current assets and other current liabilities. In addition, the Partnership may either pay or receive margin based upon exposure with counterparties. Payments made by the Partnership are included in other current assets, whereas payments received by the Partnership are included in accrued liabilities. Substantially all of the Partnership’s commodity derivative contracts outstanding as of December 31, 2020 will settle prior to June 30, 2022. The Partnership enters into some master netting arrangements to mitigate credit risk with significant counterparties. Master netting arrangements are standardized contracts that govern all specified transactions with the same counterparty and allow the Partnership to terminate all contracts upon occurrence of certain events, such as a counterparty’s default. The Partnership has elected not to offset the fair value of its derivatives, even where these arrangements provide the right to do so. The Partnership’s derivative instruments are recorded at fair value, with changes in fair value recognized in net income (loss) each period. The Partnership’s fair value measurements are determined using the market approach and includes non-performance risk and time value of money considerations. Counterparty credit is considered for receivable balances, and the Partnership’s credit is considered for payable balances. The Partnership does not offset fair value amounts recognized for the right to reclaim cash collateral (a receivable) or the obligation to return cash collateral (a payable) against the fair value of derivative instruments executed with the same counterparty under the same master netting arrangement. The Partnership had no right to reclaim or obligation to return cash collateral as of December 31, 2020 or 2019. Interest Rate Derivatives The Partnership manages its exposure to variable LIBOR borrowings by using interest rate swaps to convert a portion of its variable rate debt to fixed rates. These interest rate swaps are designated as cash flow hedges and the changes in fair value of the swaps are included as a component of comprehensive income (loss) and accumulated other comprehensive income (loss), net of tax. To designate a derivative as a cash flow hedge, the Partnership documents at inception the assessment that the derivative will be highly effective in offsetting expected changes in cash flows from the item hedged. The assessment, updated at least quarterly, is based on the most recent relevant historical correlation between the derivative and the item hedged. If during the term of the derivative, the hedge is found to be less than highly effective, hedge accounting is prospectively discontinued and the remaining gains and losses are reclassified to income in the current period. Market and Credit Risk The Partnership manages the risk of fluctuations in the price and transportation costs of its commodities through the use of derivative instruments. The volatility of prices for energy commodities can be significantly influenced by market supply and demand, changes in seasonal demand, weather conditions, transportation availability, and federal and state regulations. The Partnership monitors and manages its exposure to market risk on a daily basis in accordance with approved policies. The Partnership has a number of financial instruments that are potentially at risk including cash and cash equivalents, receivables and derivative contracts. The Partnership’s primary exposure is credit risk related to its receivables and counterparty performance risk related to its derivative assets, which is the loss that may result from a customer’s or counterparty’s non-performance. The Partnership uses credit policies to control credit risk, including utilizing an established credit approval process, monitoring customer and counterparty limits, employing credit mitigation measures such as analyzing customer financial statements, and accepting personal guarantees and various forms of collateral. The Partnership believes that the counterparties to its derivative contracts will be able to satisfy their contractual obligations. Credit risk is limited by the large number of customers and counterparties comprising the Partnership’s business and their dispersion across different industries. The Partnership’s cash is in demand deposits placed with federally insured financial institutions. Such deposit accounts at times may exceed federally insured limits. The Partnership has not experienced any losses on such accounts. Fair Value Measurements The Partnership determines fair value based on a hierarchy for the inputs used to measure the fair value of financial assets and liabilities based on the source of the input, which generally range from quoted prices for identical instruments in a principal trading market (Level 1) to estimates determined using significant unobservable inputs (Level 3). Multiple inputs may be used to measure fair value; however, the level of fair value is based on the lowest significant input level within this fair value hierarchy. Details on the methods and assumptions used to determine the fair values are as follows: Fair value measurements based on Level 1 inputs: Measurements that are most observable and are based on quoted prices of identical instruments obtained from the principal markets in which they are traded. Closing prices are both readily available and representative of fair value. Market transactions occur with sufficient frequency and volume to assure liquidity. Fair value measurements based on Level 2 inputs: Measurements derived indirectly from observable inputs or from quoted prices from markets that are less liquid are considered Level 2. Measurements based on Level 2 inputs include OTC derivative instruments that are priced on an exchange traded curve, but have contractual terms that are not identical to exchange traded contracts. The Partnership utilizes fair value measurements based on Level 2 inputs for its fixed forward contracts, over-the-counter commodity price swaps, interest rate swaps and forward currency contracts. Fair value measurements based on Level 3 inputs: Measurements that are least observable are estimated from significant unobservable inputs determined from sources with little or no market activity for comparable contracts or for positions with longer durations. Long-Term Incentive Plan The General Partner has the Sprague Resources LP 2013 Long-Term Incentive Plan (the “LTIP”), for the benefit of employees, consultants and directors of the General Partner and its affiliates, who provide services to the General Partner or an affiliate. The LTIP provides the Partnership with the flexibility to grant unit options, restricted units, phantom units, unit appreciation rights, cash awards, distribution equivalent rights, substitute awards and other unit-based awards or any combination of the foregoing. The LTIP will expire upon the earlier of (i) its termination by the board of directors of the General Partner, (ii) the date common units are no longer available under the LTIP for grants or (iii) the tenth anniversary of the date the LTIP was approved by the General Partner. The board of directors of the General Partner grants performance-based phantom unit awards to key employees that vest over a period of time (usually three OCF-based Phantom Units Phantom unit awards granted since 2015 include a performance criteria that considers Sprague Holdings operating cash flow, as defined therein ("OCF"), over a three Distribution Equivalent Rights The Partnership's performance-based phantom unit awards include tandem distribution equivalent rights ("DERs") which entitle the participant to a cash payment only upon vesting that is equal to any cash distribution paid on a common unit between the grant date and the date the phantom units were settled. Payments made in connection with DERs are recorded as a distribution in unitholders' equity. Earnings Per Unit The Partnership computes income (loss) per unit using the two-class method. The Partnership has identified the IDRs as participating securities and uses the two-class method when calculating the net income per unit applicable to limited partners. Earnings per unit applicable to limited partners is computed by dividing limited partners’ interest in net income, after deducting any incentive distributions, by the weighted-average number of outstanding common units. The Partnership’s net income is allocated to the limited partners in accordance with their respective ownership percentages, after giving effect to priority income allocations for incentive distributions that has been or will be distributed to the incentive distribution right holder, which are declared and paid following the close of each quarter. Earnings in excess of distributions are allocated to the limited partners based on their respective ownership interests. Cash and Cash Equivalents Cash and cash equivalents include cash and highly liquid investments which are readily convertible into cash and have maturities of three months or less when purchased. Inventories The Partnership’s inventories are valued at the lower of cost or net realizable value. Cost is primarily determined using the first-in, first-out method, except for the Partnership's Canadian subsidiary, which used the weighted average method. Inventory consists of petroleum products, natural gas and coal. The Partnership uses derivative instruments, primarily futures, forwards and swaps, to economically hedge substantially all of its inventory. Property, Plant and Equipment, Net Property, plant and equipment, net are recorded at historical cost. Depreciation is computed on a straight-line basis over the following estimated useful lives: Furniture and fixtures 5 to 10 years Plant and machinery 5 to 30 years Building and leasehold improvements 10 to 25 years Leasehold improvements are amortized over the term of the lease or the estimated useful life of the improvement, whichever is shorter. Maintenance and repairs are charged to expense as incurred. Costs and related accumulated depreciation of properties sold or otherwise disposed of are removed from the respective accounts, and any resulting gains or losses are recorded at that time. Long-lived Asset Impairment The Partnership evaluates the carrying value of its property, plant and equipment and finite lived intangible assets for impairment when events or changes in circumstances indicate the carrying amount of an individual asset or asset group may not be recoverable based on estimated future undiscounted cash flows. Future cash flow projections include assumptions of future sales levels, the impact of controllable cost reduction programs, and the level of working capital needed to support each business. To the extent the carrying amount of the asset group is not recoverable based on undiscounted cash flows, the amount of impairment is measured by the difference between the carrying value and the fair value of the individual assets or asset group. Purchase Price Allocation The cost of an acquired entity is allocated to the assets acquired and liabilities assumed based on their respective fair values at the date of acquisition. Property, plant and equipment and goodwill generally represent large components of these acquisitions. In addition to goodwill, intangible assets acquired generally include customer relationships and non-compete agreements. Goodwill is calculated as the excess of the cost of the acquired entity over the net of the fair value of the assets acquired and the liabilities assumed. For all material acquisitions the Partnership determines the fair value of the assets acquired and liabilities assumed, including goodwill, based on recognized business valuation methodologies. An income, market or cost valuation method may be utilized to estimate the fair value of the assets acquired or liabilities assumed. The income valuation method represents the present value of future cash flows over the life of the asset using: (i) discrete financial forecasts, based on management’s estimates of revenue and operating expenses; (ii) long-term growth rates; and (iii) appropriate discount rates. The market valuation method uses prices paid for a reasonably similar asset by other purchasers in the market, with adjustments relating to any differences between the assets. The cost valuation method is based on the replacement cost of a comparable asset at prices at the time of the acquisition reduced for depreciation of the asset. For contingent consideration arrangements, a liability is recognized at fair value as of the acquisition date with subsequent fair value adjustments recorded in operations. Additional information regarding the Partnership's contingent consideration arrangements may be found in Note 14 - Other Obligations and Note 18 - Financial Instruments and Off-Balance Sheet Risk. Other assets acquired and liabilities assumed typically include, but are not limited to, inventory, accounts receivable, accounts payable and other working capital items. Because of their short-term nature, the fair values of these other assets and liabilities generally approximate the book values on the acquired entity’s balance sheet. Goodwill Goodwill is defined as the excess of cost over the fair value of assets acquired and liabilities assumed in a business combination. The Partnership tests goodwill at the reporting unit level annually as of October 31 or on an as needed basis, for indicators of impairment at each reporting unit that has recorded goodwill. In performing the test, the Partnership either uses a qualitative assessment or a single step quantitative approach. Under the qualitative approach the Partnership considers a number of factors, including the amount by which the previous quantitative test's fair value exceeded the carrying value of the reporting units, actual performance as compared to internal forecasts used in the previous quantitative test, an evaluation of discount rates, and an evaluation of current economic factors for both the worldwide economy and specifically the oil and gas industry, and any significant changes in customer and supplier relationships. The Partnership weighs these factors to determine if it is more likely than not that the fair value of the reporting unit exceeds its carrying value. If after performing a qualitative assessment, indicators are present, or the Partnership identifies factors that cause it to believe it is appropriate to perform a more precise calculation of fair value, the Partnership would move beyond the qualitative assessment and perform a quantitative impairment test. Under the quantitative impairment test, the Partnership performs a comparison of the reporting unit’s carrying value to its fair value. It estimates the fair value of a reporting unit based upon future net discounted cash flows (Level 3 measurement). In calculating these estimates, the Partnership develops a discounted cash flow model based on forecasted operating results, discount rates, and growth rates, which contemplate business, market and overall economic conditions. Further, the discount rates used require estimates of the cost of equity and debt financing. The estimates of fair value of these reporting units could change if actual operating results or discount rates vary from these estimates. The Partnership performed sensitivity analyses on the fair values resulting from the discounted cash flows valuation utilizing more conservative assumptions that reflect reasonably likely future changes in the discount rates and perpetual growth rate in each of the reporting units. Based upon the Partnership's 2020 annual impairment testing analyses, including the consideration of reasonably likely adverse changes in assumptions described above, the Partnership determined that there have been no goodwill impairments to date. Intangibles, Net Intangibles, net consist of intangible assets with finite lives, primarily customer relationships and non-compete agreements. Intangibles and other assets are amortized over their respective estimated useful lives. The Partnership believes the sum-of-the-years’-digits method of amortization properly reflects the timing of the recognition of the economic benefits realized from its intangible assets. Income Taxes The Partnership is organized as a pass-through entity for U.S. federal income tax purposes. As a result, the partners are responsible for U.S. federal income taxes based on their respective share of taxable income. Net income for financial statement purposes may differ significantly from taxable income reportable to unitholders as a result of differences between the tax bases and financial reporting bases of assets and liabilities and the taxable income allocation requirements under the partnership agreement. The Partnership, however, is subject to a statutory requirement that non-qualifying income cannot exceed 10% of total gross income, determined on a calendar year basis under the applicable income tax provisions. If the amount of non-qualifying income exceeds this statutory limit, the Partnership would be taxed as a corporation. Accordingly, certain activities that generate non-qualifying income are conducted through Sprague Energy Solutions, Inc., a taxable corporate subsidiary. Sprague Energy Solutions, Inc. is subject to U.S. federal and state income tax and pays any income taxes related to the results of its operations. For the year ended December 31, 2020, the Partnership’s non-qualifying income did not exceed the statutory limit. The Partnership is subject to income tax and franchise tax in certain domestic state and local as well as foreign jurisdictions. Income taxes ( e.g ., deferred tax assets, deferred tax liabilities, taxes currently payable and tax expense) are recorded based on amounts refundable or payable in the current year and include the impact of temporary differences between the amount of assets and liabilities recognized for financial reporting purposes and such amounts recognized for tax purposes. Deferred taxes are measured by applying currently enacted tax rates. The Partnership establishes a valuation allowance for deferred tax assets when it is more likely than not that these assets will not be realized. The Partnership's Canadian operations are conducted within entities that are treated as corporations for Canadian tax purposes and are subject to Canadian federal and provincial taxes. Additionally, payments of dividends from the Partnership's Canadian entities to other Sprague entities are subject to Canadian withholding tax that is treated as income tax expense. The partnership's foreign subsidiaries record investment tax credits under the deferral method. The Partnership recognizes the financial statement effect of an uncertain tax position only when management believes that it is more likely than not, that based on the technical merits, the position will be sustained upon examination. The Partnership classifies interest and penalties associated with uncertain tax positions as income tax expense. During the years ended December 31, 2020, 2019 and 2018, the uncertain tax positions and related interest and penalties recognized by the Partnership were immaterial. The Partnership and its subsidiaries tax returns are subject to examination by the Internal Revenue Service and by the Canada Revenue Agency for the years ended December 31, 2019, 2018, 2017 and 2016. On December 22, 2017, the President signed into law Public Law No. 115-97, a comprehensive tax reform bill commonly referred to as the Tax Cuts and Jobs Act (the “Tax Act”) that makes significant changes to the U.S. Internal Revenue Code. Among other changes, the Tax Act includes a new deduction on certain pass-through income, a repeal of the partnership technical termination rule, and new limitations on certain deductions and credits, including interest expense |