XML 51 R35.htm IDEA: XBRL DOCUMENT v3.22.2.2
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Classification on Balance Sheets (Details) - USD ($)
$ in Millions
Oct. 31, 2022
Jul. 31, 2022
Oct. 31, 2021
Cash and Cash Equivalents Items [Line Items]      
Cash and cash equivalents $ 2,125 $ 2,796 $ 2,864
Available-for-sale debt securities, amortized cost 816 694  
Total cash and cash equivalents, investments, and funds held for customers, amortized cost 3,209 3,721  
Cash equivalents: 2,125 2,796  
Available-for-sale debt securities, fair value 799 685  
Total cash and cash equivalents, investments, and funds held for customers, fair value 3,192 3,712  
Investments      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 608 490  
Available-for-sale debt securities, fair value 599 485  
Funds receivable and amounts held for customers      
Cash and Cash Equivalents Items [Line Items]      
Available-for-sale debt securities, amortized cost 476 435  
Available-for-sale debt securities, fair value $ 468 $ 431