XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Long-term Debt (Details Narrative) - USD ($) |  |  | 9 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Apr. 01, 2016 | Oct. 31, 2011 | Sep. 30, 2017 | Dec. 31, 2016
Term Loan [Member] |  |  |  |  |
Debt maturity date |  |  |  | Mar. 24, 2021 | Mar. 24, 2021
Long-term debt | [1],[2],[3] |  |  | $ 4,143,000 | $ 5,030,000
Debt instrument, periodic payment, principal |  | $ 190,000 |  | 102,000 | $ 102,000
Term Loan [Member] | PNC Bank [Member] |  |  |  |  |
Number of years used to determine monthly payment on term loan |  |  | 7 years |  |
Amended Loan Agreement [Member] | Term Loan [Member] | PNC Bank [Member] | Prime Rate [Member] |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 2.50% |  |
Amended Loan Agreement [Member] | Term Loan [Member] | PNC Bank [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 3.50% |  |
Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |
Debt instrument, termination notice |  |  | 90 days |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | On or Before March 23, 2017 [Member] |  |  |  |  |
Debt instrument percentage of total financing to be paid upon early retirement of debt obligations |  |  | 1.00% |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2017 But Prior to or on March 23, 2018 [Member] |  |  |  |  |
Debt instrument percentage of total financing to be paid upon early retirement of debt obligations |  |  | 0.50% |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2018 But Prior to or on March 23, 2019 [Member] |  |  |  |  |
Debt instrument percentage of total financing to be paid upon early retirement of debt obligations |  |  | 0.25% |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | After March 23, 2019 [Member] |  |  |  |  |
Debt instrument percentage of total financing to be paid upon early retirement of debt obligations |  |  | 0.00% |  |
Revised Loan Agreement [Member] | Term Loan [Member] | PNC Bank [Member] |  |  |  |  |
Long-term debt |  |  | $ 6,100,000 |  |
Debt instrument, periodic payment, principal |  |  | $ 101,600 |  |
Amendment to the Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |
Line of credit facility reduction, additional reduction |  |  |  | 750,000 |
Revolving Credit Facility [Member] | PNC Bank [Member] |  |  |  |  |
Line of credit facility, remaining borrowing capacity |  |  |  | 4,257,000 |
Line of credit facility reduction |  |  |  | $ 2,000,000 |
Revolving Credit Facility [Member] | Amended Loan Agreement [Member] | PNC Bank [Member] |  |  |  |  |
Debt maturity date |  |  | Mar. 24, 2021 |  |
Line of credit facility, maximum borrowing capacity |  |  | $ 12,000,000 |  |
Revolving Credit Facility [Member] | Amended Loan Agreement [Member] | PNC Bank [Member] | Prime Rate [Member] |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 2.00% | 4.25% |
Revolving Credit Facility [Member] | Amended Loan Agreement [Member] | PNC Bank [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 3.00% |  |
[1] | Net of debt issuance costs of ($124,000) and ($151,000) at September 30, 2017 and December 31, 2016, respectively.
[2] | Our revolving credit facility is collateralized by our accounts receivable and our term loan is collateralized by our property and equipment.
[3] | Prior to April 1, 2016, the monthly installment payment under the term loan was approximately $190,000.

X
- Definition Upon early retirement of debt obligations, the percentage of total financing to be paid as a fee. + References No definition available. + Details
Name: | PESI_DebtInstrumentPercentageOfTotalFinacingToBePaidUponEarlyRetirementOfDebtObligations
Namespace Prefix: | PESI_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of days' prior written notice upon payment in full of outstanding obligations to terminate agreement. + References No definition available. + Details
Name: | PESI_DebtInstrumentTerminationNotice
Namespace Prefix: | PESI_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of line of credit facility reduction of borrowing availability. + References No definition available. + Details
Name: | PESI_LineOfCreditFacilityReduction
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the amount of additional borrowing reduction pursuant to an amendment of the debt agreement. + References No definition available. + Details
Name: | PESI_LineOfCreditFacilityReductionAdditionalReduction
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of years used to determine monthly payment on term loan. + References No definition available. + Details
Name: | PESI_NumberOfYearsUsedToDetermineMonthlyPaymentOnTermLoan
Namespace Prefix: | PESI_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=PESI_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=PESI_PNCBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=PESI_AmendedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=PESI_RevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=PESI_OnOrBeforeMarch232017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=PESI_AfterMarch232017ButPriorToOrOnMarch232018Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=PESI_AfterMarch232018ButPriorToOrOnMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=PESI_AfterMarch232019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=PESI_AmendmentToTheRevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |