XML 52 R43.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Line of Credit (Details Narrative) - USD ($) |  |  | 12 Months Ended |
--- | --- | --- | --- | ---
Mar. 23, 2018 | Apr. 25, 2017 | Oct. 31, 2019 | Oct. 31, 2018
Line of credit expire date |  |  | Mar. 31, 2010 |
Line of credit interest rate |  |  | 3.78% |
Line of credit maximum borrowing capacity |  |  | $ 7,167,740 |
Bank Line of Credit [Member] |  |  |  |
Line of credit, maximum principal amount |  |  | $ 7,167,740 | $ 6,260,014
Amended and Restated Loan and Security Agreement [Member] |  |  |  |
Line of credit, maximum principal amount |  | $ 12,000,000 |  |
Amended and Restated Loan and Security Agreement [Member] | Borrowers [Member] |  |  |  |
Line of credit expire date |  | Feb. 28, 2018 |  |
Line of credit, maximum principal amount |  | $ 3,000,000 |  |
Line of credit interest rate |  | 85.00% |  |
Amended and Restated Loan and Security Agreement [Member] | Borrowers [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |
Line of credit interest rate |  | 2.40% |  |
Prepayment premium percentage |  | 1.00% |  |
Maximum obligation amount |  | $ 1,000,000 |  |
Amended and Restated Loan and Security Agreement [Member] | Borrowers [Member] | Accounts Receivable [Member] |  |  |  |
Line of credit maximum borrowing capacity |  | 2,000,000 |  |
Amended and Restated Loan and Security Agreement [Member] | Borrowers [Member] | Accounts Receivable [Member] | OPTCO [Member] |  |  |  |
Line of credit maximum borrowing capacity |  | $ 1,500,000 |  |
Organic Products Trading Company [Member] |  |  |  |
Prepayment premium percentage |  | 0.50% |  |
New Loan Modification Agreement and Credit Facility [Member] |  |  |  |
Line of credit expire date | Mar. 31, 2020 |  |  |
Line of credit, maximum principal amount | $ 14,000,000 |  |  |
New Loan Modification Agreement and Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |
Line of credit interest rate | 2.00% |  |  |

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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 Reference 2: 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 3: 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(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + 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_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The effective interest rate during the reporting period. + 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_LineOfCreditFacilityInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum amount borrowed under the credit facility at any time during the period. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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
- Details
Name: | us-gaap_CreditFacilityAxis=JVA_BankLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=JVA_AmendedandRestatedLoanandSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=JVA_BorrowersMember
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_ConcentrationRiskByBenchmarkAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=JVA_OPTCOMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=JVA_OrganicProductsTradingCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=JVA_NewLoanModificationAgreementAndCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |