XML 67 R53.htm IDEA: XBRL DOCUMENT
v3.20.2

Revenue - Deferred contract costs (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2020 | Jun. 30, 2019
Deferred contract costs |  |
Amortization period of capitalized contract costs | 7 years |
Beginning Balance | $ 103,099 | $ 68,107
Capitalized Costs | 82,422 | 53,733
Amortization | (27,478) | (18,741)
Ending Balance | 158,043 | 103,099
Costs To Obtain A New Contract |  |
Deferred contract costs |  |
Beginning Balance | 82,103 | 68,107
Capitalized Costs | 53,529 | 30,994
Amortization | (22,057) | (16,998)
Ending Balance | 113,575 | 82,103
Costs to Fulfill A Contract |  |
Deferred contract costs |  |
Beginning Balance | 20,996 |
Capitalized Costs | 28,893 | 22,739
Amortization | (5,421) | (1,743)
Ending Balance | $ 44,468 | $ 20,996

X
- Definition Amount of capitalized contract costs added during the period. + References No definition available. + Details
Name: | pcty_CapitalizedContractCostAdditions
Namespace Prefix: | pcty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of amortization expense 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 http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortization period of cost capitalized in obtaining or fulfilling contract with customer, 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 340 -SubTopic 40 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=68051541&loc=SL49131251-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortizationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of 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 (a) -URI http://asc.fasb.org/extlink&oid=68051541&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_CapitalizedContractCostNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CapitalizedContractCostAxis=pcty_CostToObtainNewContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CapitalizedContractCostAxis=pcty_CostToFulfillContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |