XML 74 R63.htm IDEA: XBRL DOCUMENT v3.23.1
Revenue - Summary of Activity for Allowance for Credit Losses (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2023
Feb. 28, 2022
Feb. 28, 2023
Feb. 28, 2022
Accounts receivable, allowance for credit loss [Roll Forward]        
Beginning balance $ 48,041 $ 50,932 $ 46,669 $ 55,922
Bad debt provision 1,950 571 9,473 2,645
Uncollectible accounts written off, net of recoveries (2,667) (2,436) (7,573) (7,335)
Translation adjustments (2) 727 (1,247) (1,438)
Ending balance $ 47,322 $ 49,794 $ 47,322 $ 49,794