Accounting for Leases as a Lessor - Schedule of Lessor Lease Activity (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Leases [Abstract] | ||||
| Interest income from sales-type leases and direct financing leases | $ 193 | $ 188 | $ 388 | $ 374 |
| Lease income from operating leases | 500 | 539 | 1,008 | 1,086 |
| Total lease income | $ 693 | $ 727 | $ 1,396 | $ 1,460 |