Other Liabilities and Commitments - Other current liabilities (Details) - USD ($) $ in Millions |
Jul. 31, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Commitments and Contingencies Disclosure [Abstract] | ||
| Executive deferred compensation plan liabilities | $ 308 | $ 248 |
| Interest payable | 98 | 85 |
| Current portion of operating lease liabilities | 85 | 69 |
| Sales, property, and other taxes | 68 | 55 |
| Reserve for returns, credits, and promotional discounts | 54 | 39 |
| Excise tax on share repurchases | 41 | 7 |
| Amounts due for share repurchases | 31 | 14 |
| Other | 178 | 108 |
| Total other current liabilities | $ 863 | $ 625 |
| X | ||||||||||
- Definition Amounts Due For Share Repurchases No definition available.
|
| X | ||||||||||
- Definition Reserve For Returns, Credits, and Promotional Discounts. No definition available.
|
| X | ||||||||||
- Definition Taxes Payable, Current, Excluding Income Taxes No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Aggregate carrying value as of the balance sheet date of the liabilities for all deferred compensation arrangements payable within one year (or the operating cycle, if longer). Represents currently earned compensation under compensation arrangements that is not actually paid until a later date. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| 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 Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Obligations not otherwise itemized or categorized in the footnotes to the financial statements that are due within one year or operating cycle, if longer, from the balance sheet date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of excise tax payable on share purchased under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|