XML 47 R35.htm IDEA: XBRL DOCUMENT
v3.22.4

Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Nov. 30, 2022 | Nov. 30, 2021 | Nov. 30, 2022 | Nov. 30, 2021
Funds Held for Clients and Corporate Investments [Abstract] |  |  |  |
Gross realized gains | $ 0.0 | $ 0.0 | $ 0.1 | $ 0.1
Gross realized losses | (0.0) | (0.0) | (0.0) | (0.0)
Net realized gains | $ (0.0) | $ 0.0 | $ 0.1 | $ 0.1

X
- Definition Funds held for clients and corporate investments. + References No definition available. + Details
Name: | payx_FundsHeldForClientsAndCorporateInvestmentsAbstract
Namespace Prefix: | payx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration