Skip to content

Dataset

TallyPrime voucher and ledger datasets for AI training

A Tally dataset is a business's TallyPrime company data: vouchers of every voucher type with their ledger entries, inventory entries and bill allocations, and the masters they refer to, including ledgers, groups, stock items, godowns and cost centres. SourceX sources it to a buyer's spec from established businesses that keep their books in TallyPrime or its predecessor Tally.ERP 9. Each dataset is de-identified, with party names, GSTIN and PAN numbers and bank details removed or pseudonymized, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
One Tally company's vouchers with ledger, inventory and bill-wise detail, plus the group, ledger, stock and cost centre masters that give them meaning
Typical systems
TallyPrime and Tally.ERP 9, single-user or multi-user, with accounting, inventory, GST, bill-wise and cost centre features in use; payroll excluded
Typical history
One or more financial years, sometimes held as separate split companies; specify the years and whether Edit Log history is required
Modality
Structured vouchers and masters as nested records; narrations are short free text
Delivery formats
Tally XML as exported, or JSONL or Parquet with one row per voucher entry and a masters file
Preparation
Party ledgers replaced by one consistent key; GSTIN, PAN, bank and address fields removed; narrations scrubbed; payroll and attendance vouchers excluded
Licensing
Scoped per Tally company and financial years; permitted use agreed per license; Tally Solutions' license terms checked by owner and buyer
Availability
Sourced to your spec; features in use, customizations and Edit Log coverage differ by business, and supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
company_refstringPseudonymous key for the Tally company, with its financial year start, books beginning date and base currency.
voucher_refstringStable key derived from the Voucher's GUID; the voucher number is kept separately because numbering can restart.
voucher_typeobjectThe Voucher Type used, often the business's own, and the predefined type it sits under, such as Sales, Payment or Journal.
voucher_headerobjectVoucher date, number, reference and narration, with the optional, cancelled and post-dated flags.
ledger_entriesarrayThe Voucher's ledger entries: Ledger key, debit or credit by Tally's deemed-positive flag, and signed amount.
group_pathobjectFor each Ledger, the chain of Groups up to a primary group, such as Sundry Debtors under Current Assets.
ledger_masterobjectLedger settings that change entry: opening balance, and whether bill-wise details and cost centres apply.
inventory_entriesarrayInventory Entries on the Voucher: Stock Item key, actual and billed quantity with Unit, rate, amount, Godown and batch.
stock_item_masterobjectStock Item with its Stock Group, base and alternate Unit, valuation method, HSN code and GST rate.
bill_allocationsarrayBill Allocations on party entries: New Ref, Agst Ref, Advance or On Account, the bill name, amount and credit period.
cost_allocationsarrayCost Category and Cost Centre splits of an entry's amount.
gst_detailsobjectGST fields on the Voucher: party registration type, place of supply and the tax ledgers applied.
alterationobjectThe Voucher's alter ID, and its Edit Log versions with date, time and user role where the company had the log switched on.
export_routeobjectHow it left Tally: XML export, ODBC or a TDL report, and the product release.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "company_ref": "tc_8f20",
  "voucher_ref": "vch_5b3e9a",
  "voucher_type": {
    "name": "Tax Invoice - Wholesale",
    "parent": "Sales"
  },
  "voucher_header": {
    "date": "2023-11-07",
    "voucher_number": "WS/2311/0412",
    "narration": "Being goods sold as per order dt 02-11, dispatch through [TRANSPORTER]",
    "is_optional": false,
    "is_cancelled": false
  },
  "ledger_entries": [
    {
      "ledger": "led_party_0173",
      "is_deemed_positive": true,
      "amount": -59000.0
    },
    {
      "ledger": "Sales - GST 18%",
      "is_deemed_positive": false,
      "amount": 50000.0
    },
    {
      "ledger": "Output CGST 9%",
      "is_deemed_positive": false,
      "amount": 4500.0
    },
    {
      "ledger": "Output SGST 9%",
      "is_deemed_positive": false,
      "amount": 4500.0
    }
  ],
  "group_path": {
    "led_party_0173": [
      "Sundry Debtors",
      "Current Assets"
    ],
    "Sales - GST 18%": [
      "Sales Accounts"
    ],
    "Output CGST 9%": [
      "Duties & Taxes",
      "Current Liabilities"
    ]
  },
  "inventory_entries": [
    {
      "stock_item": "itm_0452",
      "stock_group": "Bearings",
      "actual_qty": "200 Nos",
      "billed_qty": "200 Nos",
      "rate": "250.00/Nos",
      "amount": 50000.0,
      "godown": "Main Location"
    }
  ],
  "bill_allocations": [
    {
      "ledger": "led_party_0173",
      "bill_type": "New Ref",
      "name": "WS/2311/0412",
      "amount": -59000.0,
      "credit_period": "30 Days"
    }
  ],
  "cost_allocations": [],
  "gst_details": {
    "registration_type": "Regular",
    "place_of_supply": "[STATE]"
  },
  "alteration": {
    "alter_id": 20317,
    "edit_log": null
  },
  "export_route": {
    "method": "xml_export",
    "product": "TallyPrime"
  }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train voucher entry from a narration

