tally-prime-api-docs

TallyPrime API Workflow

This API follows a sequential workflow where each step depends on the previous one. Below is the logical flow to integrate with TallyPrime:

Workflow Overview

[Prerequisites] → [Accounting Masters] → [Inventory Masters] → [Transactions] → [Reports]

1. Prerequisites

2. Accounting Masters

Purpose: Define ledger accounts and groups.

Steps:

  1. Create Groups
  2. Create Ledgers
  3. Add Details (Addresses, Contacts)

Example Flow:

Create Group (Sundry Debtors)
   ↓
Create Ledger (Customer ABC under Sundry Debtors)
   ↓
Add Address to Customer ABC Ledger

Why?

3. Inventory Masters

Purpose: Define stock items, units, and storage locations.

Steps:

  1. Create Stock Groups
  2. Create Units of Measure
  3. Create Stock Items
  4. Create Godowns

Example Flow:

Create Stock Group (Apparel)
   ↓
Create Unit of Measure (Nos)
   ↓
Create Stock Item (Blue Jeans under Apparel)
   ↓
Create Godown (Warehouse A)

Why?

4. Transactions

Purpose: Record sales, purchases, payments, etc.

Steps:

  1. Create Sales/Purchase Vouchers
  2. Alter/Cancel Vouchers

Example Flow:

Sell 10 Blue Jeans to Customer ABC
   ↓
Alter the voucher to update quantities
   ↓
Cancel the voucher if goods are returned

Why?

5. Reports

Purpose: Generate financial statements and inventory summaries.

Steps:

  1. Fetch Standard Reports
  2. Create Custom Reports

Example Flow:

Fetch Trial Balance (Accounting)
   ↓
Fetch Stock Summary (Inventory)
   ↓
Generate Custom Sales Report (TDL)

Why?

Key Rules

Order Matters:

Error Handling:

Best Practices:

Example End-to-End Flow

1. Create Group: Sundry Debtors.
2. Create Ledger: Customer ABC under Sundry Debtors.
3. Create Stock Item: Blue Jeans with unit Nos.
4. Record Sales: Sell 10 Nos of Blue Jeans to Customer ABC.
5. Generate Reports: Fetch Trial Balance and Stock Summary.

This workflow ensures seamless integration with TallyPrime. Refer to the API Documentation for detailed XML examples.