v3.25.1
Revenue from contracts with customers (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2023
Revenue from contracts with customers          
Total revenues $ 560,847 $ 515,774 $ 1,594,708 $ 1,496,664  
Contract assets and liabilities          
Contract assets 16,079 13,315 16,079 13,315 $ 20,876
Contract liabilities          
Deferred revenue $ 41,165 42,305 41,165 42,305 $ 40,051
Deferred revenue recognized     $ 35,200 36,900  
Maximum | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-05-01          
Contract liabilities          
Remaining performance obligation recognition period 1 year   1 year    
Propane and related equipment revenues          
Revenue from contracts with customers          
Total revenues $ 560,847 515,774 $ 1,594,708 1,496,664  
Retail - Sales to End Users          
Revenue from contracts with customers          
Total revenues 400,006 367,300 1,078,412 1,033,000  
Wholesale - Sales to Resellers          
Revenue from contracts with customers          
Total revenues 129,667 119,739 409,381 368,088  
Other Gas Sales          
Revenue from contracts with customers          
Total revenues 3,873 3,018 19,578 12,112  
Other          
Revenue from contracts with customers          
Total revenues $ 27,301 $ 25,717 $ 87,337 $ 83,464