Other Income, Net (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Other Income and Expenses [Abstract] | ||||
| Interest income | $ 71 | $ 93 | $ 285 | $ 266 |
| Foreign currency exchange gains (losses), net | (14) | (8) | (41) | (14) |
| Change in fair value of convertible senior notes | 0 | (37) | 0 | |
| Change in fair value of capped calls | (1) | 0 | (1) | 0 |
| Other, net | 8 | 8 | 76 | 9 |
| Total other income, net | $ 27 | $ 93 | $ 282 | $ 261 |
| X | ||||||||||
- Definition Change In Fair Value Of Convertible Senior Notes No definition available.
|
| X | ||||||||||
- Definition Other Nonoperating Income (Expense), Net No definition available.
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest income earned from interest bearing assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|