XML 41 R29.htm IDEA: XBRL DOCUMENT v3.5.0.2
Fair Value Measurements (Details 1) - USD ($)
$ in Millions
Oct. 31, 2016
Jul. 31, 2016
Fair Value Asset Measured on Recurring Basis [Line Items]    
Long-term debt $ 500 $ 500
Cash and cash equivalents    
Cash equivalents:    
Total cash equivalents 360 638
Fair value, measurements, recurring | Estimate of fair value measurement    
Cash equivalents:    
Total cash equivalents 0 416
Available-for-sale securities:    
Total available-for-sale securities 460 657
Fair value, measurements, recurring | Estimate of fair value measurement | Cash and cash equivalents    
Cash equivalents:    
Total cash equivalents 0 312
Fair value, measurements, recurring | Estimate of fair value measurement | Cash equivalents in funds held for customers    
Cash equivalents:    
Total cash equivalents 0 104
Fair value, measurements, recurring | Estimate of fair value measurement | Available for sale debt securities in investments    
Available-for-sale securities:    
Total available-for-sale securities 245 442
Fair value, measurements, recurring | Estimate of fair value measurement | Available for sale debt securities in funds held for customers    
Available-for-sale securities:    
Total available-for-sale securities 200 200
Fair value, measurements, recurring | Estimate of fair value measurement | Available for sale debt securities in long term investments    
Available-for-sale securities:    
Total available-for-sale securities 15 15
Fair value, measurements, recurring | Level 1    
Cash equivalents:    
Total cash equivalents 0 416
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 1 | Cash and cash equivalents    
Cash equivalents:    
Total cash equivalents 0 312
Fair value, measurements, recurring | Level 1 | Cash equivalents in funds held for customers    
Cash equivalents:    
Total cash equivalents 0 104
Fair value, measurements, recurring | Level 1 | Available for sale debt securities in investments    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 1 | Available for sale debt securities in funds held for customers    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 1 | Available for sale debt securities in long term investments    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 2    
Cash equivalents:    
Total cash equivalents 0 0
Available-for-sale securities:    
Total available-for-sale securities 445 642
Fair value, measurements, recurring | Level 2 | Cash and cash equivalents    
Cash equivalents:    
Total cash equivalents 0 0
Fair value, measurements, recurring | Level 2 | Cash equivalents in funds held for customers    
Cash equivalents:    
Total cash equivalents 0 0
Fair value, measurements, recurring | Level 2 | Available for sale debt securities in investments    
Available-for-sale securities:    
Total available-for-sale securities 245 442
Fair value, measurements, recurring | Level 2 | Available for sale debt securities in funds held for customers    
Available-for-sale securities:    
Total available-for-sale securities 200 200
Fair value, measurements, recurring | Level 2 | Available for sale debt securities in long term investments    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 3    
Cash equivalents:    
Total cash equivalents 0 0
Available-for-sale securities:    
Total available-for-sale securities 15 15
Fair value, measurements, recurring | Level 3 | Cash and cash equivalents    
Cash equivalents:    
Total cash equivalents 0 0
Fair value, measurements, recurring | Level 3 | Cash equivalents in funds held for customers    
Cash equivalents:    
Total cash equivalents 0 0
Fair value, measurements, recurring | Level 3 | Available for sale debt securities in investments    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 3 | Available for sale debt securities in funds held for customers    
Available-for-sale securities:    
Total available-for-sale securities 0 0
Fair value, measurements, recurring | Level 3 | Available for sale debt securities in long term investments    
Available-for-sale securities:    
Total available-for-sale securities $ 15 $ 15