XML 60 R49.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Long-term Debt (Details Narrative) - USD ($) |  | 6 Months Ended |
--- | --- | --- | ---
Oct. 31, 2011 | Jun. 30, 2018 | Dec. 31, 2017
Letters of credit outstanding, amount |  |  | $ 2,660,000 |
Term Loan [Member] |  |  |  |
Long-term debt | [1],[2] |  | 3,255,000 | $ 3,847,000
PNC Bank [Member] | Term Loan [Member] |  |  |  |
Number of years used to determine monthly payment on term loan |  | 7 years |  |
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] | PNC Bank [Member] | Term Loan [Member] |  |  |  |
Long-term debt |  | $ 6,100,000 |  |
Debt instrument, periodic payment, principal |  | $ 101,600 |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | Prime Rate [Member] |  |  |  |
Debt instrument, basis spread on variable rate |  | 2.50% |  |
Revised Loan Agreement [Member] | PNC Bank [Member] | Term Loan [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |
Debt instrument, basis spread on variable rate |  | 3.50% |  |
Amendment to the Revised Loan Agreement [Member] | PNC Bank [Member] |  |  |  |
Indefinite reduction of borrowing availability |  |  | 2,000,000 |
Amendment to the Revised Loan Agreement [Member] | PNC Bank [Member] | July 26, 2018 [Member] |  |  |  |
Line of credit facility, borrowing restriction released |  |  | 1,000,000 |
Indefinite reduction of borrowing availability |  |  | 2,000,000 |
Revolving Credit Facility [Member] | PNC Bank [Member] |  |  |  |
Line of credit facility, remaining borrowing capacity |  |  | 3,051,000 |
Letters of credit outstanding, amount |  |  | $ 2,660,000 |
Revolving Credit Facility [Member] | Revised 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] | Revised Loan Agreement [Member] | PNC Bank [Member] | Prime Rate [Member] |  |  |  |
Debt instrument, basis spread on variable rate |  | 2.00% | 5.00% |
Revolving Credit Facility [Member] | Revised 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 ($97,000) and ($115,000) at June 30, 2018 and December 31, 2017, respectively.
[2] | Our revolving credit facility is collateralized by our accounts receivable and our term loan is collateralized by our property, plant, and equipment.

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 Indefinite reduction of borrowing availability. + References No definition available. + Details
Name: | PESI_IndefiniteReductionOfBorrowingAvailability
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Borrowing availability restriction previously imposed by lender which was released by lender.. + References No definition available. + Details
Name: | PESI_LineOfCreditFacilityBorrowingRestrictionReleased
Namespace Prefix: | PESI_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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/disclosureRef -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 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19207-110258 + 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://fasb.org/us-gaap/role/ref/legacyRef -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 The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://fasb.org/us-gaap/role/ref/legacyRef -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://fasb.org/us-gaap/role/ref/legacyRef -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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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 3: http://fasb.org/us-gaap/role/ref/legacyRef -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 4: http://fasb.org/us-gaap/role/ref/legacyRef -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_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_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_AmendmentToTheRevisedLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=PESI_JulyTwentySixTwoThousandAndEighteenMember
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: |