4. Cash and cash equivalents:

  2019 2018

Cash and cash equivalents

$ 5,122

$ 7,100
Cash and cash equivalents $ 5,122 $ 7,100

The Commission has an agreement with a Canadian chartered bank for an operating line of credit in the amount of $6,000 (2018 - $6,000) bearing interest at prime minus 0.25%. The line of credit is unsecured.

5. Accounts receivable:

  2019 2018

Trade receivables

$ 6,913

$ 6,146
Unbilled revenue 5,085 4,669
Allowance for doubtful accounts (92) (95)
Accounts receivable $ 11,906 $ 10,720

The Commission's exposure to credit risk and impairment losses related to trade receivables is disclosed in Note 17.

6. Inventory:

Inventory consists of parts and supplies acquired for internal construction, consumption or recoverable work.

The amount of inventory consumed by the Commission and recognized as an expense during 2019 was $1,110 (2018 - $1,278).