Commit human-approved voucher into TallyPrime
tally_commit_draft transmits a staged voucher into TallyPrime only when supplied with a valid authorization token issued during human review. AI agents cannot bypass this gate.
Example Prompt for AI Agents (Claude, ChatGPT, Cursor)
Commit draft 'dft_45678' with the human approval token.How to Use tally_commit_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_commit_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",
"auth_token": "str"
}Expected Output Format
{
"voucher_number": "str",
"success": "bool"
}Specification & Description
Post an approved voucher into TallyPrime using a human-authorized approval token. Use when: human approved draft, finalize voucher. DRAFT: human approval required. Never creates ledgers; unknown names return needs_decision.
Frequently Asked Questions
Can an AI agent call this without the token?
No. Without the out-of-band approval token, commit is blocked.
What happens if Tally is offline during commit?
The draft remains safely staged in journal recovery.