XML 72 R38.htm IDEA: XBRL DOCUMENT v3.24.2
Notes Payable and Long-Term Debt - Schedule of Notes Payable and Long-Term Debt (Details) - USD ($)
$ in Thousands
May 31, 2024
Aug. 31, 2023
Debt Instrument [Line Items]    
Notes payable $ 337,538 $ 547,923
Notes payable [Member]    
Debt Instrument [Line Items]    
Notes payable 218,204 375,932
CHS Capital notes payable    
Debt Instrument [Line Items]    
Notes payable $ 119,334 $ 171,991