XML 28 R30.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Revenue - Deferred contract costs (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2019 | Dec. 31, 2018
Deferred contract costs |  |  |  |
Amortization period of capitalized contract costs | 7 years |  | 7 years |
Beginning Balance | $ 113,086 | $ 75,276 | $ 103,099 | $ 68,107
Capitalized Costs | 18,900 | 11,411 | 34,751 | 22,596
Amortization | (6,453) | (4,424) | (12,317) | (8,440)
Ending Balance | 125,533 | 82,263 | 125,533 | 82,263
Costs To Obtain A New Contract |  |  |  |
Deferred contract costs |  |  |  |
Beginning Balance | 86,688 | 69,933 | 82,103 | 68,107
Capitalized Costs | 11,401 | 5,635 | 20,886 | 11,346
Amortization | (5,241) | (4,092) | (10,141) | (7,977)
Ending Balance | 92,848 | 71,476 | 92,848 | 71,476
Costs to Fulfill A Contract |  |  |  |
Deferred contract costs |  |  |  |
Beginning Balance | 26,398 | 5,343 | 20,996 |
Capitalized Costs | 7,499 | 5,776 | 13,865 | 11,250
Amortization | (1,212) | (332) | (2,176) | (463)
Ending Balance | $ 32,685 | $ 10,787 | $ 32,685 | $ 10,787

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