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
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.
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 commitEdit and commit | BeanHub docs