XML 54 R39.htm IDEA: XBRL DOCUMENT v3.23.3
Financial Instruments (Tables)
12 Months Ended
Oct. 31, 2023
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, 2023As of October 31, 2022
 CostGross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
CostGross
Unrealized
Gain
Gross
Unrealized
Loss
Fair
Value
 In millions
Cash Equivalents:        
Corporate debt$589 $— $— $589 $904 $— $— $904 
Government debt1,900 — — 1,900 1,289 — — 1,289 
Total cash equivalents2,489 — — 2,489 2,193 — — 2,193 
Available-for-Sale Investments:
Financial institution instruments— — — — 
Marketable securities and mutual funds40 38 — 78 50 — 58 
Total available-for-sale investments43 38 — 81 55 — 63 
Total cash equivalents and available-for-sale investments$2,532 $38 $— $2,570 $2,248 $$— $2,256 
Schedule of Contractual Maturities
Contractual maturities of investments in available-for-sale debt securities were as follows:
 As of October 31, 2023
 Amortized
Cost
Fair Value
 In millions
Due in one year$$
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, 2023As of October 31, 2022
 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 $— $— $— $58 $750 $— $— $— $78 
Cash flow hedges:         
Foreign currency contracts15,278 410 70 147 52 16,014 820 256 206 72 
Total derivatives designated as hedging instruments16,028 410 70 147 110 16,764 820 256 206 150 
Derivatives not designated as hedging instruments          
Foreign currency contracts4,446 — 13 — 4,554 12 — 17 — 
Other derivatives125 — — — 122 — — 
Total derivatives not designated as hedging instruments4,571 — 15 — 4,676 14 — 18 — 
Total derivatives$20,599 $419 $70 $162 $110 $21,440 $834 $256 $224 $150 
Schedule of Offsetting Derivative Liabilities As of October 31, 2023 and 2022, 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, 2023       
Derivative assets$489 $— $489 $178 $291 (1)$20 
Derivative liabilities$272 $— $272 $178 $89 (2)$
As of October 31, 2022       
Derivative assets$1,090 $— $1,090 $290 $616 (1)$184 
Derivative liabilities$374 $— $374 $290 $86 (2)$(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, 2023 and 2022, 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, 2023       
Derivative assets$489 $— $489 $178 $291 (1)$20 
Derivative liabilities$272 $— $272 $178 $89 (2)$
As of October 31, 2022       
Derivative assets$1,090 $— $1,090 $290 $616 (1)$184 
Derivative liabilities$374 $— $374 $290 $86 (2)$(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, net2023$(519)$20 $(20)
2022$(235)$(62)$62 
2021$2,209 $(17)$17 
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
 202320222021
 In millions
Gain/(loss) recognized in Accumulated other comprehensive income (loss) on derivatives:
Foreign currency contracts$(427)$1,456 $(117)
Interest rate contracts$— $85 $(15)
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
202320222021202320222021
In millionsIn millions
Net revenue$53,718 $62,910 $63,460 $243 $877 $(214)
Cost of revenue(42,210)(50,647)(50,053)(167)(101)(30)
Operating expenses(8,052)(7,704)(8,048)(4)(1)
Interest and other, net(519)(235)2,209 12 — 
Total$84 $779 $(243)
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 2023, 2022 and 2021 was as follows:
 Gain/(loss) recognized in earnings on derivative instrument
 Location202320222021
  In millions
Foreign currency contractsInterest and other, net$(65)$41 $(65)
Other derivativesInterest and other, net(3)(4)
Total $(68)$37 $(57)