2.2.0.7 true Balance Sheet Accounts (Schedule of Marketable Securities) (Details) (USD $) 40202 - Disclosure - Balance Sheet Accounts (Schedule of Marketable Securities) (Details) true false In Thousands false false 1 USD false false Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/instance shares xbrli 0 Unit14 Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ false 2 USD false false Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Unit12 Standard http://www.xbrl.org/2003/instance shares xbrli 0 Unit14 Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ 2 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 true true false false 1151851000 1151851 false false false 2 true true false false 706224000 706224 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 3 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 21169000 21169 false false false 2 false true false false 9785000 9785 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 4 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -883000 -883 false false false 2 false true false false -267000 -267 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 5 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 1172137000 1172137 false false false 2 false true false false 715742000 715742 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 6 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 3 USD true false false false Corporate Notes and Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CorporateDebtSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 4 USD true false false false Corporate Notes and Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CorporateDebtSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 7 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 796870000 796870 false false false 2 false true false false 329750000 329750 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 8 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 15839000 15839 false false false 2 false true false false 7889000 7889 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 9 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -266000 -266 false false false 2 false true false false -65000 -65 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 10 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 812443000 812443 false false false 2 false true false false 337574000 337574 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 11 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 5 USD true false false false U.S. Agency Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 6 USD true false false false U.S. Agency Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 12 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 121683000 121683 false false false 2 false true false false 162896000 162896 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 13 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 530000 530 false false false 2 false true false false 571000 571 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 14 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -3000 -3 false false false 2 false true false false -12000 -12 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 15 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 122210000 122210 false false false 2 false true false false 163455000 163455 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 16 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 7 USD true false false false U.S. Treasury Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USTreasurySecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 8 USD true false false false U.S. Treasury Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USTreasurySecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 17 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 25488000 25488 false false false 2 false true false false 136606000 136606 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 18 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 134000 134 false false false 2 false true false false 170000 170 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 19 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0 false false false 2 false true false false -116000 -116 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 20 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 25622000 25622 false false false 2 false true false false 136660000 136660 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 21 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 9 USD true false false false Collateralized Mortgage Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 10 USD true false false false Collateralized Mortgage Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 22 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 124691000 124691 false false false 2 false true false false 36785000 36785 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 23 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 2092000 2092 false false false 2 false true false false 436000 436 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 24 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -143000 -143 false false false 2 false true false false -33000 -33 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 25 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 126640000 126640 false false false 2 false true false false 37188000 37188 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 26 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 11 USD true false false false Mortgage Backed Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 12 USD true false false false Mortgage Backed Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 27 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 59535000 59535 false false false 2 false true false false 40187000 40187 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 28 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 881000 881 false false false 2 false true false false 719000 719 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 29 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -410000 -410 false false false 2 false true false false -41000 -41 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 30 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 60006000 60006 false false false 2 false true false false 40865000 40865 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 31 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 13 USD true false false false Government Obligations [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USTreasuryAndGovernmentMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 32 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 3203000 3203 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 33 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 74000 74 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 34 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 35 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 3277000 3277 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 36 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 14 USD true false false false Municipal Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MunicipalNotesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 37 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 19596000 19596 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 38 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 94000 94 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 39 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -61000 -61 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 40 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 19629000 19629 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 41 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesdetails false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 15 USD true false false false Marketable Equity Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_EquitySecuritiesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 42 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 785000 785 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 43 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 1525000 1525 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized gains for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value of the Available-for-sale Securities over their carrying value as of the reporting date. Such gross unrealized gains are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge. All or a portion of the unrealized holding gain of an available-for-sale security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 44 2 us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the gross unrealized losses for securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value of the Available-for-sale Securities over their fair value as of the reporting date. Such gross unrealized losses are included in other comprehensive income in the statement of shareholders' equity, unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 16 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 22 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 13, 19 false 45 2 us-gaap_MarketableSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 true true false false 2310000 2310 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 19 false 2 44 false Thousands UnKnown UnKnown false true