XML 40 R31.htm IDEA: XBRL DOCUMENT v3.23.2
Financial Instruments (Tables)
9 Months Ended
Jul. 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 July 31, 2023As of October 31, 2022
 CostGross Unrealized GainGross Unrealized LossFair ValueCostGross Unrealized GainGross Unrealized LossFair Value
 In millions
Cash Equivalents:        
Corporate debt$460 $— $— $460 $904 $— $— $904 
Government debt362 — — 362 1,289 — — 1,289 
Total cash equivalents822 — — 822 2,193 — — 2,193 
Available-for-Sale Investments:     
Financial institution instruments— — — — 
Marketable securities and mutual funds
41 35 — 76 50 — 58 
Total available-for-sale investments44 35 — 79 55 — 63 
Total cash equivalents and available-for-sale investments$866 $35 $— $901 $2,248 $$— $2,256 
Schedule of Contractual Maturities
Contractual maturities of investments in available-for-sale debt securities were as follows:

 As of July 31, 2023
 Amortized CostFair Value
 In millions
Due in one year$$
Schedule of Gross Notional and Fair Value of Derivative Financial Instruments in the Consolidated Condensed Balance Sheets The gross notional and fair value of derivative instruments in the Consolidated Condensed Balance Sheets were as follows:
 As of July 31, 2023As of October 31, 2022
 Outstanding Gross NotionalOther Current AssetsOther Non-Current AssetsOther Current LiabilitiesOther Non-Current LiabilitiesOutstanding Gross NotionalOther Current AssetsOther Non-Current AssetsOther Current LiabilitiesOther Non-Current Liabilities
 In millions
Derivatives designated as hedging instruments     
Fair value hedges:     
Interest rate contracts$750 $— $— $— $63 $750 $— $— $— $78 
Cash flow hedges:
Foreign currency contracts15,492 208 31 251 75 16,014 820 256 206 72 
Total derivatives designated as hedging instruments16,242 208 31 251 138 16,764 820 256 206 150 
Derivatives not designated as hedging instruments    
Foreign currency contracts4,309 — 15 — 4,554 12 — 17 — 
Other derivatives137 — — — 122 — — 
Total derivatives not designated as hedging instruments4,446 15 — 15 — 4,676 14 — 18 — 
Total derivatives$20,688 $223 $31 $266 $138 $21,440 $834 $256 $224 $150 
Schedule of Offsetting Assets As of July 31, 2023 and October 31, 2022, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
 In the Consolidated Condensed Balance Sheets  
 (i)(ii)(iii) = (i)–(ii)(iv)(v)(vi) = (iii)–(iv)–(v)
Gross Amounts Not Offset
 Gross Amount
Recognized
Gross Amount
Offset
Net Amount
Presented
Derivatives
Financial
Collateral
 Net Amount
 In millions
As of July 31, 2023       
Derivative assets$254 $— $254 $222 $31 (1)$
Derivative liabilities$404 $— $404 $222 $149 (2)$33 
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 Liabilities As of July 31, 2023 and October 31, 2022, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
 In the Consolidated Condensed Balance Sheets  
 (i)(ii)(iii) = (i)–(ii)(iv)(v)(vi) = (iii)–(iv)–(v)
Gross Amounts Not Offset
 Gross Amount
Recognized
Gross Amount
Offset
Net Amount
Presented
Derivatives
Financial
Collateral
 Net Amount
 In millions
As of July 31, 2023       
Derivative assets$254 $— $254 $222 $31 (1)$
Derivative liabilities$404 $— $404 $222 $149 (2)$33 
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 in a Fair Value Hedging Relationship
The pre-tax effect of derivative instruments and related hedged items in a fair value hedging relationship were as follows:
Derivative InstrumentHedged ItemLocationYearTotal 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
Three months ended July 31
Interest rate contractFixed-rate debtInterest and other, net2023$(16)$(6)$
2022$(70)$$(8)
Nine months ended July 31
Interest rate contractFixed-rate debtInterest and other, net2023$(357)$15 $(15)
2022$(141)$(34)$34 
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 Accumulated other comprehensive (loss) income was as follows:
Three months ended July 31Nine months ended July 31
2023202220232022
In millions
(Loss)/gain recognized in Accumulated other comprehensive (loss) income on derivatives:
Foreign currency contracts$(68)$264 $(757)$1,097 
Interest rate contracts$— $16 $— $85 

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) income into earnings
Three months ended July 31Nine months ended July 31Three months ended July 31Nine months ended July 31
20232022202320222023202220232022
In millions
Net revenue$13,196 $14,648 $39,901 $48,136 $(37)$349 $240 $548 
Cost of revenue(10,374)(11,764)(31,378)(38,564)(33)(23)(142)(58)
Other operating expenses(1,870)(1,628)(6,081)(5,754)(1)(1)(3)— 
Interest and other, net(16)(70)(357)(141)
Total$(68)$327 $104 $491 
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 Condensed Statements of Earnings for the three and nine months ended July 31, 2023 and 2022 was as follows:
Gain/(loss) recognized in earnings on derivative instrument
 Three months ended July 31Nine months ended July 31
 Location2023202220232022
  In millions
Foreign currency contractsInterest and other, net$(37)$$(76)$
Other derivativesInterest and other, net14 
Total $(32)$22 $(71)$