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