Narration, party and amounts paired with the voucher type and ledgers chosen show how a bookkeeper records an event.

Learn ledger classification

Each ledger's group path shows where that business placed the account in its statements, whatever the ledger is called.

Model GST treatment

Tax ledgers, place of supply and HSN codes per line show how intrastate, interstate and exempt supplies were booked.

Predict collections from bill-wise data

New references matched to later receipts give days to pay per party, with partial settlements.

Evaluate bookkeeping agents on GST books

Held-out vouchers with their masters test type choice, ledger choice, tax split and bill allocation.

Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Balanced vouchers

Every voucher's entries net to zero under Tally's sign convention.

Group tree intact

Each ledger resolves to a primary group, through any custom sub-groups.

Inventory integrated

Sales and purchase vouchers carry stock items, godowns and quantities, not amounts only.

Bill-wise in use

Party entries carry bill references, so settlements can be traced.

Edit Log coverage

Altered vouchers have earlier versions for the years requested.

Consistent pseudonyms

One key per party across masters, vouchers and narrations.

License terms

Tally dataset

This page covers tallyPrime voucher and ledger records.Illustrative

Every event is a voucher, and the group tree carries the accounting

Tally has no separate invoice, payment and journal tables. A sale, a purchase, a payment, a receipt, a contra between cash and bank and a journal are all a Voucher, and what separates them is the Voucher Type. A business adds its own types under the predefined ones, such as an Export Sales type under Sales, so the type name is local vocabulary and the predefined parent is what compares across businesses. One voucher can hold ledger entries, inventory entries with godown and batch, GST details, cost centre splits and bill references together, so a single record shows the goods, the tax, the party and the receivable.

The accounting treatment sits in the masters. Every Ledger belongs to a Group, every group resolves to a primary group, in most books one of Tally's predefined ones, and that chain decides whether a balance appears under current assets, loans or indirect expenses and whether it affects gross profit. Placement also changes behavior: a ledger under Sundry Debtors or Sundry Creditors can keep balances bill by bill, and one under Duties & Taxes is a tax ledger. Ledgers are identified by name, not by an account number, and each business names them as it likes, so a model has to read the group path. Where one business puts freight under Direct Expenses and another under Indirect Expenses, that is a bookkeeper's judgment the data records.

Bill-wise entries give settlement history without a separate receivables ledger. An invoice opens a New Ref, a later receipt names the same bill as Agst Ref, and money that nobody matched sits On Account. Tally does not store its reports. The balance sheet, stock summary and outstandings are computed from vouchers and masters when opened.

Tally data lives on the business's own computer, and alterations overwrite

