🔄 Tally Integration
API Testing Portal
← Home 📖 Docs 💬 Support
Overview
Fields
Sample JSON
Sync ACK
Validation Rules
Ledger Master

📌
All API responses must be wrapped under the "Data" key — {"Data": [...]}. Tally cannot read any other structure.
Endpoints
TypeMethodEndpoint
Action Types
ActionWhat Tally does
CreateCreates new master if not exists in Tally
UpdateFinds by TallyId, deletes all child collections, re-inserts from payload. Falls back to Create if TallyId not found.
DeletePermanently deletes master by TallyId
Key Rules
📅
All dates must be YYYYMMDD format. Example: 20250401. Empty dates pass as "".
🔐
Bearer Token — static, no expiry. Header: Authorization: Bearer YOUR_TOKEN
💡
All fields must be present in JSON. Optional fields can be null or "". Do not omit keys.
🎨
// MANDATORY — required, cannot be null or empty  |  // optional — can be null or ""
Sync Acknowledgment

After every sync batch, Tally POSTs an acknowledgment to your ERP for every record processed.

ACK Endpoint
ACK Payload (Tally → Your ERP)
Sync ACK Payload

                        "TallyId" 12345   // Tally internal ID — store this for future Update/Delete
                        "ERPId" "133"     // Your ERP ID echoed back
                        "Status" "Yes"      // "Yes" = success, "No" = failure
⚠️
Store the TallyId from each ACK response against your ERP record. This is required for all future Update and Delete operations.
Validation Rules

These checks run automatically when you test any endpoint via the Test API button.

Common Rules (All Endpoints)
RuleDetail
HTTP 200API must return status 200
Valid JSONResponse must be parseable JSON
"Data" key requiredResponse must be {"Data": [...]} — Tally reads only this structure
Array under DataValue of Data must be an array
Date formatAll date fields must be YYYYMMDD (8 digits)
Mandatory fieldsCannot be null, undefined or empty string
TallyIdMust be 0 for new records, numeric for updates
Response
Validation
Logs
0
Records
0
Valid
0
Errors
—
ms
GET
📡
Configure URL & token
then click Test API
✅
Validation results
appear after API test
📋
Activity logs
appear here