XML 104 R89.htm IDEA: XBRL DOCUMENT v3.23.3
Taxes on Earnings - Uncertain Tax Positions (Narrative) (Details)
$ in Millions
12 Months Ended
Oct. 31, 2023
USD ($)
country
Oct. 31, 2022
USD ($)
Oct. 31, 2021
USD ($)
Oct. 31, 2020
USD ($)
Income Tax Disclosure [Abstract]        
Unrecognized tax benefits $ 1,137 $ 1,045 $ 829 $ 830
Unrecognized tax benefits that would affect effective tax rate if realized 815      
Increase in gross unrecognized tax benefits 92      
Accrued income tax for interest and penalties $ 102 $ 64 $ 70  
Likelihood of no resolution period 12 months      
Reasonably possible decrease in existing unrecognized tax benefits within the next 12 months $ 54      
Number of other countries in which HP is subject to income taxes | country 60      
Undistributed earnings from non-U.S. operations $ 5,100