Tutorial 8: Connect Tally ERP to CrmLeaf HRMS
🎯 Outcome: Tally ERP sync live: payroll journals posting automatically to correct Tally ledger heads after every payroll approval
Verify Tally server accessibility
Confirm that CrmLeaf can reach your Tally server on the network.
- Open Tally ERP on the server machine
- Check that Tally is running and a company is open
- Enable ODBC server in Tally: F12 › Advanced Configuration › Enable ODBC Server: Yes
- Note the Tally server IP address (LAN IP or static external IP)
- Default port: 9000 (unless changed in Tally configuration)
- Ensure firewall allows traffic on port 9000 between CrmLeaf server and Tally machine
Configure Tally integration in CrmLeaf
Enter Tally connection details in CrmLeaf settings.
- Go to Settings › Integrations › Tally ERP
- Server IP: enter the Tally server IP address
- Port: 9000 (or custom port)
- Company name: type the exact Tally company name (case-sensitive)
- Click Test Connection
- CrmLeaf attempts to connect — should show “Connected successfully”
- Save integration settings
Map payroll components to Tally ledger heads
Create the mapping between CrmLeaf payroll components and Tally ledger heads.
- Go to Settings › Integrations › Tally › Ledger Mapping
- For each CrmLeaf component, select the matching Tally ledger:
- Salary Expense (gross) → [Your Tally salary expense ledger, e.g. “Salaries & Wages”]
- PF Employer → [“Provident Fund Expense” or “PF Contribution”]
- PF Employee deduction → [“PF Payable” under Current Liabilities]
- ESIC Employer → [“ESIC Expense”]
- ESIC Employee deduction → [“ESIC Payable”]
- TDS deduction → [“TDS Payable”]
- Net salary (Bank credit) → [“Bank Account” or “Salary Payable”]
- Save mapping
Run a test sync with sample data
Verify that the integration posts correctly to Tally before the first live payroll sync.
- Go to Settings › Integrations › Tally › Test Sync
- Click Run Test Sync — CrmLeaf posts a small test transaction
- Open Tally › Ledger Reports › check the ledgers that were mapped
- Verify test entry appears in correct ledgers
- Delete the test entry from Tally (it is clearly marked as a test)
- Return to CrmLeaf and confirm test sync passed
Configure cost centre mapping (optional)
Map CrmLeaf departments to Tally cost centres for department-level P&L.
- Go to Settings › Integrations › Tally › Cost Centres
- For each CrmLeaf department, type the matching Tally cost centre name
- E.g. Engineering → “Engineering CC”, Sales → “Sales CC”
- Save cost centre mapping
- On next sync, each employee’s salary cost will be allocated to their department’s cost centre in Tally
Approve payroll and verify live sync
Run a live payroll and verify the sync posts correctly to Tally.
- Complete a payroll run in CrmLeaf as normal (attendance lock → calculate → review → approve)
- After approval, go to Settings › Integrations › Tally › Sync Log
- Sync log should show “Sync completed successfully” with timestamp
- Open Tally › Ledger reports for the payroll month
- Verify: Salary Expense matches gross payroll total
- Verify: PF Payable, ESIC Payable, TDS Payable, PT Payable match CrmLeaf statutory liabilities
- Verify: Bank / Salary Payable credit matches net salary disbursement
Set up automatic sync for future payrolls
Confirm that Tally sync is set to run automatically after every payroll approval.
- Go to Settings › Integrations › Tally › Sync Settings
- Confirm: “Auto-sync after payroll approval: Enabled”
- Sync notification: set email address to receive sync completion confirmation
- Save settings
✓ Tutorial 8 complete!
You have completed the full tutorial series. Start from Tutorial 1 to revisit any step.
Back to Tutorial 1 →Try CrmLeaf HRMS free
15 days, no credit card. Follow this tutorial in a live account.
Start Free Trial →India + GCC payroll compliance, automated.
Flat ₹8,250/month for unlimited employees. 15-day free trial, no credit card.
