Other Liabilities and Commitments - Schedule of Other Current Liabilities (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Other Liabilities Disclosure [Abstract] | ||
| Executive deferred compensation plan liabilities | $ 296 | $ 248 |
| Sales, property, and other taxes | 111 | 55 |
| Current portion of operating lease liabilities | 83 | 69 |
| Reserve for returns, credits, and promotional discounts | 81 | 39 |
| Interest payable | 37 | 85 |
| Amounts due for share repurchases | 31 | 14 |
| Other | 210 | 115 |
| Total other current liabilities | $ 849 | $ 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 | ||||||||||
- 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://fasb.org/us-gaap/role/ref/legacyRef
|
| 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 Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| 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://fasb.org/us-gaap/role/ref/legacyRef
|