XML 68 R38.htm IDEA: XBRL DOCUMENT v3.23.1
Notes Payable and Long-Term Debt - Schedule of Notes Payable and Long-Term Debt (Details) - USD ($)
$ in Thousands
Feb. 28, 2023
Aug. 31, 2022
Debt Instrument [Line Items]    
Notes payable $ 1,093,091 $ 606,719
Notes payable [Member]    
Debt Instrument [Line Items]    
Notes payable 595,984 459,398
CHS Capital notes payable    
Debt Instrument [Line Items]    
Notes payable $ 497,107 $ 147,321