XML 38 R26.htm IDEA: XBRL DOCUMENT
v3.23.3

Service Revenue (Narrative) (Details) - USD ($) | 3 Months Ended
--- | ---
Aug. 31, 2023 | Aug. 31, 2022
Service Revenue [Line Items] |  |
Notice of termination period | 30 days |
Revenue performance obligations timing | the Company defers revenue associated with these performance obligations, which exceed one year, and subsequently recognizes them as future services are provided, over approximately three to four years. |
Impairment loss | $ 0 | $ 0
Revenue performance obligations | $ 67,000,000 |
Minimum [Member] |  |
Service Revenue [Line Items] |  |
Revenue performance obligations timing, years | 3 years |
Maximum [Member] |  |
Service Revenue [Line Items] |  |
Revenue performance obligations timing, years | 4 years |

X
- Definition Customer Contract Termination Notice Days + References No definition available. + Details
Name: | payx_CustomerContractTerminationNoticeDays
Namespace Prefix: | payx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue Performance Obligations Timing Years + References No definition available. + Details
Name: | payx_RevenuePerformanceObligationsTimingYears
Namespace Prefix: | payx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Service Revenue [Line Items] + References No definition available. + Details
Name: | payx_ServiceRevenueLineItems
Namespace Prefix: | payx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of impairment loss for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 340 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479483/340-40-50-3 + Details
Name: | us-gaap_CapitalizedContractCostImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Description of timing for satisfying performance obligation in contract with customer. Includes, but is not limited to, as services are rendered, and upon shipment, delivery or completion of service. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-12 + Details
Name: | us-gaap_RevenuePerformanceObligationDescriptionOfTiming
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -SubTopic 10 -Topic 606 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479806/606-10-50-13 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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: |