XML 40 R28.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Instruments (Tables) | 6 Months Ended
--- | ---
Apr. 30, 2023
Investments, All Other Investments [Abstract] |
Schedule of Cash Equivalents and Available-for-Sale Investments | Cash Equivalents and Available-for-Sale Investments
| As of April 30, 2023 |  | As of October 31, 2022
| Cost |  | Gross Unrealized Gain |  | Gross Unrealized Loss |  | Fair Value |  | Cost |  | Gross Unrealized Gain |  | Gross Unrealized Loss |  | Fair Value
| In millions
Cash Equivalents: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Corporate debt | $ | 607 |  |  | $ | — |  |  | $ | — |  |  | $ | 607 |  |  | $ | 904 |  |  | $ | — |  |  | $ | — |  |  | $ | 904 |
Government debt | 374 |  |  | — |  |  | — |  |  | 374 |  |  | 1,289 |  |  | — |  |  | — |  |  | 1,289 |
Total cash equivalents | 981 |  |  | — |  |  | — |  |  | 981 |  |  | 2,193 |  |  | — |  |  | — |  |  | 2,193 |
Available-for-Sale Investments: |  |  |  |  |  |  |  |  |  |
Financial institution instruments | 3 |  |  | — |  |  | — |  |  | 3 |  |  | 5 |  |  | — |  |  | — |  |  | 5 |
Marketable securities and mutual funds | 41 |  |  | 12 |  |  | — |  |  | 53 |  |  | 50 |  |  | 8 |  |  | — |  |  | 58 |
Total available-for-sale investments | 44 |  |  | 12 |  |  | — |  |  | 56 |  |  | 55 |  |  | 8 |  |  | — |  |  | 63 |
Total cash equivalents and available-for-sale investments | $ | 1,025 |  |  | $ | 12 |  |  | $ | — |  |  | $ | 1,037 |  |  | $ | 2,248 |  |  | $ | 8 |  |  | $ | — |  |  | $ | 2,256 |
Schedule of Contractual Maturities | Contractual maturities of investments in available-for-sale debt securities were as follows:
| As of April 30, 2023
| Amortized Cost |  | Fair Value
| In millions
Due in one year | $ | 3 |  |  | $ | 3 |
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 April 30, 2023 |  | As 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 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 57 |  |  | $ | 750 |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 78 |
Cash flow hedges: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Foreign currency contracts | 15,254 |  |  | 213 |  |  | 58 |  |  | 284 |  |  | 70 |  |  | 16,014 |  |  | 820 |  |  | 256 |  |  | 206 |  |  | 72 |
Total derivatives designated as hedging instruments | 16,004 |  |  | 213 |  |  | 58 |  |  | 284 |  |  | 127 |  |  | 16,764 |  |  | 820 |  |  | 256 |  |  | 206 |  |  | 150 |
Derivatives not designated as hedging instruments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Foreign currency contracts | 4,538 |  |  | 16 |  |  | — |  |  | 14 |  |  | — |  |  | 4,554 |  |  | 12 |  |  | — |  |  | 17 |  |  | — |
Other derivatives | 128 |  |  | 1 |  |  | — |  |  | — |  |  | — |  |  | 122 |  |  | 2 |  |  | — |  |  | 1 |  |  | — |
Total derivatives not designated as hedging instruments | 4,666 |  |  | 17 |  |  | — |  |  | 14 |  |  | — |  |  | 4,676 |  |  | 14 |  |  | — |  |  | 18 |  |  | — |
Total derivatives | $ | 20,670 |  |  | $ | 230 |  |  | $ | 58 |  |  | $ | 298 |  |  | $ | 127 |  |  | $ | 21,440 |  |  | $ | 834 |  |  | $ | 256 |  |  | $ | 224 |  |  | $ | 150 |
Schedule of Offsetting Assets | As of April 30, 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 April 30, 2023 |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 288 |  |  | $ | — |  |  | $ | 288 |  |  | $ | 242 |  |  | $ | 39 |  | (1) | $ | 7 |
Derivative liabilities | $ | 425 |  |  | $ | — |  |  | $ | 425 |  |  | $ | 242 |  |  | $ | 165 |  | (2) | $ | 18 |
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 April 30, 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 April 30, 2023 |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 288 |  |  | $ | — |  |  | $ | 288 |  |  | $ | 242 |  |  | $ | 39 |  | (1) | $ | 7 |
Derivative liabilities | $ | 425 |  |  | $ | — |  |  | $ | 425 |  |  | $ | 242 |  |  | $ | 165 |  | (2) | $ | 18 |
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 Instrument |  | Hedged Item |  | Location |  | Year |  | Total amounts of income/(expense) line items in the statement of financial performance in which the effects of fair value hedges are recorded |  | Gain/(loss) recognized in earnings on derivative instruments |  | Gain/(loss) recognized in earnings on hedged item
|  |  |  |  |  |  |  | In millions
Three months ended April 30 |  |  |  |  |  |  |  |  |  |
Interest rate contract |  | Fixed-rate debt |  | Interest and other, net |  | 2023 |  | $ | (160) |  |  | $ | 7 |  |  | $ | (7) |
|  |  |  |  |  | 2022 |  | $ | (39) |  |  | $ | (31) |  |  | $ | 31 |
Six months ended April 30 |  |  |  |  |  |  |  |  |  |
Interest rate contract |  | Fixed-rate debt |  | Interest and other, net |  | 2023 |  | $ | (341) |  |  | $ | 21 |  |  | $ | (21) |
|  |  |  |  |  | 2022 |  | $ | (71) |  |  | $ | (42) |  |  | $ | 42 |
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 April 30 |  | Six months ended April 30
| 2023 |  | 2022 |  | 2023 |  | 2022
| In millions
Gain/(loss) recognized in Accumulated other comprehensive (loss) income on derivatives: |  |  |  |  |  |  |
Foreign currency contracts | $ | (66) |  |  | $ | 553 |  |  | $ | (689) |  |  | $ | 833 |
Interest rate contracts | $ | — |  |  | $ | 50 |  |  | $ | — |  |  | $ | 69 |
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 recorded |  | Gain/(loss) reclassified from Accumulated other comprehensive (loss) income into earnings
| Three months ended April 30 |  | Six months ended April 30 |  | Three months ended April 30 |  | Six months ended April 30
| 2023 |  | 2022 |  | 2023 |  | 2022 |  | 2023 |  | 2022 |  | 2023 |  | 2022
| In millions
Net revenue | $ | 12,913 |  |  | $ | 16,490 |  |  | $ | 26,741 |  |  | $ | 33,518 |  |  | $ | (109) |  |  | $ | 142 |  |  | $ | 277 |  |  | $ | 199 |
Cost of revenue | (9,984) |  |  | (13,157) |  |  | (21,003) |  |  | (26,800) |  |  | (55) |  |  | (21) |  |  | (109) |  |  | (35) |
Other operating expenses | (2,167) |  |  | (2,055) |  |  | (4,211) |  |  | (4,081) |  |  | (1) |  |  | — |  |  | (2) |  |  | 1 |
Interest and other, net | (160) |  |  | (39) |  |  | (341) |  |  | (71) |  |  | 3 |  |  | (1) |  |  | 6 |  |  | (1) |
Total |  |  |  |  |  |  |  |  | $ | (162) |  |  | $ | 120 |  |  | $ | 172 |  |  | $ | 164 |
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 six months ended April 30, 2023 and 2022 was as follows:
| Gain/(loss) recognized in earnings on derivative instrument
|  |  | Three months ended April 30 |  | Six months ended April 30
| Location |  | 2023 |  | 2022 |  | 2023 |  | 2022
|  |  | In millions
Foreign currency contracts | Interest and other, net |  | $ | 4 |  |  | $ | 32 |  |  | $ | (40) |  |  | $ | (5) |
Other derivatives | Interest and other, net |  | (6) |  |  | (1) |  |  | — |  |  | (12) |
Total |  |  | $ | (2) |  |  | $ | 31 |  |  | $ | (40) |  |  | $ | (17) |

X
- Definition Tabular disclosure of the reconciliation of cash equivalents and available-for-sale securities from cost basis to fair value. + References No definition available. + Details
Name: | hpq_ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsReconciliationTableTextBlock
Namespace Prefix: | hpq_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsAllOtherInvestmentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial assets that are subject to offsetting, including master netting arrangements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225877-175312 + Details
Name: | us-gaap_OffsettingAssetsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial liabilities that are subject to offsetting, including master netting arrangements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225877-175312 + Details
Name: | us-gaap_OffsettingLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative instruments (including nonderivative instruments that are designated and qualify as hedging instruments) of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 + Details
Name: | us-gaap_ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for fair value hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 + Details
Name: | us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration