# formancehq/ledger

The programmable open source core ledger for fintech

Repository: https://github.com/formancehq/ledger
Canonical: https://ross.abutalabs.com/products/formancehq-ledger
Homepage: https://formance.com
Language: Go
License: MIT
License Family: permissive
Topics: ledger
Last push: 2026-08-26T15:47:05+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 82, longevity 100
- inputs: {"age_days": 1923, "days_push": 7, "days_rel": 40, "gap_med": 2, "n_releases_24m": 104}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1365, forks 186 (observed 2026-08-28T04:04:31.200727+00:00)

## What it is
Formance Ledger is an open-source programmable double-entry core ledger for fintech applications, written in Go and backed by PostgreSQL. It supports atomic multi-posting transactions modeled in the Numscript DSL and can run as a standalone microservice or as part of the Formance Platform.

## Use cases
- track user balances in wallets or FBO accounts
- build a digital asset exchange ledger
- record payment flows from acquiring to payout
- manage loan schedules and disbursements
- keep an immutable audit trail of money movement
- self-host a double-entry accounting ledger

## When to choose
- you need atomic, double-entry bookkeeping with multi-currency support
- you want a programmable transaction DSL (Numscript) to model financial flows
- you need an append-only, auditable system of record for regulators
- you want to self-host financial infrastructure under an MIT license

## When to avoid
- you need pre-built PSP connectors, wallets, or reconciliation modules - those are enterprise-only
- you want a simple bookkeeping UI rather than an API-first ledger service
- you cannot operate PostgreSQL and Kubernetes-based deployments
- you need a general-purpose accounting system like ERP or tax accounting

## Facets
- artifact type: service
- maturity: active
- function: database, api-framework, http-server, workflow-automation, analytics
- domain: fintech, databases, backend, self-hosted, apis
- platform: go, self-hosted, cli
- tags: ledger, double-entry-accounting, numscript, fintech, money-movement, multi-currency, postgresql, microservice, audit-trail, docker, kubernetes, linux

## Member repositories
- formancehq/ledger (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.200727+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:16.123247+00:00, confidence not recorded.
  - readme: https://github.com/formancehq/ledger (fetched 2026-08-28T04:04:31.200727+00:00, sha 13e942017a9e)
  - homepage: https://formance.com (fetched 2026-08-29T11:58:41.625883+00:00, sha 4c0e1ca281eb)
  - site_page: https://docs.formance.com/?deployment=cloud&license=ee (fetched 2026-08-29T11:58:41.635146+00:00, sha fb984d5823fa)
  - site_page: https://www.formance.com/about (fetched 2026-08-29T11:58:41.639073+00:00, sha 4dab32a35f4c)
  - site_page: https://docs.formance.com/welcome (fetched 2026-08-29T11:58:41.640987+00:00, sha 2cad64947fb9)
  - site_page: https://www.formance.com/pricing (fetched 2026-08-29T11:58:41.637046+00:00, sha 880d30487a13)
- Data as of 2026-08-30T08:39:29.467469+00:00.
