XML 101 R40.htm IDEA: XBRL DOCUMENT
v3.19.3

Summary of significant accounting policies - Accounts receivable and Other receivables (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Jun. 30, 2019 | Jun. 30, 2018
Accounts receivable and Other receivables |  |
Allowance for the doubtful accounts | $ 48,203 | $ 49,981
Financing receivables 180 to 270 days past due |  |
Accounts receivable and Other receivables |  |
Allowance for doubtful accounts (in percent) | 25.00% |
Financing receivables 271 days to one year past due |  |
Accounts receivable and Other receivables |  |
Allowance for doubtful accounts (in percent) | 50.00% |
Financing receivables beyond one year past due |  |
Accounts receivable and Other receivables |  |
Allowance for doubtful accounts (in percent) | 100.00% |

X
- Definition Ratio of the allowance for doubtful accounts to accounts receivable, expressed as a percentage. + References No definition available. + Details
Name: | plin_Allowancefordoubtfulaccountsreceivable
Namespace Prefix: | plin_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=118936363&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=plin_FinancingReceivables180To270DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=plin_FinancingReceivables271DaysToOneYearPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=plin_FinancingReceivablesBeyondOneYearPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |