Borrowings - Schedule of Notes Payable and Short-term Borrowings, Including the Current Portion of Long-term Debt (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Oct. 31, 2025 |
|||
|---|---|---|---|---|---|
| Short-term Debt [Line Items] | |||||
| Current portion of long-term debt | $ 2,249 | [1] | $ 3,796 | ||
| Total notes payable and short-term borrowings | 3,009 | 4,609 | |||
| Long-term debt | 18,237 | 17,756 | |||
| Total | 21,246 | 22,365 | |||
| Asset-backed securities | |||||
| Short-term Debt [Line Items] | |||||
| Current portion of long-term debt | 900 | 1,200 | |||
| Commercial paper | |||||
| Short-term Debt [Line Items] | |||||
| Commercial paper | 637 | 681 | |||
| Notes payable to banks, lines of credit and other | |||||
| Short-term Debt [Line Items] | |||||
| Notes payable to banks, lines of credit and other | $ 123 | $ 132 | |||
| |||||