All Tools Registry
100% Open SourceDraft Gate · Human Approval
P0 Priority

Preview staged draft voucher XML in TallyPrime

tally_preview_draft returns the human-readable summary and the exact XML payload that will be posted once human approval is granted. It is read-only.

Example Prompt for AI Agents (Claude, ChatGPT, Cursor)

Preview staged draft voucher with ID 'dft_98745'.

How to Use tally_preview_draft with AI

1Verify TallyPrime

Open TallyPrime with your company loaded. Ensure the HTTP/XML connector is enabled on port 9000 (F1 > Settings > Connectivity).

2Send Your Prompt

In Claude Desktop, Cursor, or ChatGPT, paste the prompt above or type your request in natural language. The AI agent calls tally_preview_draft automatically.

3Approve Draft

TallyMCP validates the balance and returns a local approval link. Open it to inspect entries and approve the write. Nothing writes without your click.

MCP Server Identifier: tallymcp.proComplete AI client setup instructions →

Input Parameters

{
  "draft_id": "str"
}

Expected Output Format

{
  "draft": "obj",
  "xml_payload": "str"
}

Specification & Description

Preview formatted summary and exact XML payload of a staged voucher draft. Use when: inspect draft, review XML, verify staged entry. READ-ONLY. Never creates ledgers; unknown names return needs_decision.

Frequently Asked Questions

Does preview alter the draft status?

No, preview is completely read-only.

Can I inspect ledger allocations?

Yes, full ledger entries and amounts are detailed.