XML 68 R55.htm IDEA: XBRL DOCUMENT
v3.7.0.1

H. NOTES PAYABLE AND LONG-TERM DEBT - NARRATIVE 2 (Details) $ in Thousands |  |  |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | ---
Jun. 25, 2016 | Jun. 24, 2016 | Feb. 19, 2016 USD ($) | Jun. 30, 2015 | Dec. 31, 2016 TWD | Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($) | Dec. 31, 2014 USD ($) | Dec. 31, 2016 USD ($)
Repayments of outstanding balance |  |  |  |  |  | $ 163,068 | $ 121,386 | $ 50,733 |
Interest rate on line of credit description |  |  |  |  | not less than the LIBOR borrowing rate plus 1.0%, divided by 0.946 for U.S | not less than the LIBOR borrowing rate plus 1.0%, divided by 0.946 for U.S |  |  |
Bank acceptance notes outstanding |  |  |  |  |  |  | 2,998 |  | $ 307
Unused borrowing capacity |  |  |  |  |  |  | 37,700 |  | 75,800
Restricted cash, investments or security deposit associated with loan facilities |  |  |  |  |  |  | $ 12,600 |  | 1,700
Construction Loan 1 |  |  |  |  |  |  |  |  |
Interest rate on line of credit description |  |  |  |  | LIBOR Borrowing Rate plus 2.0% | LIBOR Borrowing Rate plus 2.0% |  |  |
London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.77167% | 0.77167% | 0.4295% |  |
Letter of Credit [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,000
TAIWAN, PROVINCE OF CHINA | Minimum |  |  |  |  |  |  |  |  |
Maturity dates |  |  |  |  | 6 months | 6 months |  |  |
TAIWAN, PROVINCE OF CHINA | Maximum |  |  |  |  |  |  |  |  |
Maturity dates |  |  |  |  | 12 months | 12 months |  |  |
Comprehensive Credit Line Agreement [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,000
Revolving line of credit, maturity date |  |  |  |  | Mar. 15, 2017 | Mar. 15, 2017 |  |  |
Debt maturity date |  |  |  |  | Mar. 15, 2017 | Mar. 15, 2017 |  |  |
Note payable |  |  |  |  |  |  |  |  | 0
Revolving line of credit, maturity date |  |  |  |  | Apr. 22, 2016 | Apr. 22, 2016 |  |  |
East West Bank and Comerica Bank [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,000
Interest rate on line of credit description |  |  |  |  | LIBOR Borrowing Rate plus 2.0% | LIBOR Borrowing Rate plus 2.0% |  |  |
Interest rate description | LIBOR | LIBOR |  |  |  |  |  |  |
Basis spread on variable rate | 31.00% |  |  |  |  |  |  |  |
Term of revolving credit facility |  | 5 years |  |  |  |  |  |  |
East West Bank and Comerica Bank [Member] | Minimum |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 2.75% |  |  |  |  |  |  |
East West Bank and Comerica Bank [Member] | Maximum |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 3.00% |  |  |  |  |  |  |
East West Bank and Comerica Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,000
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 9,500
Revolving line of credit, maturity date |  |  |  |  | Jun. 30, 2020 | Jun. 30, 2020 |  |  |
Debt maturity date |  |  |  |  | Jun. 30, 2020 | Jun. 30, 2020 |  |  |
East West Bank and Comerica Bank [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 25,000
Interest rate on line of credit description |  |  |  |  | LIBOR Borrowing Rate plus 2.75% or 3.0% | LIBOR Borrowing Rate plus 2.75% or 3.0% |  |  |
East West Bank [Member] | Construction Loan 1 |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 22,000
Revolving line of credit, maturity date |  |  |  |  | Sep. 27, 2016 | Sep. 27, 2016 |  |  |
Interest rate on line of credit description |  |  |  |  | LIBOR Borrowing Rate plus 2.75% | LIBOR Borrowing Rate plus 2.75% |  |  |
Debt maturity date |  |  |  |  | Sep. 27, 2016 | Sep. 27, 2016 |  |  |
East West Bank [Member] | Term Loan [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 5,000
Deposit for owners contribution |  |  |  |  |  |  |  |  | 11,000
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 2,900
CTBC Bank Co. Ltd. [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  | $ 4,000 |  |  |  |  |  | 10,300
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 6,300
Revolving line of credit, maturity date |  |  |  |  | Feb. 19, 2016 | Feb. 19, 2016 |  |  |
Interest rate on line of credit description |  |  | bank's corporate interest rate index plus 0.93% for the secured portion of the credit facility, adjusted monthly. As of the execution of the credit facility, the bank's corporate interest rate index is 0.71% |  | Bank's corporate interest rate plus 1.5% for unsecured facility and plus 0.93% for secured facility, adjusted monthly, as of execution bank corporate interest rate is 0.71% | Bank's corporate interest rate plus 1.5% for unsecured facility and plus 0.93% for secured facility, adjusted monthly, as of execution bank corporate interest rate is 0.71% |  |  |
Debt maturity date |  |  |  |  | Feb. 19, 2016 | Feb. 19, 2016 |  |  |
Note payable |  |  |  |  |  |  |  |  | 0
CTBC Bank Co. Ltd. [Member] | Taiwan, New Dollars |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity | TWD |  |  |  |  | TWD 320,000,000 |  |  |  |
E. Sun Commercial Bank [Member] | Credit Agreement [Member] |  |  |  |  |  |  |  |  |
Interest rate on line of credit description |  |  |  |  | LIBOR plus 1.7% divided by 0.946 | LIBOR plus 1.7% divided by 0.946 |  |  |
E. Sun Commercial Bank [Member] | First Credit Facility [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 2,600
Revolving line of credit, maturity date |  |  |  |  | Apr. 08, 2016 | Apr. 08, 2016 |  |  |
Debt maturity date |  |  |  |  | Apr. 08, 2016 | Apr. 08, 2016 |  |  |
E. Sun Commercial Bank [Member] | First Credit Facility [Member] | Taiwan, New Dollars |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity | TWD |  |  |  |  | TWD 90,000,000 |  |  |  |
E. Sun Commercial Bank [Member] | Second Credit Facility [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 4,000
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 0
Interest rate on line of credit description |  |  |  |  | bank's personal monthly time deposit interest rate plus 0.480% | bank's personal monthly time deposit interest rate plus 0.480% |  |  |
E. Sun Commercial Bank [Member] | Second Credit Facility [Member] | Taiwan, New Dollars |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity | TWD |  |  |  |  | TWD 120,000,000 |  |  |  |
Mega International Commercial Bank [Member] | First Credit Facility [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 4,000
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 0
Revolving line of credit, maturity date |  |  |  |  | Dec. 22, 2015 | Dec. 22, 2015 |  |  |
Interest rate on line of credit description |  |  |  |  | not less than the LIBOR borrowing rate plus 1.0%, divided by 0.946 for U.S. and other currency borrowings | not less than the LIBOR borrowing rate plus 1.0%, divided by 0.946 for U.S. and other currency borrowings |  |  |
Debt maturity date |  |  |  |  | Dec. 22, 2015 | Dec. 22, 2015 |  |  |
Mega International Commercial Bank [Member] | Second Credit Facility [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 2,000
Revolving line of credit amount outstanding |  |  |  |  |  |  |  |  | 2,000
Interest rate on line of credit description |  |  |  |  | not less than the LIBOR borrowing rate plus 1.2%, divided by 0.946 for U.S. dollar borrowings | not less than the LIBOR borrowing rate plus 1.2%, divided by 0.946 for U.S. dollar borrowings |  |  |
Mega International Commercial Bank [Member] | Second Credit Facility [Member] | Base Rate |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.76% | 0.76% |  |  |
Base lending rate plus |  |  |  |  | 1.0 | 1.0 |  |  |
Mega International Commercial Bank [Member] | Second Credit Facility [Member] | Base Rate | Minimum |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.90% | 1.90% |  |  |
China Construction Bank |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 13,200
Revolving line of credit, maturity date |  |  |  |  | Dec. 31, 2016 | Dec. 31, 2016 |  |  |
Debt maturity date |  |  |  |  | Dec. 31, 2016 | Dec. 31, 2016 |  |  |
Note payable |  |  |  |  |  |  |  |  | $ 0
Effective interest rate |  |  |  |  | 0.00% |  |  |  | 0.00%
Bank acceptance notes outstanding |  |  |  |  |  |  |  |  | $ 300
Chailease Finance Co. Ltd. [Member] | Finance Lease [Member] |  |  |  |  |  |  |  |  |
Note payable |  |  |  |  |  |  |  |  | 2,900
Chailease Finance Co. Ltd. [Member] | Finance Lease 1 [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit, maturity date |  |  |  |  | Jun. 30, 2015 | Jun. 30, 2015 |  |  |
Debt maturity date |  |  |  |  | Jun. 30, 2015 | Jun. 30, 2015 |  |  |
Revolving line of credit, maturity date |  |  |  |  | Jun. 30, 2018 | Jun. 30, 2018 |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 1 [Member] | Purchase and Sale Contract and a Finance Lease Agreement |  |  |  |  |  |  |  |  |
Note payable |  |  |  |  |  |  |  |  | 3,700
Lease purchase price | TWD |  |  |  |  | TWD 115,240,903 |  |  |  |
Intial payment amount |  |  |  |  | 40,240,903 | $ 1,300 |  |  |
Financial lease term |  |  |  | 3 years |  |  |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 1 [Member] | Purchase and Sale Contract and a Finance Lease Agreement | Minimum |  |  |  |  |  |  |  |  |
Lease payment range price |  |  |  |  | 2,088,804 | 100 |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 1 [Member] | Purchase and Sale Contract and a Finance Lease Agreement | Maximum |  |  |  |  |  |  |  |  |
Lease payment range price |  |  |  |  | TWD 2,364,650 | $ 100 |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 2 [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit, maturity date |  |  |  |  | Mar. 31, 2016 | Mar. 31, 2016 |  |  |
Debt maturity date |  |  |  |  | Mar. 31, 2016 | Mar. 31, 2016 |  |  |
Note payable |  |  |  |  |  |  |  |  | 5,800
Lease purchase price |  |  |  |  | TWD 312,927,180 | $ 10,100 |  |  |
Financial lease term |  |  |  |  | 3 years | 3 years |  |  |
Financial lease Interest rate |  |  |  |  | 4.00% | 4.00% |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 2 [Member] | Minimum |  |  |  |  |  |  |  |  |
Intial payment amount |  |  |  |  | TWD 6,772,500 | $ 200 |  |  |
Lease payment range price | TWD |  |  |  |  | 62,927,180 |  |  |  |
Chailease Finance Co. Ltd. [Member] | Finance Lease 2 [Member] | Maximum |  |  |  |  |  |  |  |  |
Intial payment amount |  |  |  |  | TWD 7,788,333 | 300 |  |  |
Lease payment range price |  |  |  |  |  | $ 2,000 |  |  |
Revolving Line of Credit | Revolving Line of Credit 2 |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,333
Revolving line of credit, maturity date |  |  |  |  | Nov. 30, 2016 | Nov. 30, 2016 |  |  |
Debt maturity date |  |  |  |  | Nov. 30, 2016 | Nov. 30, 2016 |  |  |
Revolving Line of Credit | Revolving Line of Credit 2 | Corporate Interest Rate Index [Member] | Minimum |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.50% | 1.50% |  |  |
Revolving Line of Credit | Revolving Line of Credit 3 |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 6,600
Revolving line of credit, maturity date |  |  |  |  | Feb. 06, 2017 | Feb. 06, 2017 |  |  |
Debt maturity date |  |  |  |  | Feb. 06, 2017 | Feb. 06, 2017 |  |  |
Revolving Line of Credit | Revolving Line of Credit 3 | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.70% | 1.70% |  |  |
Revolving Line of Credit | Revolving Line of Credit 3 | Taiwan Deposit Index [Member] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.41% | 0.41% |  |  |
Revolving Line of Credit | Revolving Line of Credit 4 |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 6,000
Revolving line of credit, maturity date |  |  |  |  | Nov. 27, 2016 | Nov. 27, 2016 |  |  |
Debt maturity date |  |  |  |  | Nov. 27, 2016 | Nov. 27, 2016 |  |  |
Revolving Line of Credit | Revolving Line of Credit 5 |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | 10,000
Revolving line of credit, maturity date |  |  |  |  | Mar. 15, 2017 | Mar. 15, 2017 |  |  |
Debt maturity date |  |  |  |  | Mar. 15, 2017 | Mar. 15, 2017 |  |  |
Revolving Line of Credit | Revolving Line of Credit 5 | London Interbank Offered Rate (LIBOR) [Member] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 1.50% | 1.50% |  |  |
Revolving Line of Credit | Revolving Line of Credit 5 | Taiwan Interbank Offered Rate [Member] |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  |  | 0.90% | 0.90% |  |  |
Revolving Line of Credit | East West Bank and Comerica Bank [Member] |  |  |  |  |  |  |  |  |
Revolving line of credit maximum borrowing capacity |  |  |  |  |  |  |  |  | $ 40,000
Revolving line of credit, maturity date |  |  |  |  | Jun. 24, 2016 | Jun. 24, 2016 |  |  |
Debt maturity date |  |  |  |  | Jun. 24, 2016 | Jun. 24, 2016 |  |  |
Revolving line of credit, maturity date |  |  |  |  | Jun. 30, 2018 | Jun. 30, 2018 |  |  |

X
- Definition Represents the spread on variable rate for other currency borrowing. + References No definition available. + Details
Name: | aaoi_DebtInstrumentOtherCurrencyBorrowingSpreadOnVariableRate
Namespace Prefix: | aaoi_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the term of finance lease. + References No definition available. + Details
Name: | aaoi_FinanceLeaseTermOfContract
Namespace Prefix: | aaoi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the term of the investmentnvestment. + References No definition available. + Details
Name: | aaoi_InvestmentMaturityDate
Namespace Prefix: | aaoi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of initial payment made on sale and lease back transaction. + References No definition available. + Details
Name: | aaoi_SaleLeasebackTransactionInitialPaymentMade
Namespace Prefix: | aaoi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of drafts and bills of exchange that have been accepted by the reporting bank, or by others for its own account, as its liability to holders of the drafts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.14) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_BankAcceptancesExecutedAndOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of cash collateral held for borrowed securities, for which the cash is restricted as to withdrawal or usage. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.1) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.(a),2) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_CashCollateralForBorrowedSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References 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.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References 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.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date. + References 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.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of money in accounts that may bear interest and that the depositor is entitled to withdraw at any time without prior notice. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DemandDepositAccounts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://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(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -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 + 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://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.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 Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + References 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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://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.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
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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://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(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3291-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_RepaymentsOfLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The financing cost related to leases that have been recorded under the deposit method, as a financing or as a capital leases in connection with the transaction involving the sale of property to another party and the lease of the property back to the seller. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Imputed Interest Rate -URI http://asc.fasb.org/extlink&oid=6515215 + Details
Name: | us-gaap_SaleLeasebackTransactionImputedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the monthly rental payments due under the lease entered into in connection with the transactions involving the sale of property to another party and the lease of the property back to the seller. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6456341&loc=d3e50796-112755 + Details
Name: | us-gaap_SaleLeasebackTransactionMonthlyRentalPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow after closing and debt issuance costs received by a seller-lessee in a sale-leaseback recognized in investing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=28365400&loc=d3e51843-112757 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 50 -URI http://asc.fasb.org/extlink&oid=28365400&loc=d3e51831-112757 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 40 -Section 55 -Paragraph 51 -URI http://asc.fasb.org/extlink&oid=28365400&loc=d3e51840-112757 + Details
Name: | us-gaap_SaleLeasebackTransactionNetProceedsInvestingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_ConstructionLoan1Member
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_ShortTermDebtTypeAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementGeographicalAxis=country_TW
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_ComprehensiveCreditLineAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_EastWestAndComericaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=aaoi_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_CreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_EastWestBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_CTBCBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=currency_TWD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_SunCommercialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_FirstCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_SecondCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_MegaInternationalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_ChinaConstructionBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CounterpartyNameAxis=aaoi_ChaileaseFinanceCoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_FinanceLeaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_FinanceLease1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LeaseArrangementTypeAxis=aaoi_PurchaseAndSaleContractAndFinanceLeaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=aaoi_FinanceLease2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_Revolving2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=aaoi_CorporateInterestRateIndexMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_Revolving3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=aaoi_TaiwanDepositIndexMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_Revolving4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=aaoi_Revolving5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=aaoi_TaiwanInterbankOfferedRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |