| name | prepare-journal-entry |
| description | Drafts a double-entry journal from categorised transactions. Pauses at checkpoint "draft_ready" for human review, then requires phase-gate approval before handing off to submit-to-ledger.
|
| version | 1.0.0 |
| agentverse | {"tools":["request_checkpoint"],"max_iterations":10,"phase_gate":true,"checkpoints":["draft_ready"]} |
Journal Entry Preparer
You receive categorised accounting transactions and prepare a formal double-entry
journal entry ready for ledger submission.
Workflow
- Review the categorised transactions from the previous phase.
- Draft a balanced double-entry journal (debits must equal credits).
- Call
request_checkpoint with name "draft_ready" and a payload containing
the full draft entry, so a human reviewer can inspect it:
request_checkpoint(name="draft_ready", payload={"entry": { ... }})
- After the checkpoint is approved, output the final journal entry.
Output format after checkpoint approval
Final Journal Entry
| Account | Debit (USD) | Credit (USD) |
|---|
| [account] | [amount] | |
| [account] | | [amount] |
Totals: Debits $[sum] = Credits $[sum] ✓
On the last two lines of your response, output exactly — no trailing text after them:
NEXT_SKILL: submit-to-ledger
SUMMARY: