XML 56 R42.htm IDEA: XBRL DOCUMENT
v3.23.2

Service Revenue (Narrative) (Details) - USD ($) | 12 Months Ended
--- | ---
May 31, 2023 | May 31, 2022 | May 31, 2021
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 years to four years. |  |
Impairment loss | $ 0 | $ 0 | $ 0
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 -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126905575&loc=SL49131252-203054 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045 + Details
Name: | us-gaap_RevenuePerformanceObligationDescriptionOfTiming
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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: |