ScaleCraft Tally Studio Documentation
Complete guide to converting spreadsheets, integrating e-commerce transactions, parsing bank statements, generating Tally XML, and orchestrating full 2-way sync via our REST API suite.
๐ 1. Platform Overview & What is ScaleCraft?
ScaleCraft Tally Studio is India's leading enterprise automation utility designed specifically for Chartered Accountants, Finance Directors, Tax Consultants, and Accounting Departments. It converts massive amounts of messy financial data (Excel spreadsheets, bank CSV/PDF statements, Amazon/Flipkart sales reports, CRM invoices) into mathematically validated, 100% compliant TallyPrime and Tally.ERP 9 XML in 0.04 seconds.
โก 0.04s Sub-Second Engine
Processes up to 50,000 transaction rows in milliseconds using optimized in-memory XML transformation algorithms.
๐ก๏ธ Zero Data Retention
All client financial data is converted locally in your web browser. No accounting files are ever uploaded or stored on cloud servers.
โ๏ธ 100% Mathematical Balance
Every voucher is pre-verified: Debit amount must strictly equal Credit amount down to 2 decimal places before export is allowed.
๐ 2-Way REST API Gateway
Connect third-party apps, ERPs (SAP, Oracle, Zoho), and web stores directly to Tally via standard JSON HTTP endpoints.
๐๏ธ How It Works (Architecture Workflow)
ScaleCraft operates as a high-speed data adapter between raw input sources and Tally's native XML communication pipeline:
โ
[ScaleCraft Smart Ingestion & Mapping Engine]
โ
[GST Splitting + Ledger Lookup + Dr/Cr Validation]
โ
[Native Tally Envelope XML Serialization (TDL Compatible)]
โ
[Direct Port 9000 Push OR 1-Click File Import in Tally]
โ๏ธ Tally Configuration (Enabling Port 9000 & ODBC)
To enable direct syncing between ScaleCraft (or REST APIs) and your local Tally instance, follow these simple steps inside TallyPrime:
- Open TallyPrime and press F1 (Help) โ Settings โ Connectivity.
- Set Client/Server configuration:
- TallyPrime acts as:
Both (Client & Server) - Enable ODBC:
Yes - Port:
9000(Default)
- TallyPrime acts as:
- Restart TallyPrime. When opened, verify that the bottom status panel reads:
Server Mode (Port 9000). - Open any Company in Tally (e.g., ScaleCraft Demo Enterprise).
192.168.1.150:9000) inside the ScaleCraft Studio settings modal.
๐ 3-Step Quickstart Guide
Drag and drop your Excel (.xlsx, .xls) or CSV file into the Studio Converter.
ScaleCraft automatically maps Date, Voucher Type, Ledger, Amounts, and checks Dr = Cr double-entry balance.
Click "Direct Sync to Tally" or "Download Tally XML". In Tally, press Import Data โ Transactions.
โก 2. Excel to Tally Studio Converter
The Studio Converter (studio.html) supports any custom column header structure. You do not need to follow strict or inflexible templates. ScaleCraft's intelligent mapping engine scans row 1 for keywords like Invoice No, Bill Date, Customer Name, Net Total, CGST, SGST, IGST, Narration and maps them automatically.
Supported File Formats
- Microsoft Excel (.xlsx, .xls) โ Standard 97-2003 through Modern Office 365 workbooks.
- Comma Separated Values (.csv) โ UTF-8 and ANSI formatted exports from legacy ERPs.
- Text / TSV (.txt) โ Tab-delimited files generated by banking and billing portals.
๐ Multi-Voucher Generation Engine (7 Supported Types)
ScaleCraft natively outputs full TDL XML representations for all standard accounting voucher categories:
| Voucher Type | Debit (Dr) Ledger | Credit (Cr) Ledger | Common Use-Case |
|---|---|---|---|
| Sales | Sundry Debtors / Cash / Bank | Sales A/c + Output GST Ledgers | B2B & B2C Customer Billing, POS invoices |
| Purchase | Purchase A/c + Input GST | Sundry Creditors / Bank | Vendor bills, raw material & services |
| Receipt | Bank / Cash A/c | Sundry Debtors / Other Income | Customer payment collection, loan receipt |
| Payment | Sundry Creditors / Expense A/c | Bank / Cash A/c | Vendor dues, office rent, salary payouts |
| Journal | Any Nominal / Real Account | Any Nominal / Real Account | Year-end adjustments, depreciation, provisions |
| Contra | Bank / Cash Account | Bank / Cash Account | Cash deposits, ATM withdrawals, bank transfers |
| Credit / Debit Notes | Sales Return / Purchase Return | Party Ledger / GST reversal | Goods returns, post-sale discounts, price adjustments |
๐ฆ Bank Statement Auto-Reconciler
Bank statement entry is historically one of the most tedious accounting tasks. ScaleCraft features automated parsing support for 20+ Indian Banks:
HDFC Bank, ICICI Bank, State Bank of India (SBI), Axis Bank, Kotak Mahindra, Punjab National Bank, Bank of Baroda, IndusInd, Yes Bank, Federal Bank, Canara Bank, and Standard Chartered.
How Automated Bank Narration Mapping Works:
- NEFT/RTGS/IMPS Stripping: Extracts beneficiary or sender names from complex IFSC codes and UTR numbers.
- UPI Handle Recognition: Identifies strings like
UPI/312049/Paytm/CustomerNameand maps directly to the party ledger. - Bank Charges & Interest Detection: Keywords like "CHG", "INTEREST CR", "ATM WDL", "SMS CHRG" are automatically routed to respective nominal accounts.
๐ E-Commerce Marketplace Ingestion
Directly ingest sales reports, settlement sheets, and return summaries from major marketplaces:
- Amazon Seller Central: Monthly B2B/B2C MTR (Merchant Tax Report) + Payment Settlement XML.
- Flipkart Seller Hub: GSTR-1 Sales Report & Commission deduction statement.
- Meesho: Order-level settlement & supplier payment report.
- Shopify & WooCommerce: Orders CSV with auto shipping fee and discount voucher creation.
โ๏ธ GST Validation & Auto Tax Splitting
ScaleCraft eliminates manual tax calculations by applying Indian GST statutory rules:
- Intra-State Supply (Local): Company State == Party State โ Automatically splits into CGST (50%) + SGST (50%).
- Inter-State Supply (Out of State): Company State != Party State โ Automatically allocates 100% to IGST.
- Reverse Charge Mechanism (RCM): Flags transactions where tax is payable by recipient under Section 9(3) / 9(4).
- Auto Round-Off Ledger: Dynamically adds Round-Off entry (+/- โน0.49 max) to guarantee that the invoice matches the printed bill.
๐ Mathematical Double-Entry Verification (Dr = Cr)
Tally strictly rejects any transaction where total Debits do not equal total Credits. ScaleCraft implements a zero-tolerance pre-export validator:
โ Debit_Amounts == โ Credit_Amounts (Precision: 10^-2)
If Math.abs(TotalDr - TotalCr) > 0.01:
THROW ValidationError("Voucher #INV-2026-904 is out of balance. Difference: โน" + diff)
๐ 3. Financial Reports & BI Suite
Available under the Reports Portal, users can analyze historical import batches, detect duplicate vouchers, run ledger-wise transaction audits, and export executive financial summaries.
๐ Live Daybook Query
Fetch transactions across any custom date interval with voucher type filtering.
๐งพ GST Reconciliation
Cross-check your sales register against GSTR-2B or GSTR-1 to identify missing tax credits.
๐ Aging Analysis
Track Sundry Debtors and Creditors across 30, 60, 90, and 120-day overdue buckets.
๐ Duplicate Detection
Prevents double-entry by checking voucher number, date, and party before posting.
๐ Audit Trail & Error Resolution
ScaleCraft maintains an immutable client-side audit log detailing every action:
- Timestamp of file upload and conversion.
- Total lines processed, succeeded, and skipped.
- Detailed error log for rows with invalid GSTINs, malformed dates, or zero amounts.
๐งฐ 4. Custom TDL & Enterprise Security
Organizations with customized Tally installations (e.g. customized invoice printing, custom UDFs, dispatch details) can upload their custom .tcp or .tdl definition files in the Customize Portal. ScaleCraft injects the required XML user-defined fields (UDF tags) automatically.
Auto-Ledger & Stock Item Provisioning
One of the biggest issues in standard Tally imports is the error: "Ledger 'XYZ Ltd' does not exist!". ScaleCraft solves this with Auto-Provisioning:
๐ก๏ธ Zero Data Retention Privacy Guarantee
ScaleCraft is built on a Privacy-First Architecture. We understand that accounting and client data is sensitive:
- No Cloud Storage: All spreadsheet conversions occur locally in RAM.
- No Database Persistence: Your vouchers are transformed on-the-fly and streamed directly to your local Tally instance.
- 100% Offline Capability: The Studio converter functions without active internet connectivity once loaded.
๐ 5. ScaleCraft REST API Reference (25 Endpoints)
ScaleCraft provides a complete, bi-directional RESTful HTTP API allowing ERPs, web apps, CRMs, and custom scripts to read and write data to TallyPrime in real-time.
http://localhost:4020/api/v1Authentication:
Authorization: Bearer sc_live_xxxxxxxxxxxxxxxxxxxxContent-Type:
application/json
Standard HTTP Response Format
{
"status": "success",
"statusCode": 200,
"transaction_id": "TXN_8F92A1",
"latency_ms": 32,
"timestamp": "2026-09-27T15:00:00.000Z",
"data": { ... }
}
โ๏ธ Voucher Write APIs
POST /api/v1/vouchers/create
Creates a single accounting voucher in Tally with automatic double-entry balance validation and auto-ledger provisioning.
| Parameter | Type | Description |
|---|---|---|
| company | string Required | Exact name of the company open in TallyPrime. |
| voucher_type | string Required | Sales, Purchase, Receipt, Payment, Journal, Contra, Debit Note, Credit Note. |
| voucher_number | string Required | Invoice or reference number (e.g. INV-2026-904). |
| date | string Required | Transaction date in YYYY-MM-DD format. |
| party_ledger | string Required | Name of Customer, Vendor, or Cash/Bank ledger. |
| debit_amount | number Required | Total invoice debit amount (must match sum of entries). |
| entries | array Required | Array of line items: [{ "ledger": "...", "amount": 50000, "type": "CR" }]. |
| narration | string Optional | Remarks or PO reference details. |
curl -X POST "http://localhost:4020/api/v1/vouchers/create" \
-H "Authorization: Bearer sc_live_9f823a7b1c4e8d2054f19b67329aa8e5" \
-H "Content-Type: application/json" \
-d '{
"company": "ScaleCraft Demo Enterprise",
"voucher_type": "Sales",
"voucher_number": "INV-2026-904",
"date": "2026-04-01",
"party_ledger": "M/s Global Infotech Solutions",
"debit_amount": 59000.00,
"entries": [
{ "ledger": "Domestic Software Sales A/c", "amount": 50000.00, "type": "CR" },
{ "ledger": "Output CGST @ 9%", "amount": 4500.00, "type": "CR" },
{ "ledger": "Output SGST @ 9%", "amount": 4500.00, "type": "CR" }
],
"narration": "Being software integration services delivered under PO-889"
}'
POST /api/v1/vouchers/update
Alters an existing voucher in Tally by matching its Master GUID or original Voucher Number.
POST /api/v1/vouchers/delete
Permanently cancels or deletes a voucher from the active Tally company by GUID.
POST /api/v1/vouchers/bulk
Batch import up to 5,000 vouchers in a single transaction payload with automatic error recovery and partial failure skipping.
๐๏ธ Voucher Read APIs
GET /api/v1/vouchers/list
Query vouchers by date range (from_date, to_date), voucher type, or party name.
GET /api/v1/vouchers/{id}
Fetch full breakdown of a single voucher including all Dr/Cr line entries, bank allocation, and inventory items.
GET /api/v1/daybook
Stream the entire daily transaction journal from Tally for a given financial date range.
๐ Masters Create APIs
POST /api/v1/masters/ledger/create
Creates a new accounting ledger with GSTIN, Parent Group, state code, PIN, and opening balance.
POST /api/v1/masters/stock-item/create
Creates inventory stock items with HSN Code, GST Tax Rate, unit of measure (e.g. Nos, Kgs), and standard selling rates.
POST /api/v1/masters/cost-centre/create
Creates cost centres for departmental expense and revenue tracking.
POST /api/v1/masters/group/create
Creates custom sub-groups under Primary, Sundry Debtors, Current Assets, or Direct Expenses.
๐ Masters Read APIs
GET /api/v1/ledgers/listโ Fetch all active ledgers with current closing balance and Dr/Cr status.GET /api/v1/masters/stock-itemsโ Fetch inventory stock list with quantities on hand and valuation rates.GET /api/v1/masters/groupsโ Fetch full hierarchical chart of accounts from Tally.GET /api/v1/masters/cost-centresโ Fetch all configured cost centres and employee categories.
๐ Financial Reports APIs
GET /api/v1/reports/trial-balanceโ Fetch balanced Trial Balance with opening and closing group totals.GET /api/v1/reports/profit-lossโ Fetch Revenue, COGS, Direct/Indirect Expenses, Gross & Net Profit.GET /api/v1/reports/balance-sheetโ Fetch Assets, Liabilities, and Capital account balances.GET /api/v1/reports/stock-summaryโ Inventory valuation report broken down by stock groups.GET /api/v1/reports/outstandingโ Aging schedule for accounts receivable and accounts payable.GET /api/v1/reports/gst-summaryโ GSTR-1 and GSTR-3B tax computations.
โ๏ธ System & Webhook APIs
GET /api/v1/tally/health
Pings local or remote Tally instance on Port 9000. Returns connection status, Tally version, active license, and company name.
GET /api/v1/company/info & GET /api/v1/company/list
Inspect active company metadata, PAN, GSTIN, and financial year start date.
Webhooks Notification Pipeline
Register your webhook URL in ScaleCraft settings to receive real-time HTTP POST notifications:
{
"event": "voucher.created",
"company": "ScaleCraft Demo Enterprise",
"voucher_id": "TALLY_GUID_A1B2C3D4",
"voucher_number": "INV-2026-904",
"amount": 59000.00,
"timestamp": "2026-09-27T15:00:00Z"
}
โ FAQs & Troubleshooting Guide
1. "Connection Refused on Port 9000" / "Cannot Connect to Tally"
This occurs when Tally's internal ODBC/HTTP XML server is not running.
Resolution: Inside TallyPrime, press F1 โ Settings โ Connectivity. Ensure "TallyPrime acts as" is set to Both and Port is set to 9000. Restart Tally and verify the status bar displays Server Mode (Port 9000).
2. "Debit amount does not match Credit amount" (Dr != Cr)
Tally strictly rejects out-of-balance transactions.
Resolution: Ensure your line item tax amounts (CGST + SGST or IGST) plus round-off exactly equal the total invoice value. ScaleCraft's Studio Converter has an "Auto Round-Off" toggle that automatically inserts a Round Off A/c entry if there is a discrepancy of less than โน1.00.
3. How do I activate my REST API or Studio Enterprise License?
After purchasing a subscription from our Pricing Page, log in with your registered email address. Your license token will be automatically applied to your browser storage and accessible under My Account.