Credit Losses - Schedule of Activity in Allowance for Credit Losses on Trade Receivables (Details) - USD ($) $ in Thousands |
6 Months Ended | |
|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
|
| Accounts Receivable, Allowance for Credit Loss [Roll Forward] | ||
| Beginning balance | $ 40,461 | |
| Provision for credit losses | 9,185 | $ 8,427 |
| Write-offs | (6,533) | |
| Recoveries of amounts previously written off | 52 | |
| Foreign currency translation | 253 | |
| Ending balance | $ 43,418 | |
| X | ||||||||||
- Definition Allowance for doubtful accounts foreign currency translation. No definition available.
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in allowance for credit loss on accounts receivable, from recovery. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|