Income Taxes - Cash Income Taxes Paid (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| U.S. federal | $ (6) | $ 1,105 | $ 1,659 |
| Foreign | |||
| Total cash paid for income taxes, net of refunds | 281 | 1,408 | 1,881 |
| California | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| U.S. state and local | 51 | 31 | (4) |
| New York | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| U.S. state and local | 25 | 23 | 20 |
| Pennsylvania | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| U.S. state and local | 18 | 15 | 14 |
| Other | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| U.S. state and local | 162 | 191 | 161 |
| India | |||
| Foreign | |||
| Foreign | 24 | 21 | 24 |
| Other | |||
| Foreign | |||
| Foreign | $ 7 | $ 22 | $ 7 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after income tax refund received, of cash paid to federal (national) tax jurisdiction for tax on income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after income tax refund received, of cash paid to foreign tax jurisdiction for tax on income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, after income tax refund received, of cash paid to state and local tax jurisdictions for tax on income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|