XML 79 R66.htm IDEA: XBRL DOCUMENT
v3.24.2

Funds Held for Clients and Corporate Investments (Realized Gains and Losses from Sale of Available-for-sale Securities) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
May 31, 2024 | May 31, 2023 | May 31, 2022
Funds Held for Clients and Corporate Investments [Abstract] |  |  |  |  |
Gross realized gains |  | $ 0.1 |  | $ 0.2 |
Gross realized losses | $ (2.6) | (9.9) |  | 0.0 |
Net realized (losses)/gains | $ (2.6) | $ (9.8) | [1] | $ 0.2 | [1]
[1] | The consolidated statement of cash flows for the fiscal years ended May 31, 2023 and May 31, 2022 include revisions to previously reported amounts related to the presentation of cash flows associated with short-term receivables purchased from the Company’s clients under non-recourse arrangements, net of funding reserves. See Note A for further discussion on the revision.

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 -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + 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 -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + 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 -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration