tally_confirm_write
Sends a user-approved, previously previewed accounting change to TallyPrime exactly once, then confirms the result and records it in the write log.
Instructions
Send ONE previously previewed change to TallyPrime.
WHEN TO USE: only after a write tool (tally_create_*, tally_alter_*, tally_cancel_*, tally_delete_*) returned a preview AND the user has seen it and explicitly approved it. Never call this on your own initiative.
WHAT IT DOES: re-checks the preview against the live books, sends it exactly once, judges TallyPrime's reply, reads the books back to confirm, and records it in the write log.
IF IT TIMES OUT or reports WRITE_OUTCOME_UNKNOWN: do NOT prepare and confirm the same change again — it may already be in the books. Check first.
A token works once and expires 15 minutes after the preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmToken | Yes | The confirmToken from the preview the user approved. |