There is no vendor cloud API to call. A Tally company is a numbered folder of proprietary files on an office computer, and only Tally reads it. Data leaves in three ways: the program's own export of masters and transactions as XML, queries over ODBC against the running program, or reports written in TDL, Tally's definition language. Each needs Tally running with the company open. The XML is the fullest and has its own habits. Masters are referenced by name, so pseudonymization must replace each name everywhere it occurs. Dates are eight-digit strings with no separators. Quantities and rates are text with the unit inside, such as 200 Nos and 250.00/Nos. A debit carries a negative amount with a deemed-positive flag, and a loader that ignores the convention reverses every entry.

Some things are lost on the way out. Fields added by a TDL customization can export without their names, or not at all, unless that customization is loaded. A business that split its company by financial year has several folders, each exported separately. Optional and memorandum vouchers, which are not part of the books, can export beside real ones, told apart only by a flag or type.

History is the larger gap. Without Edit Log, altering a voucher rewrites it and deleting removes it. Each voucher keeps an alter ID from a counter that advances with every change, which can suggest that it was touched after its neighbors were entered but not what it said before. Edit Log, available from TallyPrime Release 2.1, records each creation, alteration and deletion as a numbered version with the user name, date and time, and Tally can show the differences between versions. In TallyPrime a company can switch it on or off. In the separate TallyPrime Edit Log product, which Tally Solutions offers for the audit trail requirement that applies to companies in India, it cannot be switched off. Books from the Tally.ERP 9 years have no such log. To test a sample, load one month, check that every voucher nets to zero, compare ledger totals with the business's own Trial Balance, and search narrations for GSTIN and PAN patterns.

What to check before licensing

  • Have the data owner and your counsel read Tally Solutions' license terms for what they say about exporting company data and using it outside the business, before a permitted use is agreed.
  • Confirm party ledger names are replaced by one consistent key in masters, ledger entries, bill allocations and narrations, since Tally joins on names.
  • Search the sample for GSTIN and PAN patterns, bank account details, addresses and e-way bill or e-invoice numbers, including inside narrations.
  • Confirm payroll and attendance vouchers and employee masters are excluded, and that salary payments posted as ordinary Payment or Journal vouchers were reviewed.
  • Ask which country's data-protection law applies to the business and its customers, and review the de-identification approach with counsel for that jurisdiction.
  • Ask whether the company uses Edit Log, from what date, and whether earlier versions were exported or only the current vouchers.
  • Check that every voucher balances and totals match the business's own Trial Balance, and ask whether the company was split by year.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does this cover Tally.ERP 9 as well as TallyPrime?

Yes. TallyPrime is the successor to Tally.ERP 9 and opens the same company data after migration, so many businesses have books that began in the older product. Vouchers and masters have the same structure in both. Features differ by release, most importantly Edit Log, which arrived in TallyPrime Release 2.1, so say which years you need.

How is the data extracted if Tally has no cloud API?

From the business's own installation. A person with access opens the company in Tally and exports masters and transactions as XML, a tool queries the running program over ODBC, or a TDL report writes the fields needed. Each route returns different detail, so the manifest should state the route and the release.

Why does the group hierarchy matter for training?

Because it is where Tally records accounting treatment. A ledger's name is free text chosen by the business, while its group path up to a primary group decides which statement and section it lands in. A model that learns to place a new ledger or code a voucher needs the group tree.

Can I see what a voucher looked like before it was altered?

Only where Edit Log was on. With it, TallyPrime keeps numbered versions of a voucher with the user name, date and time of each change, and logs deletions. Without it, Tally rewrites a voucher when it is altered and removes it when deleted, and an alter ID can suggest that a voucher was changed but not how. Ask for Edit Log coverage by date and whether the versions were exported with the vouchers.

Are GST details included?

They can be, with identifiers removed. Vouchers carry tax ledgers for central, state and integrated GST, place of supply and registration type, and stock items carry HSN codes and rates. GSTIN numbers identify the parties, so they are removed or pseudonymized. Books that span the move to GST also hold earlier VAT, excise and service tax ledgers.

Is SourceX affiliated with Tally Solutions?

TallyPrime is named to identify the system the records come from. That does not imply a partnership with or endorsement by Tally Solutions. The records belong to the business that runs TallyPrime, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies