Skip to content

Edit and commit

Every change BeanHub makes to your book is a Git commit. You never click a separate “save to database” button. After a successful submit you can open Commits and see the diff.

  1. Open Journal.
  2. Click Add Transaction.
  3. Pick the Beancount file that should receive the transaction. Sample books often use books/YYYY.bean. The public example defaults to main.bean.
  4. Date, flag (* cleared or ! pending), optional payee, narration.
  5. Two or more postings: account and amount. The form autocompletes account names.
  6. Submit.
Add Transaction form with date, narration, and two postings.

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

The split button next to Add Transaction also opens forms for:

  • Open / close account
  • Add commodity
  • Add balance assertion
  • Add note
  • Add event

From the journal (or an account page), select entries and choose edit when the UI offers it. The edit screen is labeled Edit entries.

Edit entries form with a warning that the feature is still in development.

The page itself warns:

  • Supported types: transactions, open, close, commodity, balance, note, event.
  • Pad, price, document, and custom entries cannot be edited yet.
  • Some fields (for example booking method on open) are dropped if present.

Treat this as a convenience editor, not a complete Beancount IDE. For those entry types, clone and edit the file, or wait for the editor to catch up.

On an account page, rename rewrites the name across the included Beancount files and commits. Same idea for commodities. This is the safe way to mass-rename without a local checkout. The blog write-up is Mass renaming accounts.

If .beanhub/forms.yaml exists, Forms lists named forms. Submitting one generates a transaction (or other entries) and commits. The sample book includes an hours form. See Custom forms.

Open Commits, then the latest commit. You should see the files that changed and a unified diff.

Commit diff showing a newly added Beancount transaction.

Website commits use your BeanHub username and email as the Git author.

Clone, edit .bean files in any editor, commit, and push. BeanHub runs the same main.bean check on push. See Git over HTTPS.