v3.22.2.2
Derivative Instruments - Fair Value of Derivative Instruments (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2022
Oct. 31, 2021
Jan. 31, 2022
Derivatives, Fair Value [Line Items]          
Total derivative assets $ 74   $ 74   $ 18
Total derivative liabilities 15   15   11
Amount of gain (loss) recognized in accumulated other comprehensive income, net of tax, (effective portion) 26 $ 14 99 $ 24  
Amount and location of gain (loss) reclassified from accumulated other comprehensive loss into income (effective portion) 10 (5) 15 (15)  
Interest and other expense, net 4 6 34 11  
Net revenue          
Derivatives, Fair Value [Line Items]          
Amount and location of gain (loss) reclassified from accumulated other comprehensive loss into income (effective portion) 19 (3) 36 (13)  
Cost of revenue          
Derivatives, Fair Value [Line Items]          
Amount and location of gain (loss) reclassified from accumulated other comprehensive loss into income (effective portion) (1) 0 (3) 0  
Operating expenses          
Derivatives, Fair Value [Line Items]          
Amount and location of gain (loss) reclassified from accumulated other comprehensive loss into income (effective portion) (8) $ (2) (18) $ (2)  
Prepaid expenses and other current assets | Foreign Exchange Contract | Foreign currency contracts designated as cash flow hedges          
Derivatives, Fair Value [Line Items]          
Total derivative assets 66   66   12
Prepaid expenses and other current assets and long-term other assets | Foreign Exchange Contract | Derivatives not designated as hedging instruments          
Derivatives, Fair Value [Line Items]          
Total derivative assets 8   8   6
Other accrued liabilities | Foreign Exchange Contract | Foreign currency contracts designated as cash flow hedges          
Derivatives, Fair Value [Line Items]          
Total derivative liabilities 11   11   7
Other accrued liabilities | Foreign Exchange Contract | Derivatives not designated as hedging instruments          
Derivatives, Fair Value [Line Items]          
Total derivative liabilities $ 4   $ 4   $ 4