Leases - Supplemental balance sheet (Details) - USD ($) $ in Millions |
Jul. 31, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Leases [Abstract] | ||
| Operating lease right-of-use assets | $ 609 | $ 541 |
| Other current liabilities | 85 | 69 |
| Operating lease liabilities | 667 | 597 |
| Total operating lease liabilities | $ 752 | $ 666 |
| Operating Lease, Liability, Current, Statement of Financial Position [Extensible List] | 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/exampleRef
|
| 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
|