v3.26.1
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