Draft a balanced voucher in TallyPrime for human approval
tally_draft_voucher validates double-entry balance and stages a voucher draft without modifying TallyPrime. It returns a local approval link where a human reviews and approves the entry.
Example Prompt for AI Agents (Claude, ChatGPT, Cursor)
Draft a payment voucher for Rs 15,000 to Apex Supplies from HDFC Bank.How to Use tally_draft_voucher with AI
Open TallyPrime with your company loaded. Ensure the HTTP/XML connector is enabled on port 9000 (F1 > Settings > Connectivity).
In Claude Desktop, Cursor, or ChatGPT, paste the prompt above or type your request in natural language. The AI agent calls tally_draft_voucher automatically.
TallyMCP validates the balance and returns a local approval link. Open it to inspect entries and approve the write. Nothing writes without your click.
tallymcp.proComplete AI client setup instructions →Input Parameters
{
"company": "str",
"voucher_type": "str",
"date": "YYYYMMDD",
"number": "str",
"party_ledger": "str",
"entries": "list",
"narration": "optional str",
"allow_create_masters": false
}Expected Output Format
{
"draft_id": "str",
"hash": "str",
"approval_url": "str",
"expires_in_secs": "int"
}Specification & Description
Stage a TallyPrime voucher draft with double-entry balance validation and out-of-band approval URL. Use when: create voucher, post entry, draft transaction. DRAFT: human approval required. Never creates ledgers; unknown names return needs_decision.
Frequently Asked Questions
Does this write directly into Tally?
No. It stages a draft and provides a link for human approval.
What if debit and credit don't match?
Validation rejects unbalanced entries immediately.