XML 23 R76.htm IDEA: XBRL DOCUMENT
v3.20.1

INCOME TAXES. (Details 5) | 12 Months Ended
--- | ---
Dec. 31, 2018
Federal [Member] |
Tax Years still open to audit | 2016 – 2018
Arizona [Member] |
Tax Years still open to audit | 2015 – 2018
California [Member] |
Tax Years still open to audit | 2015 – 2018
Colorado [Member] |
Tax Years still open to audit | 2014 – 2018
Idaho [Member] |
Tax Years still open to audit | 2016 – 2018
Illinois [Member] |
Tax Years still open to audit | 2016 – 2018
Indiana [Member] |
Tax Years still open to audit | 2016 – 2018
Iowa [Member] |
Tax Years still open to audit | 2016 – 2018
Kansas [Member] |
Tax Years still open to audit | 2016 – 2018
Minnesota [Member] |
Tax Years still open to audit | 2016 – 2018
Missouri [Member] |
Tax Years still open to audit | 2016 – 2018
Nebraska [Member] |
Tax Years still open to audit | 2016 – 2018
Oklahoma [Member] |
Tax Years still open to audit | 2016 – 2018
Oregon [Member] |
Tax Years still open to audit | 2016 – 2018
Texas [Member] |
Tax Years still open to audit | 2015 – 2018

X
- Definition Tax Years still open to audit + References No definition available. + Details
Name: | peix_TaxYearsStillOpenToAudit
Namespace Prefix: | peix_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_USTreasuryAndGovernmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_ArizonaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_CaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_ColoradoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_IdahoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_IllinoisMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_IndianaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_IowaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_KansasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_MinnesotaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_MissouriMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_NebraskaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_OklahomaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_OregonMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=peix_TexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |