XML 81 R67.htm IDEA: XBRL DOCUMENT
v3.23.2

Leases (Narrative) (Details) $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
Aug. 31, 2020 USD ($) | May 31, 2023 USD ($) Agreement | May 31, 2022 USD ($) | May 31, 2021 USD ($)
Lessee, Lease, Description [Line Items] |  |  |  |
Amortization of operating lease ROU assets | $ 24.4 | $ 17.6 | $ 22.7 | $ 29.2
Number of lease agreements, not yet commenced | Agreement |  | 1 |  |
Lease not yet commenced, term of contract |  | 5 years |  |
Lease payments, not yet commenced |  | $ 1.3 |  |
Minimum [Member] |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |
Operating leases, term of contract |  | 1 year |  |
Operating leases, contractual term |  | 2023 |  |
Operating leases, renewal term |  | 1 year |  |
Maximum [Member] |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |
Operating leases, term of contract |  | 10 years |  |
Operating leases, contractual term |  | 2032 |  |
Operating leases, renewal term |  | 5 years |  |

X
- Definition Lessee Operating Lease Liability Payments Not Yet Commenced + References No definition available. + Details
Name: | payx_LesseeOperatingLeaseLiabilityPaymentsNotYetCommenced
Namespace Prefix: | payx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee Operating Lease Term Expiration Year + References No definition available. + Details
Name: | payx_LesseeOperatingLeaseTermExpirationYear
Namespace Prefix: | payx_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lessee Operating Number Of Leases Not Yet Commenced + References No definition available. + Details
Name: | payx_LesseeOperatingNumberOfLeasesNotYetCommenced
Namespace Prefix: | payx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's operating lease not yet commenced, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of amortization expense for right-of-use asset from operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |