# Awesome Beancount

Ein kuratierter Leitfaden zum Beancount-Ökosystem. Beancount ist ein leistungsstarkes Open-Source-Buchhaltungssystem, das ein einfaches, textbasiertes Format verwendet, um Ihre Finanzen mit der Strenge der doppelten Buchführung zu verwalten. Diese Seite kombiniert von der Community kuratierte Listen und Ökosystem-Übersichten in einer umfassenden Ressource.

## Warum Plain Text Accounting?

Plain Text Accounting (PTA) ist eine Methodik zur Verwaltung von Finanzen unter Verwendung einfacher Textdateien und leistungsstarker Kommandozeilen-Tools. Dieser Ansatz gibt Ihnen das volle Eigentum an Ihren Daten, sichert die Langlebigkeit und bietet eine unvergleichliche Flexibilität für Automatisierung und Analyse.

- **Offizieller PTA-Hub:** [Plain Text Accounting](https://plaintextaccounting.org/)
- **Eine sanfte Einführung:** [Accounting for the simple minds with plain text accounting](https://dustri.org/b/accounting-for-the-simple-minds-with-plain-text-accounting.html) (Buchhaltung für einfache Gemüter mit Plain Text Accounting)
- **Von Web-Apps zu CLI:** [Command line accounting: From mint.com to Ledger](https://muehe.org/posts/command-line-accounting/) (Kommandozeilen-Buchhaltung: Von mint.com zu Ledger)

***

## Das Beancount-Ökosystem

Das Beancount-Ökosystem ist eine Sammlung von Tools, Plugins und Ressourcen, die um eine Kern-Engine herum aufgebaut sind. Jede Komponente spielt eine spezifische Rolle bei der Erstellung eines vollständigen Workflows für das Finanzmanagement.

### 1. Kern-Engine & Offizielle Ressourcen

Dies sind die grundlegenden Elemente von Beancount, die vom Ersteller und offiziellen Mitwirkenden gepflegt werden.

| Ressource            | Beschreibung                                                                                                                                                                                                                           |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Beancount (Core)** | Die Engine, die Ihre Ledger-Datei liest, die Regeln der doppelten Buchführung erzwingt und Berichte erstellt. Sie bietet grundlegende Kommandozeilen-Utilities wie `bean-check` und `bean-format`. Alle anderen Tools basieren darauf. |
| **Homepage**         | [beancount.github.io](https://beancount.github.io/)                                                                                                                                                                                    |
| **Quellcode**        | [github.com/beancount/beancount](https://github.com/beancount/beancount)                                                                                                                                                               |
| **Dokumentation**    | [GitHub Pages](https://beancount.github.io/docs/) und [Google Docs](https://docs.google.com/document/d/1RaondTJCS_IUPBHFNdT8oqFKJjVJDsfsn6JEjBG04eA/edit)                                                                              |
| **Externe Beiträge** | [Offizielle Liste von Community-Beiträgen](https://beancount.github.io/docs/external_contributions.html)                                                                                                                               |
| **Beanquery**        | Ein leistungsstarkes, SQL-ähnliches Abfragewerkzeug (`v3`) zum Ausführen fortgeschrittener Abfragen (z. B. `SELECT ... FROM ... WHERE ...`) gegen Ihr Ledger, um benutzerdefinierte Analysen zu erstellen.                             |

### 2. Benutzeroberflächen

Diese Tools bieten visuelle Schnittstellen zum Erkunden und Bearbeiten Ihrer Finanzdaten.

| Tool                       | Beschreibung                                                                                                                                                                                                        |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Fava**                   | Das definitive, funktionsreiche Web-Dashboard für Beancount. Es bietet interaktive Diagramme, Drilldown-Tabellen, Bearbeitung im Browser und ein Erweiterungssystem zum Hinzufügen von Funktionen wie Budgetierung. |
| **Fava-GTK**               | Eine native GNOME-Desktop-Anwendung, die Fava für ein nahtloses Desktop-Erlebnis kapselt.                                                                                                                           |
| **Beancount Mobile**       | Eine mobile Datenerfassungs-App zum Hinzufügen von Transaktionen von unterwegs.                                                                                                                                     |
| **Beancount Telegram Bot** | Ein Telegram-Bot zum schnellen Hinzufügen von Transaktionen zu Ihrem Ledger via Chat.                                                                                                                               |

### 3. Transaktions-Import

Importieren ist der Prozess des Konvertierens von Daten aus Finanzinstituten (wie Bank-CSVs oder PDFs) in Beancount-Einträge.

| Tool                        | Beschreibung                                                                                                                                                            |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Beangulp (v3)**           | Das moderne, eigenständige Framework zum Erstellen von Importern. Es verarbeitet externe Dateien über Python-Skripte (Plugins), um Beancount-Anweisungen zu generieren. |
| **Smart Importer**          | Ein Tool, das Importer mit maschinellem Lernen erweitert, um Kategorien automatisch vorherzusagen und zuzuweisen.                                                       |
| **Beancount Reds Ingestor** | Eine Sammlung von Importern mit einer gemeinsamen Bibliothek zur Handhabung von CSV- und OFX-Dateien.                                                                   |
| **double-entry-generator**  | Ein regelbasierter Importer, der auf chinesische Dienste wie Alipay und WeChat Pay spezialisiert ist.                                                                   |

#### Community-Importer (nach Land)

Eine umfangreiche Sammlung von Skripten für spezifische Banken und Dienste, die von der Community gepflegt werden.

- **China**

  - Alipay / 支付宝: [deb-sig/double-entry-generator](https://github.com/deb-sig/double-entry-generator), [wzyboy/importer](https://github.com/wzyboy/awesome-beancount/blob/master/importers/alipay_acclog.py)
  - China Merchants Bank (CMB): [Debitkarte](https://github.com/wzyboy/awesome-beancount/blob/master/importers/cmb_debit_cards.py), [Kreditkarte](https://github.com/wzyboy/awesome-beancount/blob/master/importers/cmb_credit_cards.py)
  - WeChat Pay / 微信支付: [deb-sig/double-entry-generator](https://github.com/deb-sig/double-entry-generator)

- **Frankreich**

  - Caisse d'Epargne: [beancount-ce](https://github.com/ArthurFDLR/beancount-ce)
  - Boursorama, Amex: [Beancount-myTools](https://github.com/grostim/Beancount-myTools)

- **Deutschland**

  - Commerzbank: [beancount-commerzbank](https://github.com/siddhantgoel/beancount-commerzbank)
  - Deutsche Kredit Bank (DKB): [beancount-dkb](https://github.com/siddhantgoel/beancount-dkb)
  - ING: [beancount-ing](https://github.com/siddhantgoel/beancount-ing)
  - N26: [beancount-n26](https://github.com/siddhantgoel/beancount-n26)
  - Volksbank & GLS-Bank: [beancount-importer-volksbank](https://github.com/Fjanks/beancount-importer-volksbank)

- **Indien**
  - SBI, BOI, Paytm, HSBC, ICICI: [beancount-importers-india](https://github.com/dumbPy/beancount-importers-india)

- **Niederlande**
  - ABN AMRO: [beancount-abnamro](https://github.com/deepakg/beancount-abnamro)

- **Schweiz**

  - Allgemein: [tariochbctools](https://tariochbctools.readthedocs.io/) (BCGE, Neon, Raiffeisen, ZKB, Fidelity)
  - Finpension: [drnuke-bean](https://github.com/Dr-Nuke/drnuke-bean?tab=readme-ov-file#finpension-importer)
  - PostFinance: [tariochbctools](https://github.com/tarioch/beancounttools/blob/master/src/tariochbctools/importers/postfinance/importer.py), [drnuke-bean](https://github.com/Dr-Nuke/drnuke-bean?tab=readme-ov-file#postfinance-importer-swiss)

- **Großbritannien**

  - Monzo, Revolut, Wise: [Evernight/beancount-importers](https://github.com/Evernight/beancount-importers/)
  - Revolut, Wise: [tariochbctools](https://tariochbctools.readthedocs.io/en/latest/importers.html#revolut)

- **USA**

  - Amex, Chase, Citi, Schwab: [mterwill/gist](https://gist.github.com/mterwill/7fdcc573dc1aa158648aacd4e33786e8#file-importers-amex-py)
  - Capital One: [mtlynch/beancount-capitalone](https://github.com/mtlynch/beancount-capitalone)
  - Chase: [mtlynch/beancount-chase-bank](https://github.com/mtlynch/beancount-chase-bank), [ArthurFDLR/beancount-chase](https://github.com/ArthurFDLR/beancount-chase)
  - Clipper: [beancount-clipper](https://git.sr.ht/~goorzhel/beancount-clipper)
  - Mercury: [mtlynch/beancount-mercury](https://github.com/mtlynch/beancount-mercury)

- **Blockchain**
  - [tariochbctools](https://tariochbctools.readthedocs.io/en/latest/importers.html#blockchain)

### 4. Editor-Unterstützung & Werkzeuge

Werkzeuge zur Integration von Beancount in Ihre Entwicklungsumgebung, um die Bearbeitung und Wartung zu optimieren.

- **IDE-Unterstützung:** Plugins für Syntax-Highlighting, Autovervollständigung und Echtzeit-Saldenprüfung.

  - [VSCode](https://marketplace.visualstudio.com/items?itemName=Lencerf.beancount)
  - [Emacs](https://github.com/beancount/beancount-mode)
  - [Vim](https://github.com/nathangrigg/vim-beancount)
  - [Zed](https://github.com/zed-extensions/beancount)
  - [Sublime Text](https://github.com/norseghost/sublime-beancount)
  - [Atom](https://atom.io/packages/beancount)
  - [Beancount Language Server](https://github.com/polarmutex/beancount-language-server) (für jeden LSP-kompatiblen Editor)

- **Automatisierung & Dienstprogramme:**

  - `bean-add`: Interaktives Hinzufügen von Transaktionen über die Kommandozeile.
  - `beancount-black`: Ein strikter Code-Formatierer für Beancount-Dateien.
  - `beancount-categorizer`: Transaktionen automatisch mithilfe von Regex-Regeln kategorisieren.
  - `beanahead`: Zukünftige Transaktionen verwalten und prognostizieren.

- **Datenmigrations-Tools:** Dienstprogramme zum Konvertieren von Daten aus anderen Buchhaltungssystemen.

  - Von GnuCash: [henriquebastos/gc-to-bc](https://github.com/henriquebastos/gnucash-to-beancount/), [dtrai2/gc-to-bc](https://github.com/dtrai2/gnucash-to-beancount/)
  - Von Ledger/hledger: [travisdahlke/gist](https://gist.github.com/travisdahlke/71152286b0a8826249fe), [zacchiro/ledger2beancount](https://github.com/zacchiro/ledger2beancount)
  - Von YNAB: [hoostus/beancount-ynab](https://github.com/hoostus/beancount-ynab)

### 5. Plugins (Ledger-Erweiterungen)

Python-Module innerhalb des Ledgers, die während der Verarbeitung ausgeführt werden, um benutzerdefinierte Regeln durchzusetzen, Transaktionen zu automatisieren oder neue Funktionen hinzuzufügen.

- **Budgetierung:**
  - [fava-envelope](https://github.com/polarmutex/fava-envelope): Eine Fava-Erweiterung für die Budgetierung nach der Umschlagmethode (Envelope-Budgeting).

- **Automatisierung & Prüfungen:**

  - [autobean.share](https://github.com/SEIAROTg/autobean/tree/master/autobean/share): Ausgabenteilung und Schuldenmanagement.
  - [autobean.sorted](https://github.com/SEIAROTg/autobean/tree/master/autobean/sorted): Stellt sicher, dass Transaktionen chronologisch geordnet sind.
  - [beancount-checkclosed](https://github.com/daniel-wells/beancount_checkclosed): Prüft automatisch auf einen Null-Saldo bei geschlossenen Konten.

- **Datenmanipulation:**

  - [autobean.narration](https://github.com/SEIAROTg/autobean/tree/master/autobean/narration): Erzeugt automatisch Beschreibungen (Narrations) für Transaktionen.
  - [beancount-lazy-plugins.filter\_map](https://github.com/Evernight/beancount-lazy-plugins/tree/main?tab=readme-ov-file#filter_map): Wendet Operationen auf eine gefilterte Gruppe von Transaktionen an.

### 6. Preisquellen

Skripte zum Abrufen historischer und aktueller Kurse für Rohstoffe, Aktien und Währungen, um Anlagewerte zu verfolgen.

- [beancount-exchangerates](https://github.com/xuhcc/beancount-exchangerates): Für Fiat-Währungen über APIs wie `frankfurter.dev`.
- [pricehist](https://gitlab.com/chrisberkhout/pricehist): Ein Preis-Fetcher mit mehreren Quellen.
- [beancount-cryptoassets](https://github.com/xuhcc/beancount-cryptoassets): Zum Abrufen von Kryptowährungskursen.
- [tariochbctools](https://tariochbctools.readthedocs.io/): Enthält eine Preisquelle für Interactive Brokers.

***

## Lernen & Community

### Bücher & Ausführliche Anleitungen

- **Tracking Personal Finances using Python:** Ein Buch, das einen umfassenden Leitfaden für den Aufbau eines persönlichen Finanzsystems mit Beancount bietet. ([Website](https://personalfinancespython.com/))
- **Chinesische Blog-Serie (BYVoid):** [Teil 1: Warum?](https://byvoid.com/zhs/blog/beancount-bookkeeping-1), [Teil 2: Soll & Haben](https://byvoid.com/zhs/blog/beancount-bookkeeping-2)

### Ausgewählte Blog-Beiträge

- **Englisch**

  - [Counting beans - and more - with Beancount](https://lwn.net/Articles/751874/)
  - [Managing Personal Finances using Python](https://sgoel.dev/posts/managing-personal-finances-using-python/)
  - [No-Bullshit Beancount Introduction](https://web.archive.org/web/20221119110728/https://blog.leononame.dev/2019/08/beancount/)

- **Französisch**
  - [Beancount ou la comptabilité pour les hackers](https://cyril.deguet.com/fr/2015/09/03/beancount-comptabilite-pour-hackers/)

- **Chinesisch**
  - [Beancount —— 命令行复式簿记](https://wzyboy.im/post/1063.html)

### Community

- **Mailingliste:** [Google Groups](https://groups.google.com/g/beancount) (Hauptdiskussionsforum)
- **Live-Chat (IRC):** [#beancount auf web.libera.chat](https://web.libera.chat/gamja/?channels=%23beancount)
- **Telegram (Chinesisch):** [t.me/beancount\_zh](https://t.me/beancount_zh)

***

## Kommerzielle Dienste & Apps

Für Nutzer, welche die Möglichkeiten von Beancount nutzen möchten, ohne die Infrastruktur selbst zu verwalten.

| Dienst           | Beschreibung                                                                                                                                                                                                                                                                                        |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Beancount.io** | Eine SaaS-Plattform (Software as a Service), die eine sofort einsatzbereite Beancount- und Fava-Instanz bereitstellt. Sie bietet zudem dedizierte mobile Apps für [iOS](https://apps.apple.com/app/id1527950512) und [Android](https://play.google.com/store/apps/details?id=io.beancount.android). |

## Klartext für deine Buchhaltung.

Erstelle ein Beancount-Kassenbuch oder folge der Anleitung für deine eigene Einrichtung.

[Kostenlos loslegen](https://beancount.io/sign-up/?next=%2Fledger%2F) [Anleitung für den Einstieg](https://beancount.io/de/docs/getting-started)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
