XML 40 R1.htm IDEA: XBRL DOCUMENT v3.23.4
Cover
12 Months Ended
Oct. 31, 2023
Document Information [Line Items]  
Document Type DEF 14A
Amendment Flag false
Entity Information [Line Items]  
Entity Registrant Name GREIF, INC.
Entity Central Index Key 0000043920