Summary of major accounting policies | Summary of major accounting policies Organization Walgreens Boots Alliance and its subsidiaries are a global, pharmacy-led health and wellbeing enterprise. Its operations are conducted through three reportable segments: Retail Pharmacy USA, Retail Pharmacy International and Pharmaceutical Wholesale. See note 16 , segment reporting , for further information. Basis of presentation The Consolidated Financial Statements include all subsidiaries in which the Company holds a controlling interest. The Company uses the equity-method of accounting for equity investments in less than majority-owned companies if the investment provides the ability to exercise significant influence. All intercompany transactions have been eliminated. The preparation of financial statements in accordance with accounting principles generally accepted in the United States of America (“GAAP”) requires management to use judgment in the application of accounting policies, including making estimates and assumptions. The Company bases its estimates on the information available at the time, its experience and various other assumptions believed to be reasonable under the circumstances. Adjustments may be made in subsequent periods to reflect more current estimates and assumptions about matters that are inherently uncertain. Actual results may differ. The influence of certain holidays, seasonality, foreign currency rates, changes in vendor, payer and customer relationships and terms, strategic transactions including acquisitions, changes in laws and general economic conditions in the markets in which the Company operates and other factors on the Company’s operations and net earnings for any period may not be comparable to the same period in previous years. Cash and cash equivalents Cash and cash equivalents include cash on hand and highly liquid investments with an original maturity of three months or less. Credit and debit card receivables, which generally settle within two to seven business days, of $127 million and $98 million were included in cash and cash equivalents at August 31, 2018 and 2017 , respectively. Restricted cash The Company is required to maintain cash deposits with certain banks which consist of deposits restricted under contractual agency agreements and cash restricted by law and other obligations. At August 31, 2018 and 2017 , the amount of such restricted cash was $190 million and $202 million , respectively, and is reported in other current assets on the Consolidated Balance Sheets. Accounts receivable Accounts receivable are stated net of allowances for doubtful accounts. Accounts receivable balances primarily consist of trade receivables due from customers, including amounts due from third-party payers (e.g., pharmacy benefit managers, insurance companies and governmental agencies), clients and members. Trade receivables were $5.4 billion and $5.5 billion at August 31, 2018 and August 31, 2017 , respectively. Other accounts receivable balances, which consist primarily of receivables from vendors and manufacturers, including receivables from AmerisourceBergen (see note 17 , related parties ), were $1.2 billion and $1.1 billion at August 31, 2018 and August 31, 2017 , respectively. Charges to allowance for doubtful accounts are based on estimates of recoverability using both historical write-offs and specifically identified receivables. The allowance for doubtful accounts at August 31, 2018 and August 31, 2017 was $75 million and $158 million , respectively. Inventories The Company values inventories on a lower of cost and net realizable value or market. Inventories include product costs, inbound freight, direct labor, warehousing costs for retail pharmacy operations, overhead costs relating to the manufacture and distribution of products and vendor allowances not classified as a reduction of advertising expense. The Company’s Retail Pharmacy USA segment inventory is accounted for using the last-in-first-out (“LIFO”) method. The total carrying value of the segment inventory accounted for under the LIFO method was $6.7 billion and $5.9 billion at August 31, 2018 and 2017 , respectively. At August 31, 2018 and 2017 , Retail Pharmacy USA segment inventory would have been greater by $3.0 billion , if they had been valued on a lower of first-in-first-out (“FIFO”) cost and net realizable value. The Company’s Retail Pharmacy International and Pharmaceutical Wholesale segments’ inventory is primarily accounted for using the FIFO method. The total carrying value of the inventory for Retail Pharmacy International and Pharmaceutical Wholesale segments was $2.8 billion and $3.0 billion at August 31, 2018 and 2017 , respectively. Property, plant and equipment Property, plant and equipment are stated at cost less accumulated depreciation. Major repairs, which extend the useful life of an asset, are capitalized; routine maintenance and repairs are charged against earnings. Depreciation is provided on a straight-line basis over the estimated useful lives of owned assets. Leasehold improvements, equipment under capital lease and capital lease properties are amortized over their respective estimate of useful life or over the term of the lease, whichever is shorter. The majority of the Company’s fixtures and equipment uses the composite method of depreciation. Therefore, gains and losses on retirement or other disposition of such assets are included in earnings only when an operating location is closed, substantially remodeled or impaired. The following table summarizes the Company’s property, plant and equipment (in millions) and estimated useful lives (in years): Estimated useful life 2018 2017 Land and land improvements 20 $ 3,593 $ 3,470 Buildings and building improvements 3 to 50 7,874 7,431 Fixtures and equipment 3 to 20 9,750 9,209 Capitalized system development costs and software 3 to 8 2,464 2,105 Capital lease properties 743 745 24,424 22,960 Less: accumulated depreciation and amortization 10,513 9,318 Balance at end of year $ 13,911 $ 13,642 The Company capitalizes application development stage costs for internally developed software. These costs are amortized over a three to eight year period. Amortization expense for capitalized system development costs and software was $254 million in fiscal 2018 , $245 million in fiscal 2017 and $238 million in fiscal 2016 . Unamortized costs at August 31, 2018 and 2017 were $1.5 billion and $895 million , respectively. Depreciation and amortization expense for property, plant and equipment including capitalized system development costs and software was $1.4 billion in fiscal 2018 , $1.3 billion in fiscal 2017 and $1.3 billion in fiscal 2016 . Leases Initial terms for leased premises in the U.S. are typically 15 to 25 years, followed by additional terms containing renewal options at five -year intervals, and may include rent escalation clauses. Non-U.S. leases are typically for shorter terms and may include cancellation clauses or renewal options. The commencement date of all lease terms is the earlier of the date the Company becomes legally obligated to make rent payments or the date the Company has the right to control the property. In addition to minimum fixed rentals, some leases provide for contingent rentals based upon a portion of sales. Capital leases are recognized within property, plant and equipment and as a capital lease liability within accrued expenses and other liabilities and other non-current liabilities. Operating leases are expensed on a straight line basis over the lease term. See note 4 , leases , for further information. Business combinations The Company allocates the fair value of purchase consideration to the tangible and intangible assets purchased and the liabilities assumed on the basis of their fair values at the date of acquisition. The determination of fair values of assets acquired and liabilities assumed requires estimates and the use of valuation techniques when a market value is not readily available. Any excess of purchase price over the fair value of net tangible and intangible assets acquired is allocated to goodwill. If the Company obtains new information about facts and circumstances that existed as of the acquisition date during the measurement period, which may be up to one year from the acquisition date, the Company may record adjustments to the assets acquired and liabilities assumed. Goodwill and other intangible assets Goodwill represents the excess of the purchase price over the fair value of assets acquired and liabilities assumed in business combinations. Acquired intangible assets are recorded at fair value. Goodwill and indefinite-lived intangible assets are evaluated for impairment annually during the fourth quarter, or more frequently if an event occurs or circumstances change that would more likely than not reduce the fair value of a reporting unit or intangible asset below its carrying value. As part of the Company’s impairment analysis, fair value of a reporting unit is determined using both the income and market approaches. The income approach requires management to estimate a number of factors for each reporting unit, including projected future operating results, economic projections, anticipated future cash flows and discount rates. The market approach estimates fair value using comparable marketplace fair value data from within a comparable industry grouping. Finite-lived intangible assets are amortized on a straight-line basis over their estimated useful lives. See note 6 , goodwill and other intangible assets , for additional disclosure regarding the Company’s intangible assets. Equity method investments The Company uses the equity method of accounting for equity investments in companies if the investment provides the ability to exercise significant influence, but not control, over operating and financial policies of the investee. The Company’s proportionate share of the net income or loss of these companies is included in consolidated net earnings. Judgment regarding the level of influence over each equity method investment includes considering key factors such as the Company’s ownership interest, representation on the board of directors, participation in policy-making decisions and material intra-entity transactions. The Company evaluates equity method investments for impairment whenever events or changes in circumstances indicate that the carrying amount of the investment might not be recoverable. Factors considered by the Company when reviewing an equity method investment for impairment include the length of time (duration) and the extent (severity) to which the fair value of the equity method investment has been less than cost, the investee’s financial condition and near-term prospects and the intent and ability to hold the investment for a period of time sufficient to allow for anticipated recovery. An impairment that is other-than-temporary is recognized in the period identified. See note 5 , equity method investments , for further information. Financial instruments The Company uses derivative instruments to hedge its exposure to interest rate and currency risks arising from operating and financing activities. In accordance with its risk management policies, the Company does not hold or issue derivative instruments for trading or speculative purposes. Derivatives are recognized on the Consolidated Balance Sheets at their fair values. When the Company becomes a party to a derivative instrument and intends to apply hedge accounting, it formally documents the hedge relationship and the risk management objective for undertaking the hedge which includes designating the instrument for financial reporting purposes as a fair value hedge, a cash flow hedge, or a net investment hedge. The accounting for changes in fair value of a derivative instrument depends on whether the Company had designated it in a qualifying hedging relationship and on the type of hedging relationship. The Company applies the following accounting policies: • Changes in the fair value of a derivative designated as a fair value hedge, along with the gain or loss on the hedged asset or liability attributable to the hedged risk, are recorded in the Consolidated Statements of Earnings in the same line item, generally interest expense, net. • Changes in the fair value of a derivative designated as a cash flow hedge are recorded in accumulated other comprehensive income (loss) in the Consolidated Statements of Comprehensive Income and reclassified into earnings in the period or periods during which the hedged item affects earnings and is presented in the same line item as the earnings effect of the hedged item. • Changes in the fair value of a derivative designated as a hedge of a net investment in a foreign operation are recorded in cumulative translation adjustments within accumulated other comprehensive income (loss) in the Consolidated Statements of Comprehensive Income. Recognition in earnings of amounts previously recorded in cumulative translation adjustments is limited to circumstances such as complete or substantially complete liquidation of the net investment in the hedged investments in foreign operations. • Changes in the fair value of a derivative not designated in a hedging relationship are recognized in the Consolidated Statements of Earnings. Cash receipts or payments on a settlement of a derivative contract are reported in the Consolidated Statements of Cash Flows consistent with the nature of the underlying hedged item. For derivative instruments designated as hedges, the Company assesses, both at the hedge’s inception and on an ongoing basis, whether the derivatives that are used in hedging transactions are highly effective in offsetting changes in fair values or cash flows of hedged items. Highly effective means that cumulative changes in the fair value of the derivative are between 80% and 125% of the cumulative changes in the fair value of the hedged item. In addition, when the Company determines that a derivative is not highly effective as a hedge, hedge accounting is discontinued. When it is probable that a hedged forecasted transaction will not occur, the Company discontinues hedge accounting for the affected portion of the forecasted transaction and reclassifies any gains or losses in accumulated other comprehensive income (loss) to earnings in the Consolidated Statement of Earnings. When a derivative in a hedge relationship is terminated or the hedged item is sold, extinguished or terminated, hedge accounting is discontinued prospectively. Liabilities for facility closings The Company provides for future costs related to closed locations. The liability is based on the present value of future rent obligations and other related costs (net of estimated sublease rent) to the first lease option date. The liability for facility closings, including locations closed under the Company’s restructuring actions, was $964 million as of August 31, 2018 and $718 million as of August 31, 2017 . See note 4 , leases , for further information. Pension and postretirement benefits The Company has various defined benefit pension plans that cover some of its non-U.S. employees. The Company also has a postretirement healthcare plan that covers qualifying U.S. employees. Eligibility and the level of benefits for these plans vary depending on participants’ status, date of hire and or length of service. Pension and postretirement plan expenses and valuations are dependent on assumptions used by third-party actuaries in calculating those amounts. These assumptions include discount rates, healthcare cost trends, long-term return on plan assets, retirement rates, mortality rates and other factors. The Company funds its pension plans in accordance with applicable regulations. See note 13 , retirement benefits , for further information. Noncontrolling interests The Company presents noncontrolling interests as a component of equity on its Consolidated Balance Sheets and reports the portion of its earnings or loss for noncontrolling interest as net earnings attributable to noncontrolling interests in the Consolidated Statement of Earnings. Currency Assets and liabilities of non-U.S. dollar functional currency operations are translated into U.S. dollars at end-of-period exchange rates while revenues, expenses and cash flows are translated at average monthly exchange rates over the period. Equity is translated at historical exchange rates and the resulting cumulative translation adjustments are included as a component of accumulated other comprehensive income (loss) in the Consolidated Balance Sheets. Assets and liabilities not denominated in the functional currency are remeasured into the functional currency at end-of-period exchange rates, except for nonmonetary balance sheet amounts, which are remeasured at historical exchange rates. Revenues and expenses are recorded at average monthly exchange rates over the period, except for those expenses related to nonmonetary balance sheet amounts, which are remeasured at historical exchange rates. Gains or losses from foreign currency remeasurement are generally included in selling, general and administrative expenses within the Consolidated Statements of Earnings. For all periods presented, there were no material operational gains or losses from foreign currency transactions. Commitments and contingencies On a quarterly basis, the Company assesses its liabilities and contingencies for outstanding legal proceedings and reserves are established on a case-by-case basis for those legal claims for which management concludes that it is probable that a loss will be incurred and that the amount of such loss can be reasonably estimated. Substantially all of these contingencies are subject to significant uncertainties and, therefore, determining the likelihood of a loss and/or the measurement of any loss can be complex. With respect to litigation and other legal proceedings where the Company has determined that a loss is reasonably possible, the Company may be unable to estimate the amount or range of reasonably possible loss due to the inherent difficulty of predicting the outcome of and uncertainties regarding such litigation and legal proceedings. The Company’s assessments are based on estimates and assumptions that have been deemed reasonable by management, but that may prove to be incomplete or inaccurate, and unanticipated events and circumstances may occur that might cause the Company to change those estimates and assumptions. Therefore, it is possible that an unfavorable resolution of one or more pending litigation or other contingencies could have a material adverse effect on the Company’s Consolidated Financial Statements in a future fiscal period. Management’s assessment of current litigation and other legal proceedings, including the corresponding accruals, could change because of the discovery of facts with respect to legal actions or other proceedings pending against the Company which are not presently known. Adverse rulings or determinations by judges, juries, governmental authorities or other parties could also result in changes to management’s assessment of current liabilities and contingencies. Accordingly, the ultimate costs of resolving these claims may be substantially higher or lower than the amounts reserved. See note 10 , commitments and contingencies , for further information. Revenue recognition Revenue is recognized when: (i) persuasive evidence of an arrangement exists, (ii) delivery has occurred or services have been rendered, (iii) the seller’s price to the buyer is fixed or determinable and (iv) collectability is reasonably assured. The following revenue recognition policies have been established for the Company’s reportable segments. Retail Pharmacy USA and Retail Pharmacy International The Company recognizes revenue, net of taxes and estimated returns, at the time it sells merchandise or dispenses prescription drugs to the customer. Returns are estimated using historical experience. The Company initially estimates revenue based on expected reimbursements from third-party payers (e.g., pharmacy benefit managers, insurance companies and governmental agencies) for dispensing prescription drugs. The estimates are based on historical experience and are updated to actual reimbursement amounts. Pharmaceutical Wholesale Wholesale revenue is recognized, net of taxes, upon shipment of goods, which is generally also the day of delivery. When the Company acts in the capacity of an agent or a logistics service provider, revenue is the fee received for the service and is recognized when the services have been performed. Cost of sales Cost of sales includes the purchase price of goods and cost of services rendered, store and warehouse inventory loss, inventory obsolescence, manufacturing costs and supplier rebates. In addition to product costs, cost of sales includes warehousing costs for retail operations, purchasing costs, freight costs, cash discounts and vendor allowances. Vendor allowances and supplier rebates Vendor allowances are principally received as a result of purchases, sales or promotion of vendors’ products. Allowances are generally recorded as a reduction of inventory and are recognized as a reduction of cost of sales when the related merchandise is sold. Allowances received for promoting vendors’ products are offset against advertising expense and result in a reduction of selling, general and administrative expenses to the extent of advertising costs incurred, with the excess treated as a reduction of inventory costs. Rebates or refunds received by the Company from its suppliers, mostly in cash, are considered as an adjustment of the prices of the supplier’s products purchased by the Company. Loyalty programs The Company’s loyalty rewards programs are accrued as a charge to cost of sales at the time a point is earned. Points are funded internally and through vendor participation and are credited to cost of sales at the time a vendor-sponsored point is earned. Breakage is recorded as points expire as a result of a member’s inactivity or if the points remain unredeemed after a certain period in accordance with the terms of the loyalty rewards program. Breakage income, which is reported in cost of sales, was not significant in fiscal 2018, 2017 or 2016. Selling, general and administrative expenses Selling, general and administrative expenses mainly consist of salaries and employee costs, occupancy costs, depreciation and amortization, credit and debit card fees and expenses directly related to stores. In addition, other costs included are headquarters’ expenses, advertising costs (net of vendor advertising allowances), wholesale warehousing costs and insurance. Advertising costs Advertising costs, which are reduced by the portion funded by vendors, are expensed as incurred or when services have been received. Net advertising expenses, which are included in selling, general and administrative expenses, were $665 million in fiscal 2018 , $571 million in fiscal 2017 and $598 million in fiscal 2016 . Impairment of long-lived assets The Company tests long-lived assets for impairment whenever events or circumstances indicate that a certain asset or asset group may be impaired. Once identified, the amount of the impairment is computed by comparing the carrying value of the assets to the fair value, which is primarily based on the discounted estimated future cash flows. Impairment charges included in selling, general and administrative expenses were $57 million in fiscal 2018 . Impairment charges recognized in fiscal 2017 and 2016 were $234 million and $305 million , respectively. Stock compensation plans Stock based compensation is measured at fair value at the grant date. The Company grants stock options, performance shares and restricted units to the Company’s non-employee directors, officers and employees. The Company recognizes compensation expense on a straight-line basis over the substantive service period. See note 12 , stock compensation plans , for more information on the Company’s stock-based compensation plans. Warrants Until their exercise in fiscal 2016, the warrants to acquire shares of AmerisourceBergen Corporation were accounted for as a derivative under ASC Topic 815, Derivatives and Hedging. The Company reports its warrants at fair value within other non-current assets in the Consolidated Balance Sheets and changes in the fair value of warrants are recognized in other income in the Consolidated Statements of Earnings. A deferred credit from the day-one valuation attributable to the warrants granted to Walgreens was amortized over the life of the warrants. See note 8 , financial instruments , for additional disclosure regarding the Company’s warrants. Insurance The Company obtains insurance coverage for catastrophic exposures as well as those risks required by law to be insured. In general, the Company’s U.S. subsidiaries retain a significant portion of losses related to workers’ compensation, property, comprehensive general, pharmacist and vehicle liability, while non-U.S. subsidiaries manage their exposures through insurance coverage with third-party carriers. Management regularly reviews the probable outcome of claims and proceedings, the expenses expected to be incurred, the availability and limits of the insurance coverage and the established accruals for liabilities. Liabilities for losses are recorded based upon the Company’s estimates for both claims incurred and claims incurred but not reported. The provisions are estimated in part by considering historical claims experience, demographic factors and other actuarial assumptions. Income taxes The Company accounts for income taxes according to the asset and liability method. Under this method, deferred tax assets and liabilities are recognized based upon the estimated future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases. Deferred tax assets and liabilities are measured pursuant to tax laws using rates expected to apply to taxable income in the years in which those temporary differences are expected to be recovered or settled. The effect on deferred tax assets and liabilities of a change in tax rate is recognized in income in the period that includes the enactment date. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts more likely than not to be realized. In determining the provision for income taxes, the Company uses income, permanent differences between book and tax income, the relative proportion of foreign and domestic income, enacted statutory income tax rates, projections of income subject to Subpart F rules and unrecognized tax benefits related to current year results. Discrete events such as the assessment of the ultimate outcome of tax audits, audit settlements, recognizing previously unrecognized tax benefits due to lapsing of the applicable statute of limitations, recognizing or de-recognizing benefits of deferred tax assets due to future year financial statement projections and changes in tax laws are recognized in the period in which they occur. The Company is subject to routine income tax audits that occur periodically in the normal course of business. U.S. federal, state, local and foreign tax authorities raise questions regarding the Company’s tax filing positions, including the timing and amount of deductions and the allocation of income among various tax jurisdictions. In evaluating the tax benefits associated with the various tax filing positions, the Company records a tax benefit for uncertain tax positions using the highest cumulative tax benefit that is more likely than not to be realized. Adjustments are made to the liability for unrecognized tax benefits in the period in which the Company determines the issue is effectively settled with the tax authorities, the statute of limitations expires for the return containing the tax position or when more information becomes available. Earnings per share The dilutive effect of outstanding stock options on earnings per share is calculated using the treasury stock method. Stock options are anti-dilutive and excluded from the earnings per share calculation if the exercise price exceeds the average market price of the common shares. Outstanding options to purchase common shares that were anti-dilutive and excluded from earnings per share totaled 10.1 million , 3.9 million and 2.5 million in fiscal 2018 , 2017 and 2016 , respectively. New accounting pronouncements Adoption of new accounting pronouncements Accounting for hedging activities In August 2017, the FASB issued Accounting Standards Update (“ASU”) 2017-12, Derivative and Hedging (Topic 815): Targeted Improvements to Accounting for Hedging Activities. This ASU expands an entity’s ability to hedge nonfinancial and financial risk components and reduces complexity in fair value hedges of interest rate risk. It eliminates the requirement to separately measure and report hedge ineffectiveness and generally requires the entire change in the fair value of a hedging instrument to be presented in the same income statement line as the hedged item. It also eases certain documentation and assessment requirements and modifies the accounting for components excluded from the assessment of hedge effectiveness. This ASU is effective for fiscal years beginning after December 15, 2018 (fiscal 2020), and interim periods within those fiscal years, with early adoption permitted. The Company early adopted this guidance during the third fiscal quarter of 2018. The adoption did not have any impact on the Company’s results of operations, cash flows or financial position. Measurement of inventory In July 2015, the FASB issued ASU 2015-11, Inventory (Topic 330): Simplifying the Measurement of Inventory. This ASU simplifies current accounting treatments by requiring entities to measure most inventories at “the lower of cost and net realizable value” rather than using lower of cost or market. This guidance does not apply to inventories measured using last-in, first-out method or the retail inventory method. This ASU is effective for fiscal years beginning after December 15, 2016 (fiscal 2018), and interim periods within those fiscal years. The Company adopted this guidance on a prospective basis at the beginning of fiscal 2018 and adoption did not have a material impact on the Company’s results of operations, cash flows or financial position. New accounting pronouncements not yet adopted Intangibles – goodwill and other – internal-use software In August 2018, the FASB issued ASU 2018-15, Intangibles-Goodwill and Other- Internal-Use Software (Subtopic 350-40). This ASU addresses customer’s accounting for implementation costs incurred in a cloud computing arrangement that is a service contract and also adds certain disclosure requirements related to implementation costs incurred for internal-use software and cloud computing arrangements. The amendment aligns the requirements for capitalizing implementation costs incurred in a hosting arrangement that is a service contract with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software (and hosting arrangements that include an internal-use software license). This ASU is effective for fiscal years beginning after December 15, 2019 (fiscal 2021), and interim periods within those fiscal years, with early adoption permitted. The amendments in this ASU can be applied either retrospectively or prospectively to all implementation costs incurred after the date of adoption. The Company is evaluating the effect of adopting this new accounting guidance, but does not expect adoption will have a material impact on the Company’s financial position or results of operations. Compensation – retirement benefits – defined benefit plans In August 2018, the FASB issued ASU 2018-14, Compensation - Retirement benefits (Topic 715-20). This ASU amends ASC 715 to add, remove and clarify disclosure requirements related to defined benefit pension and other postretirement plans. The ASU eliminates the requirement to disclose the amounts in accumulated other comprehensive income expected to be recognized as part of net periodic benefit cost over the next year. The ASU also removes the disclosure requirements for the effects of a one-percentage-point change on the assumed health care costs and the effect of this change in rates on service cost, interest cost and the benefit obligation for postretirement health care benefits. This ASU is effective for fiscal yea |