Leases - Supplemental Balance Sheet (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Leases [Abstract] | ||
| Operating lease right-of-use assets | $ 601 | $ 541 |
| Other current liabilities | 83 | 69 |
| Operating lease liabilities | 655 | 597 |
| Total operating lease liabilities | $ 738 | $ 666 |
| Operating lease, liability, current, statement of financial position | Other Liabilities, Current | Other Liabilities, Current |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes current operating lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|