v3.26.3
Notes Payable and Long-Term Debt - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Debt Instrument [Line Items]      
Outstanding loan amount utilized $ 963,900    
Notes payable 449,002 $ 1,152,457  
Long-term debt repaid 80,600 331,600  
Fair value of long-term debt 2,000,000 1,800,000  
Total long-term debt 2,004,312    
Interest expense 163,633 146,079 $ 104,064
Capitalized interest 25,600 32,200 $ 25,700
Notes payable      
Debt Instrument [Line Items]      
Notes payable 193,649 584,226  
Committed      
Debt Instrument [Line Items]      
Maximum availability under securitization facility 850,000    
Uncommitted      
Debt Instrument [Line Items]      
Maximum availability under securitization facility 250,000    
Utilized      
Debt Instrument [Line Items]      
Outstanding loan amount utilized 175,000 296,000  
Repurchase Facility      
Debt Instrument [Line Items]      
Borrowings outstanding 0 159,700  
Maximum borrowing capacity 250,000    
Short-Term Notes Payable, Surplus Funds Program | Notes payable      
Debt Instrument [Line Items]      
Notes payable 80,400 112,500  
5.29% unsecured term loan from cooperative and other banks, due in fiscal 2030      
Debt Instrument [Line Items]      
Total long-term debt $ 300,000 0  
Revolving credit facility | Five-year revolving facilities | Line of credit      
Debt Instrument [Line Items]      
Debt term 5 years    
Committed amount provided $ 2,800,000    
Borrowings outstanding 0 180,000  
Revolving credit facility | Other international subsidiaries, lines of credit | Line of credit      
Debt Instrument [Line Items]      
Borrowings outstanding $ 182,500 $ 329,500