> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lancer-erp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# iCount

> Issue the organization's receipts, tax invoices, tax invoice-receipts and credit notes from iCount instead of Tranzila, and import documents you already issued there.

Issue the organization's receipts, tax invoices, tax invoice-receipts and credit notes from iCount instead of Tranzila, and import documents you already issued there.

> [!NOTE]
>
> **Category:** Documents and invoices ("מסמכים וחשבוניות")\
> **Connection:** one for the whole organization, admins only

## What it does in Lancer

* When iCount is the documents default, receipts, tax invoice-receipts, tax invoices and credit notes are issued in iCount; the PDF is saved in Lancer. Proformas ("חשבון עסקה") still come from Lancer.
* **Import existing documents**: documents issued in iCount are matched to clients (by tax id, email or name; a missing client is created), payments and payment requests. A nightly job imports the previous day's documents.
* **Allocation numbers via iCount** ("מספרי הקצאה דרך הספק"): when your Tax Authority account is connected at iCount, it requests the allocation number while issuing. Off: Lancer requests it from [SHAAM](https://docs.lancer-erp.com/integrations/shaam.md) and sends it with the document.

## Connect

**1. Open the integration**

Open Settings → **Integrations** ("הגדרות" → "אינטגרציות"), at [app.lancer-erp.com/app/settings/integrations](https://app.lancer-erp.com/app/settings/integrations). Under **Documents and invoices** ("מסמכים וחשבוניות"), find **iCount** and click **Connect** ("חיבור").

**2. Get your credentials**

Create an API user in iCount: Settings → Automation → API ("הגדרות ← אוטומציה ← API").

**3. Fill in the card and save**

Enter the details below and click **Save** ("שמירה"). Secrets are stored encrypted and never shown again; leave a secret field empty later to keep the stored value.

**4. Next**

In the Documents category, click **Set as default** ("הגדרה כברירת מחדל") if you have more than one documents provider connected.

**5. Finish**

Optional: run **Import** ("ייבוא") for a date range to bring in documents you issued before.

> [!NOTE]
>
> Only admins can view and change this connection.

## What you need

**Company ID (cid)** `string`

Your iCount company id. In the app: "מזהה חברה (cid)".

**API username** `string`

A dedicated API user. In the app: "שם משתמש API".

**Password** `string`

That user's password. Stored encrypted. In the app: "סיסמה".

## Vendor documentation

> [card] [iCount documentation](https://apiv3.icount.co.il/)
>
> The official docs, at apiv3.icount.co.il.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.