Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Schedule of Classification on Balance Sheets (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Jul. 31, 2025 |
Apr. 30, 2025 |
Jul. 31, 2024 |
|---|---|---|---|---|
| Amortized Cost | ||||
| Cash and cash equivalents | $ 4,681 | $ 2,884 | $ 5,443 | |
| Investments | 2,099 | 1,667 | ||
| Funds receivable and amounts held for customers | 7,760 | 7,076 | ||
| Total cash and cash equivalents, investments, and funds receivable and amounts held for customers | 14,540 | 11,627 | ||
| Fair Value | ||||
| Cash and cash equivalents | 4,681 | 2,884 | ||
| Investments | 2,099 | 1,668 | ||
| Funds receivable and amounts held for customers | 7,760 | 7,076 | $ 5,221 | $ 3,921 |
| Total cash and cash equivalents, investments, and funds receivable and amounts held for customers | $ 14,540 | $ 11,628 |
| X | ||||||||||
- Definition Cash And Cash Equivalents And Available For Sale Securities, Amortized Cost Basis No definition available.
|
| X | ||||||||||
- Definition Cash And Cash Equivalents And Available-For-Sale Securities, Fair Value Disclosure No definition available.
|
| X | ||||||||||
- Definition Funds Receivable And Amounts Held For Customers No definition available.
|
| X | ||||||||||
- Definition Funds Receivable And Amounts Held For Customers, Amortized Cost No definition available.
|
| X | ||||||||||
- Definition Amount of cash and cash equivalent. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|