Variable Interest Entity - Schedule of VIE's Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Sep. 30, 2025 |
Jun. 30, 2025 |
Sep. 30, 2024 |
|---|---|---|---|---|
| Variable Interest Entity [Line Items] | ||||
| Cash and cash equivalents | $ 2,864,957 | $ 4,394,549 | $ 2,275,326 | $ 3,297,880 |
| Inventories | 21,030,344 | 20,492,480 | ||
| Property and equipment, net | 2,838,218 | 2,539,076 | ||
| Other long-term assets | 3,006,600 | 4,152,452 | ||
| TOTAL ASSETS | 83,805,553 | 76,590,112 | ||
| Long-term debt | 11,723,241 | 7,660,773 | ||
| Deferred income taxes | 1,785,866 | 1,620,724 | ||
| Other long-term liabilities | 3,969,412 | 3,639,862 | ||
| Profarma | ||||
| Variable Interest Entity [Line Items] | ||||
| Cash and cash equivalents | 54,626 | 70,796 | ||
| Accounts receivable, net | 504,560 | 260,759 | ||
| Inventories | 397,753 | 303,480 | ||
| Prepaid expenses and other | 64,181 | 55,981 | ||
| Property and equipment, net | 81,457 | 65,410 | ||
| Other intangible assets | 50,669 | 53,861 | ||
| Other long-term assets | 111,860 | 99,519 | ||
| TOTAL ASSETS | 1,265,106 | 909,806 | ||
| Accounts payable | 514,894 | 349,876 | ||
| Accrued expenses and other | 127,506 | 71,383 | ||
| Short-term debt | 115,354 | 116,361 | ||
| Long-term debt | 116,539 | 65,390 | ||
| Deferred income taxes | 6,554 | 11,986 | ||
| Other long-term liabilities | 165,267 | 75,132 | ||
| Total liabilities | $ 1,046,114 | $ 690,128 |
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other. No definition available.
|
| X | ||||||||||
- Definition Amount of asset recognized for present right to economic benefit. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; attributable to continuing operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of noncurrent assets classified as other. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after accumulated amortization of finite-lived and indefinite-lived intangible assets classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets. No definition available.
|
| X | ||||||||||
- Definition Amount, after accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|