Applied optoelectronics, inc. (AAOI)
CashFlow / Yearly
Dec'19Dec'18Dec'17Dec'16Dec'15Dec'14Dec'13Dec'12Dec'11
Operating activities:
Net income (loss)

-66,049

-2,146

73,951

31,234

10,793

4,283

-1,406

-945

-5,328

Net Income (Loss) Available to Common Stockholders, Basic

-

-

-

-

-

4,283

-

-

-

Adjustments to reconcile net income to net cash provided by (used in) operating activities:
Lower of cost or market reserve adjustment to inventory

6,800

7,200

1,900

3,707

-

-

-

-

-

Lower of cost or market reserve adjustment to inventory

-

-

-

-

2,832

941

492

858

1,579

Depreciation and amortization

24,014

29,698

20,381

14,188

9,424

6,169

3,407

2,942

3,112

Amortization of debt issuance costs

892

42

81

-

-

-

-

-

-

Deferred income taxes, net

14,570

-8,964

-114

-

-

-

-

-

-

Deferred income taxes, net

-

-

-

11,426

-

-

-

-

-

Loss on disposal of assets

-13

-7

-97

-126

-

-

-

-

-

Loss (gain) on disposal of assets

-

-

-

-

-78

-12

-1

-36

-80

Share-based compensation

11,804

11,120

7,795

3,833

2,120

2,061

1,069

161

-

Unrealized foreign exchange gain

245

548

-330

937

-2,462

1,288

362

-

-

Stock-based compensation and warrant expense

-

-

-

-

-

-

-

-

563

Changes in operating assets and liabilities:
Accounts receivable, trade

4,355

-29,316

10,080

11,147

7,531

9,703

8,457

1,158

4,498

Notes receivable

-

-

-

-

-977

977

-1,036

1,034

0

Prepaid income tax

-961

-230

1,386

-

-

-

-

-

-

Inventories

-1,560

28,403

21,876

-10,207

37,502

16,105

7,520

538

1,578

Other current assets

-5,514

2,939

4,266

-4,119

2,624

745

4,622

261

-473

Operating right of use asset

847

0

0

-

-

-

-

-

-

Accounts payable

3,150

-13,714

7,249

9,105

-1,258

18,947

8,079

-961

1,534

Accrued income taxes

0

-7,390

6,204

988

220

-

-

-

-

Accrued liabilities

-308

554

4,052

3,107

4,797

2,359

1,369

542

-62

Lease liability

-896

0

0

-

-

-

-

-

-

Net cash provided by (used in) operating activities

-1,754

14,029

84,284

57,104

-15,212

8,530

-6,190

-358

-4,125

Investing activities:
Purchase of short-term investments

-

-

-

-

175

246

7,970

0

0

Maturities of short-term investments

0

36

8

7,752

-

-

-

-

-

Purchase of property, plant and equipment

28,789

71,854

66,968

49,442

57,080

41,129

9,600

-3,178

-1,790

Purchase of land use rights

0

5,591

0

-

-

-

-

-

-

Proceeds from disposal of equipment

1

697

171

14

351

47

0

138

387

Deposits and prepaid for equipment

2,688

-674

2,871

-688

-

-

-

-

-

Deposits and prepaid for equipment

-

-

-

-

4,238

720

43

41

1

Purchase of intangible assets

640

476

499

547

478

3,340

123

209

167

Net cash used in investing activities

-32,116

-76,514

-70,159

-41,535

-61,620

-45,388

-17,736

-3,290

-1,571

Financing activities:
Proceeds from issuance of notes payable and long-term debt, net of debt issuance costs

13,661

47,849

0

-

-

-

-

-

-

Principal payments of long-term debt and notes payable

43,363

3,133

42,758

-

-

-

-

-

-

Proceeds from issuance of notes payable and long-term debt, net of debt issuance costs

-

-

-

28,858

-

-

-

-

-

Proceeds from issuance of notes payable and long-term debt, net of debt issuance costs

-

-

-

-

16,944

8,150

2,851

845

0

Principal payments of long-term debt and notes payable

-

-

-

5,855

2,413

8,076

285

707

245

Proceeds from line of credit borrowings

83,434

155,078

88,003

117,172

144,386

53,658

23,192

15,560

16,098

Repayments of line of credit borrowings

88,299

165,569

39,003

163,068

121,386

50,733

23,008

13,692

15,200

Proceeds from bank acceptance payable

13,638

4,595

0

5,850

8,257

5,925

6,778

3,746

662

Repayments of bank acceptance payable

11,952

0

309

8,398

6,361

6,986

6,026

2,894

0

Proceeds from issuance of convertible senior notes, net of debt issuance costs

76,362

0

0

-

-

-

-

-

-

Principal payments of financing lease

2

-

-

-

-

-

-

-

-

Repayments of note payable

-

-

-

1,000

1,000

1,000

0

0

-

Repayments of notes payable

-

-

-

-

-

-

-

150

1,200

Decrease (increase) in restricted cash

-

-

-

-

-

-266

249

193

155

Exercise of stock options

14

120

1,460

859

452

365

173

5

16

Payments of tax withholding on behalf of employees related to share-based compensation

897

4,137

10,721

-

-

-

-

-

-

Exercise of warrants

-

-

-

-

-

-

494

0

0

Proceeds from common stock offering, net

0

0

21,572

27,237

38,648

45,681

31,448

0

-

Other

-

-

-

-

6

-

0

-

-

Common stock issued for consultant services

-

-

-

-

-

-

-

-

-1

Proceeds from initial public offering, net

-

-

-

-

-

-

-

-

0

Issuance of preferred stock, net

-

-

-

-

-

-

-

10,234

2,859

Net cash provided by financing activities

42,596

34,803

18,244

1,655

77,533

47,250

35,368

12,754

2,836

Effect of exchange rate changes on cash

298

1,738

-385

-

-

-

-

-

-

Effect of exchange rate changes on cash

-

-

-

1,947

-592

-223

-159

-150

136

Net increase (decrease) in cash, cash equivalents and restricted cash

9,024

-25,944

31,984

19,171

109

-

-

-

-

Net increase in cash

-

-

-

-

-

10,169

11,283

8,956

-2,724

Supplemental disclosure of cash flow information:
Interest, net of amounts capitalized

3,172

848

872

1,689

1,070

329

1,133

1,469

1,392

Income taxes

-890

8,470

5,835

-12

650

148

1

0

1

Non-cash investing and financing activities:
Net change in accounts payable related to property and equipment additions

-3,869

-1,151

4,582

-

-

-

-

-

-

Net change in deposits and prepaid for equipment related to property and equipment additions

8,801

0

0

-

-

-

-

-

-

Purchase of intangible assets with notes payable

-

-

-

-

-

3,000

0

0

-

Conversion of shareholders' loan to preferred stock

-

-

-

-

-

-

-

760

1,100