{% extends "ui/templates/base/layout.html" %} {% block content %}

Tools ยท Accounting

Tally Connection

Read-only Phase 1 connection through the existing ERP Local Agent. Tally port 9000 is never exposed to the internet.

Test Tally Connection
{% if initialized %}
Client accounting storage was initialized successfully.
{% endif %} {% if command_error %}
{{ command_error }}
{% endif %}
ERP Local Agent
{% if agent_online %}Connected{% else %}Offline{% endif %}
{{ storage_node.node_name if storage_node else 'No active branch agent' }}
Tally Module
{% set agent = live_result.agent if live_result else None %}
{{ 'Available' if agent and agent.tally_capability else ('Check connection' if agent_online else 'Unavailable') }}
Agent {{ agent.version if agent and agent.version else '-' }}
TallyPrime
{% set tally = live_result.tally if live_result else None %}
{{ 'Connected' if tally and tally.connected else ('Not connected' if tally else 'Not checked') }}
{{ tally.url if tally and tally.url else '127.0.0.1:9000' }}
Loaded Companies
{{ tally.company_count if tally else '-' }}
Read-only discovery
{% if selected_client %}
{% endif %}

Only clients assigned to the logged-in Partner in the active branch are shown.

{% if tally %}

Loaded Tally Companies

Company name, GUID and GSTIN returned directly by the local TallyPrime instance.

{% if tally.companies %}
{% for company in tally.companies %}{% endfor %}
CompanyGUIDGSTIN
{{ company.name }}{{ company.guid or '-' }}{{ company.gstin or '-' }}
{% else %}
TallyPrime responded, but no loaded company was returned.
{% endif %}
{% endif %} {% if selected_client %} {% set accounting = live_result.accounting if live_result else None %}

Accounting Storage

{{ selected_client.client_name }}

{{ 'Initialized' if accounting and accounting.exists else 'Not initialized / not checked' }}
{% if accounting and accounting.exists %}
.act Database
{{ accounting.db_path }}
Schema Version
{{ accounting.metadata.schema_version or '1' }}
{% endif %}
{% endif %}
Phase 1 is read-only. No ledger, voucher, inventory or write-back operation is performed.
{% endblock %}