Discard unapproved draft voucher in TallyPrime
tally_discard_draft removes an unapproved draft voucher from local staging storage, preventing accidental future approval. It touches nothing in TallyPrime.
Example Prompt for AI Agents (Claude, ChatGPT, Cursor)
Discard draft voucher 'dft_12345'.How to Use tally_discard_draft 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_discard_draft 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
{
"draft_id": "str"
}Expected Output Format
{
"discarded": "bool",
"draft_id": "str"
}Specification & Description
Discard and purge an unapproved voucher draft from local staging storage. Use when: cancel draft, delete staged entry, reject voucher. READ-ONLY. Never creates ledgers; unknown names return needs_decision.
Frequently Asked Questions
Does this delete anything from Tally?
No. It only purges local unapproved staged drafts.
Can a discarded draft be recovered?
No, discarded drafts are permanently purged.