2.4.0.80030 - Disclosure - 6. Accounts Receivables (Tables)truefalsefalse1falsefalsefalseFrom2013-01-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:001true1us-gaap_ReceivablesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false2us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlockus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 8pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: bold 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td colspan="3" style="font: bold 8pt Times New Roman, Times, Serif; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif">June 30,</font></td><td style="font: bold 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td colspan="3" style="font: bold 8pt Times New Roman, Times, Serif; text-align: center"><font style="font: 8pt Times New Roman, Times, Serif">December 31,</font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: bold 8pt Times New Roman, Times, Serif; padding-bottom: 1pt"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td colspan="3" style="font: bold 8pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1pt solid"><font style="font: 8pt Times New Roman, Times, Serif">2013</font></td><td style="font: bold 8pt Times New Roman, Times, Serif; padding-bottom: 1pt"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td colspan="3" style="font: bold 8pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1pt solid"><font style="font: 8pt Times New Roman, Times, Serif">2012</font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="width: 56%; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Trade
accounts receivable</font></td><td style="width: 8%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="width: 1%; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td><td style="width: 12%; text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">25,738,081</font></td><td style="width: 1%; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="width: 8%; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="width: 1%; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td><td style="width: 12%; text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">35,723,488</font></td><td style="width: 1%; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="text-align: left; padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Less
allowance for prompt pay discounts</font></td><td style="padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">(542,559</font></td><td style="padding-bottom: 1pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">)</font></td><td style="padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">(727,714</font></td><td style="padding-bottom: 1pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">)</font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Total
trade receivables</font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">25,195,522</font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">34,995,774</font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Receivables
from third parties – revenue sharing arrangements</font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">1,978,270</font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="text-align: right; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">1,690,544</font></td><td style="text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="text-align: left; padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">Less
allowance for doubtful accounts</font></td><td style="padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">(484,031</font></td><td style="padding-bottom: 1pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">)</font></td><td style="padding-bottom: 1pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="border-bottom: Black 1pt solid; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">(39,231</font></td><td style="padding-bottom: 1pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">)</font></td></tr>
<tr style="vertical-align: bottom; font: 8pt Times New Roman, Times, Serif">
<td style="text-align: left; padding-bottom: 2.5pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif">   Total
account receivables</font></td><td style="padding-bottom: 2.5pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 2.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td><td style="border-bottom: Black 2.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">26,689,761</font></td><td style="padding-bottom: 2.5pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td><td style="padding-bottom: 2.5pt; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td>
<td style="border-bottom: Black 2.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: left"><font style="font: 8pt Times New Roman, Times, Serif">$</font></td><td style="border-bottom: Black 2.5pt double; font: 8pt Times New Roman, Times, Serif; text-align: right"><font style="font: 8pt Times New Roman, Times, Serif">36,647,087</font></td><td style="padding-bottom: 2.5pt; text-align: left; font: 8pt Times New Roman, Times, Serif"><font style="font: 8pt Times New Roman, Times, Serif"> </font></td></tr>
</table>falsefalsefalsenonnum:textBlockItemTypenaTabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.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.3,4)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 3, 4
-Article 5
false0false6. Accounts Receivables (Tables)UnKnownUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/AccountsReceivablesTables12