Summary of major accounting policies (Tables) |
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Aug. 31, 2024 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of reconciliation of cash and cash equivalents | The following represents a reconciliation of cash and cash equivalents in the Consolidated Balance Sheets to total cash, cash equivalents, marketable securities and restricted cash in the Consolidated Statements of Cash Flows for fiscal 2024, 2023 and 2022 (in millions):
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of property, plant and equipment | The following table summarizes the Company’s property, plant and equipment (in millions) and estimated useful lives (in years):
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of variable interest entities | The following table summarizes the Entities’ assets and liabilities (in millions) as of August 31, 2024 and 2023, respectively.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Temporary Equity | The following is a roll forward of the redeemable non-controlling interests in the Consolidated Balance Sheets (in millions):
1.Fiscal 2022 includes $1.9 billion of redeemable non-controlling interests, representing the maximum purchase price to redeem non-controlling units in VillageMD for cash, and redeemable non-controlling interests in Shields Health Solutions Parent, LLC (“Shields”) and CCX Next, LLC (“CareCentrix”). On November 24, 2021, VillageMD commenced a tender offer to purchase up to $1.9 billion of units in VillageMD for cash. The tender offer was fully subscribed and settled on December 28, 2021. The tender offer was funded by cash proceeds provided to VillageMD pursuant to the Unit Purchase Agreement. 2.Fiscal 2022 includes $1.9 billion paid to existing shareholders of VillageMD as part of the fully subscribed tender offer and the acquisition of the remaining 30% non-controlling equity interests in the pharmaceutical wholesale business in Germany. 3.Remeasurement of non-controlling interests, probable of redemption but not currently redeemable, to their redemption value, is recorded to Paid-in capital in the Consolidated Balance Sheets. In fiscal 2023, Shields and CareCentrix redeemable non-controlling interests were recorded to redemption value. 4.Represents the reclassification of the Shields and CareCentrix redeemable non-controlling interests to Accrued expenses and other liabilities in the Consolidated Balance Sheets resulting from the Company’s full acquisition of Shields and CareCentrix.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cash Dividends | Cash dividends per common share declared were as follows:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||