Leases - Cash Paid for Amounts Included in Measurement of Lease Liabilities (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| Leases [Abstract] | |||
| Operating cash flows from operating leases | $ 287 | $ 268 | $ 243 |
| Operating cash flows from finance leases | 7 | 9 | 7 |
| Financing cash flows from finance leases | 18 | 18 | 12 |
| Lease assets obtained in exchange for new operating lease liabilities | 268 | 227 | 385 |
| Lease assets obtained in exchange for new finance lease liabilities | $ 10 | $ 17 | $ 22 |
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|