Derivative Instruments (Details) - USD ($) $ in Millions |
9 Months Ended | 12 Months Ended |
|---|---|---|
Apr. 30, 2026 |
Jul. 31, 2025 |
|
| Derivative [Line Items] | ||
| Unrealized gains (losses) in AOCI related to cash flow hedges | $ 19 | $ 40 |
| Gains expected to be recognized into earnings within the next 12 months | 19 | |
| Cash Flow Hedging | ||
| Derivative [Line Items] | ||
| Total notional amount | 821 | 964 |
| Not Designated as Hedging Instrument | ||
| Derivative [Line Items] | ||
| Total notional amount | $ 412 | $ 504 |
| Foreign exchange contract | ||
| Derivative [Line Items] | ||
| Maximum contract term of cash flow hedge | 24 months |
| X | ||||||||||
- Definition The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Nominal or face amount used to calculate payment on derivative. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Maximum length of time over which the entity is hedging its exposure to the variability in future cash flows for forecasted transactions, excluding those forecasted transactions related to the payment of variable interest on existing financial instruments, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|