XML 145 R83.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

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

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