XML 50 R37.htm IDEA: XBRL DOCUMENT v3.22.2.2
Financial Instruments (Tables)
12 Months Ended
Oct. 31, 2022
Investments, All Other Investments [Abstract]  
Schedule of Cash Equivalents and Available-for-Sale Investments
Cash Equivalents and Available-for-Sale Investments
 As of October 31, 2022As of October 31, 2021
 CostGross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
CostGross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
 In millions
Cash Equivalents:        
Corporate debt$904 $— $— $904 $1,112 $— $— $1,112 
Government debt1,289 — — 1,289 1,931 — — 1,931 
Total cash equivalents2,193 — — 2,193 3,043 — — 3,043 
Available-for-Sale Investments:
Financial institution instruments— — — — 
Marketable equity securities and mutual funds50 — 58 42 29 — 71 
Total available-for-sale investments55 — 63 47 29 — 76 
Total cash equivalents and available-for-sale investments$2,248 $$— $2,256 $3,090 $29 $— $3,119 
Schedule of Contractual Maturities
Contractual maturities of investments in available-for-sale debt securities were as follows:
 As of October 31, 2022
 Amortized
Cost
Fair Value
 In millions
Due in one year$17 $17 
Schedule of Fair Value of Derivative Instruments in the Consolidated Balance Sheets
The gross notional and fair value of derivative instruments in the Consolidated Balance Sheets were as follows:
 As of October 31, 2022As of October 31, 2021
 Outstanding
Gross
Notional
Other
Current
Assets
Other
Non-Current
Assets
Other
Current
Liabilities
Other
Non-Current
Liabilities
Outstanding
Gross
Notional
Other
Current
Assets
Other
Non-Current
Assets
Other
Current
Liabilities
Other
Non-Current
Liabilities
 In millions
Derivatives designated as hedging instruments          
Fair value hedges:          
Interest rate contracts$750 $— $— $— $78 $750 $— $— $— $16 
Cash flow hedges:         
Foreign currency contracts16,014 820 256 206 72 17,137 198 69 148 42 
Interest rate contracts— — — — — 1,500 — — — 
Total derivatives designated as hedging instruments16,764 820 256 206 150 19,387 198 69 148 66 
Derivatives not designated as hedging instruments          
Foreign currency contracts4,554 12 — 17 — 6,293 10 — 13 — 
Other derivatives122 — — 103 — — — 
Total derivatives not designated as hedging instruments4,676 14 — 18 — 6,396 15 — 13 — 
Total derivatives$21,440 $834 $256 $224 $150 $25,783 $213 $69 $161 $66 
Schedule of Offsetting Derivative Liabilities As of October 31, 2022 and 2021, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
 In the Consolidated Balance Sheets  
 (i)(ii)(iii) = (i)–(ii)(iv)(v) (vi) = (iii)–(iv)–(v)
 Gross Amount
Recognized
Gross Amount
Offset
Net Amount
Presented
Gross Amounts
Not Offset
  
 DerivativesFinancial
Collateral
 Net Amount
 In millions
As of October 31, 2022       
Derivative assets$1,090 $— $1,090 $290 $616 (1)$184 
Derivative liabilities$374 $— $374 $290 $86 (2)$(2)
As of October 31, 2021       
Derivative assets$282 $— $282 $160 $65 (1)$57 
Derivative liabilities$227 $— $227 $160 $64 (2)$
(1)Represents the cash collateral posted by counterparties as of the respective reporting date for HP’s asset position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
(2)Represents the collateral posted by HP including any re-use of counterparty cash collateral as of the respective reporting date for HP’s liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
Schedule of Offsetting Derivative Assets As of October 31, 2022 and 2021, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
 In the Consolidated Balance Sheets  
 (i)(ii)(iii) = (i)–(ii)(iv)(v) (vi) = (iii)–(iv)–(v)
 Gross Amount
Recognized
Gross Amount
Offset
Net Amount
Presented
Gross Amounts
Not Offset
  
 DerivativesFinancial
Collateral
 Net Amount
 In millions
As of October 31, 2022       
Derivative assets$1,090 $— $1,090 $290 $616 (1)$184 
Derivative liabilities$374 $— $374 $290 $86 (2)$(2)
As of October 31, 2021       
Derivative assets$282 $— $282 $160 $65 (1)$57 
Derivative liabilities$227 $— $227 $160 $64 (2)$
(1)Represents the cash collateral posted by counterparties as of the respective reporting date for HP’s asset position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
(2)Represents the collateral posted by HP including any re-use of counterparty cash collateral as of the respective reporting date for HP’s liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
Schedule of Pre-tax Effect of Derivative Instruments and Related Hedged Items
The pre-tax effect of derivative instruments and related hedged items in a fair value hedging relationship were as follows:
Derivative InstrumentHedged ItemLocationFor the fiscal years ended October 31Total amounts of income/(expense) line items in the statement of financial performance in which the effects of fair value hedges are recordedGain/(loss) recognized in earnings on derivative instrumentsGain/(loss) recognized in earnings on hedged item
    In millions
Interest rate contractsFixed-rate debtInterest and other, net2022$(235)$(62)$62 
2021$2,209 $(17)$17 
2020$(231)$$(6)
Schedule of Pre-tax Effect of Derivative Instruments in Cash Flow and Net Investment Hedging Relationships
The pre-tax effect of derivative instruments in cash flow hedging relationships included in Accumulated other comprehensive income (loss) was as follows:
For the fiscal years ended October 31
 202220212020
 In millions
Gain/(loss) recognized in Accumulated other comprehensive income (loss) on derivatives:
Foreign currency contracts$1,456 $(117)$(197)
Interest rate contracts$85 $(15)$(4)
Schedule of Pre-tax Effect of Derivative Instruments in Cash Flow Hedging Relationships
The pre-tax effect of derivative instruments in cash flow hedging relationships included in earnings were as follows:
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recordedGain/ (loss) reclassified from Accumulated other comprehensive loss into earnings
For the fiscal years ended October 31For the fiscal years ended October 31
202220212020202220212020
In millionsIn millions
Net revenue$62,983 $63,487 $56,639 $877 $(214)$108 
Cost of revenue(50,648)(50,070)(46,202)(101)(30)(25)
Operating expenses(7,659)(8,115)(6,975)(1)
Interest and other, net(235)2,209 (231)— — 
Total$779 $(243)$85 
Schedule of Pre-tax Effect of Derivative Instruments not Designated as Hedging Instruments on the Consolidated Condensed Statements of Earnings
The pre-tax effect of derivative instruments not designated as hedging instruments recognized in Interest and other, net in the Consolidated Statements of Earnings for fiscal years 2022, 2021 and 2020 was as follows:
 Gain/(loss) recognized in earnings on derivative instrument
 Location202220212020
  In millions
Foreign currency contractsInterest and other, net$41 $(65)$40 
Other derivativesInterest and other, net(4)(9)
Total $37 $(57)$31