# saivineeth100/tallyodbcplus architecture

> Architecture diagram of the GitHub repository saivineeth100/tallyodbcplus, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/saivineeth100/tallyodbcplus
- Repository: https://github.com/saivineeth100/tallyodbcplus

## Overview

Tally ODBC Plus extends Tally’s ODBC tables with multi-company data, custom-period extraction, foreign keys, and voucher child tables. The documented workflow is Tally data exposed through the added tables for ODBC-based reporting. The repository also contains a Power BI semantic model and report, but no excerpts establish how they connect to the TDL or to each other. Relationships below are limited to README-documented behavior; those Power BI links are omitted.

Main entry points: [`odbc_plus.tdl`](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl) (ODBC Plus TDL), [`PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition`](https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition) (Analytics model), [`PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition/tables`](https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition/tables) (Model tables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tally["Tally ODBC extension"]
  node_tdl["ODBC Plus TDL<br/>[odbc_plus.tdl]"]
  node_companies["Companies and groups<br/>[odbc_plus.tdl]"]
  node_ledgers["Ledgers and types<br/>[odbc_plus.tdl]"]
  node_vouchers["Vouchers<br/>[odbc_plus.tdl]"]
  node_children["Voucher details<br/>[odbc_plus.tdl]"]
end

subgraph group_model["Power BI semantic model"]
  node_semantic["Analytics model<br/>[definition]"]
  node_entities["Model tables<br/>[tables]"]
end

subgraph group_report["Power BI report"]
  node_report["Power BI report<br/>[definition]"]
end

node_tally(("Tally"))
node_odbc(("ODBC reporting client"))

node_tally -->|"adds tables"| node_tdl
node_tdl -->|"exposes"| node_companies
node_tdl -->|"exposes"| node_ledgers
node_tdl -->|"exposes"| node_vouchers
node_tdl -->|"exposes"| node_children
node_odbc -.->|"reads tables"| node_tdl
node_semantic -->|"defines"| node_entities

click node_tdl "https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl"
click node_companies "https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl"
click node_ledgers "https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl"
click node_vouchers "https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl"
click node_children "https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl"
click node_semantic "https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition"
click node_entities "https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition/tables"
click node_report "https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.Report/definition"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_tdl,node_companies,node_ledgers,node_vouchers,node_children,node_odbc toneBlue
class node_semantic,node_entities toneAmber
class node_report toneMint
class node_tally toneIndigo
```

## Components

### Tally ODBC extension

- [ODBC Plus TDL](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl): `odbc_plus.tdl`
- [Companies and groups](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl): `odbc_plus.tdl`
- [Ledgers and types](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl): `odbc_plus.tdl`
- [Vouchers](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl): `odbc_plus.tdl`
- [Voucher details](https://github.com/saivineeth100/tallyodbcplus/blob/main/odbc_plus.tdl): `odbc_plus.tdl`

### Power BI semantic model

- [Analytics model](https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition): `PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition`
- [Model tables](https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition/tables): `PowerBIProject/TallyAnalytics_ODBC.SemanticModel/definition/tables`

### Power BI report

- [Power BI report](https://github.com/saivineeth100/tallyodbcplus/tree/main/PowerBIProject/TallyAnalytics_ODBC.Report/definition): `PowerBIProject/TallyAnalytics_ODBC.Report/definition`

### Other components

- **Tally**
- **ODBC reporting client**

## Connections

- Tally → ODBC Plus TDL: adds tables
- ODBC Plus TDL → Companies and groups: exposes
- ODBC Plus TDL → Ledgers and types: exposes
- ODBC Plus TDL → Vouchers: exposes
- ODBC Plus TDL → Voucher details: exposes
- ODBC reporting client → ODBC Plus TDL: reads tables
- Analytics model → Model tables: defines
