XML 78 R38.htm IDEA: XBRL DOCUMENT v3.23.2
Notes Payable and Long-Term Debt - Schedule of Notes Payable and Long-Term Debt (Details) - USD ($)
$ in Thousands
May 31, 2023
Aug. 31, 2022
Debt Instrument [Line Items]    
Notes payable $ 605,955 $ 606,719
Notes payable [Member]    
Debt Instrument [Line Items]    
Notes payable 504,376 459,398
CHS Capital notes payable    
Debt Instrument [Line Items]    
Notes payable $ 101,579 $ 147,321