> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/product-help-and-support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/product-help-and-support/for-large-businesses/e-invoicing/tally-connector-for-e-invoicing/installation.md).

# Installation

## **Prerequisites to install Tally Connector**

Please check the following points before you start with installation of e-Invoicing Tally connector

### **System Requirements**

Following are the system requirements for Tally e-Invoicing connector to work smoothly.

1. System Configuration (Windows 7 and above)
2. Stable internet connection
3. Tally ERP9 should be running & required company should be open

### **Tally pre-install configuration checklist**

Following are the Tally related requirements for Tally e-Invoicing connector to work\
a) Admin Login for the Tally is available\
b) Take the data backup of the Tally application. You can follow these steps to take a backup - <https://help.tallysolutions.com/article/Tally.ERP9/Data_Management/backup-restore-tally.htm>.

{% hint style="info" %}
This is important to help recover your tally data, in case required
{% endhint %}

Please check if all the Mandatory fields are available in Tally. If these are not present/invalid , NIC might give errors while generating IRN

| Mandatory Fields                | Details                                                                                                                                                                                 |
| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Company info                    | <p>1) Country name<br>2) State name<br>3) Pincode<br>4) Address (Length should be less than 100 characters)<br>5) Phone number (Length should be between 6 to 12 digits)</p>            |
| Party Master                    | <p>1) Country name<br>2) Party state name<br>3) Party Pin Code<br>4) Party GSTIN<br>5) Party type (In case of SEZ/Deemed export sales)<br>6) Registration type(Regular/Composition)</p> |
| Item Master                     | <p>1) HSN number</p><p>2) GST rates (check on tax rate History)</p>                                                                                                                     |
| Income ledger without items     | <p>1) HSN number</p><p>2) GST rates</p>                                                                                                                                                 |
| Expense ledger (GST applicable) | <p>1) HSN number</p><p>2) GST rates</p>                                                                                                                                                 |
| Non GST expense ledger          | <p>1) Is GST applicable - “Not Applicable”<br>2) Include in assessable value calculation for - "Not Applicable"</p>                                                                     |
| Round Off                       | 1) Type of ledger - Invoice rounding                                                                                                                                                    |

## Guide to install Tally Connector

### **Step 1: Download setup file**

Please Download the setup file from ClearTax e-Invoicing portal [https://einv.cleartax.in](https://einv.cleartax.in/)

![](/files/-Mbd_vQx-pCnfsj1t__a)

### **Step 2:** **Get Started with installation**

Double click to run the exe file. You will see the following screen. Please follow the onscreen steps to start the installation

![](/files/-Mbd_ydSLi9vmsWEOs-i)

### **Step 3:** Select Tally version and Login

Once you click on “Get Started with Installation”, you will be asked to select your Tally version

Please click on “Tally Prime” or “Tally ERP9” as your ERP

![](/files/-Mbda1PS3cEXGkxTjYHA)

Click on “Continue” and enter your ClearTax Credentials. You can also create an account during this process

![](/files/-Mbda7-n9MgEevhYpcrT)

### **Step 4:** Continue

You might be asked to verify the ODBC port on your Tally if Tally is not running or it has ODBC port disabled. If Tally is running & ODBC port is activated, you will not see this screen. Once you’ve set the correct ODBC port, click on “Continue”

![](/files/-MbdaBQXy7MNB6hIK8S0)

If you don’t know what ODBC port is, click here to verify: <https://community.cleartax.in/t/how-to-find-your-odbc-port-for-cleartax-tally-connector/1229>

####

### **Step 5:** Paste TCP files

You will be asked to copy the TCP path from the installer.

Navigate in Tally according to the onscreen instructions

![](/files/-MbdaZkY8BBte5ncvizF)

Copy the TCP path from the onscreen instructions, paste it in Tally, and accept the changes

![](/files/-MbdamYaGl6xxnljiCx8)

### **Step 6:** Activate Company

Select the company from the dropdown and click on “Activate Company”. If the desired company is not visible, please ensure the company is open and click on Refresh button

![](/files/-MbdayusBV7YNDvB9r1e)

### **Step 7:** Login to NIC Portal

After you click on “Activate Company”, it will check whether NIC API credentials are present or not in your ClearTax account. If it is not present, it will ask you to login to NIC portal

![](/files/-MbdbEDicHWbs0A-dE5O)

### **Step 8:** Enter API Credentials and Verify

Once you have given NIC credentials, the setup can show two scenarios

* If NIC API credentials are present, you will be asked to re-enter NIC API credentials

![](/files/-MbdbREew0PGsC3bBh_J)

* If NIC API credentials are not present, you will be asked for an OTP so they can be created automatically for you

![](/files/-Mbdc-FZjVFuA0UbszaI)

{% hint style="info" %}
**What are NIC API credentials?**  This is separate username/password from your NIC login, which authorises ClearTax to communicate with NIC & send data on your behalf.
{% endhint %}

{% hint style="success" %}
E-Invoice feature will be activated in Tally in a few seconds. You will see this screen on successful completion of installation
{% endhint %}

![](/files/-MbdcNyJkPo-4eoGM9we)

{% hint style="info" %}
Go to Tally home screen and select the ClearTax module to manage and generate e-Invoices. To know how to use the feature, please read the user manual
{% endhint %}

## **Optional - Manual steps on NIC e-Invoice portal:**&#x20;

### **Add “Defmacro” as GSP**

Please click on the following link or copy/paste the URL on web browser and follow the steps

<https://docs.cleartax.in/cleartax-for-developers/e-invoicing-gsp-api/getting-started-with-einv-gsp-api/how-to-register-einv-gsp-on-irp>

## **Optional - Manually creating an account on** [**einv.cleartax.in**](http://einv.cleartax.in/)

### **Step 1:** Enter your login credentials

Enter your login credentials - please signup with your official email id and set your password

![](/files/-MbddCydvs6GiSTek9T2)

![](/files/-MZBg-VzLecmTerc_a9A)This will give you access to ClearTax web portal to complete the setup and get access to advanced features

### **Step 2:** Add Business details & NIC Credentials

Add your business details & NIC credentials - These are the API credentials that you have set while adding “Defmacro” as GSP.

Click on “Add Business” to save these details

![](/files/-MbddGC1_ePPZ6LrAP6G)

![](/files/-MbddIsbymi72mPHnu7-)

You can login into [ClearTax E-Invoicing portal](https://einv.cleartax.in/) as well to check the details

## **Feedback**

{% embed url="<https://docs.google.com/forms/d/e/1FAIpQLSdRIITthCEouHmXIUKEjmGpi_pTTRLKBfXhvu_LTubABfKBEA/viewform?usp=pp_url&entry.571883827=Installation+-Tally+connector>" %}
