Koskamo

Add a double-entry transaction to BeanHub

A new Git commit is created containing the validated double-entry transaction, with the Beancount file automatically formatted.

How it works

Changes data in your accountsFinance and payments

The agent navigates to the Journal view and initiates the 'Add Transaction' process. It selects the target Beancount file (e.g., main.bean) and constructs a valid double-entry transaction including a date, optional flag, payee, narration, and two postings that balance to zero. Before submitting, the agent verifies that the postings sum to zero to satisfy Beancount's validation rules. Upon submission, BeanHub checks the syntax and creates a Git commit if valid.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Add a double-entry transaction to BeanHub
Add a transaction to my BeanHub book. Date: 2023-10-01. Payee: 'Grocery Store'. Narration: 'Weekly groceries'. Postings: -100.00 USD Expenses:Food and +100.00 USD Assets:Cash.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Submit. The amounts on the two sides must cancel out (double-entry). BeanHub checks that with Beancount. On success you get a new Git commit
Edit and commit | BeanHub docs

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.