---
id: "double-entry-ledger"
type: "component"
kind: "ledger"
provider: "default"
category: "data"
docs: "https://en.wikipedia.org/wiki/Double-entry_bookkeeping"
url: "https://localhost:3000/catalogue/components/double-entry-ledger"
---

# Double-entry ledger

In-house append-only double-entry ledger over a relational store.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Ledger](https://localhost:3000/catalogue/kinds/ledger) |
| Category | Data |
| Official docs | [https://en.wikipedia.org/wiki/Double-entry_bookkeeping](https://en.wikipedia.org/wiki/Double-entry_bookkeeping) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `appendOnly` | boolean | — | no | true | **true** |
| `backingStore` | ref | — | no | — | inherited |
| `doubleEntry` | boolean | — | no | true | **true** |
| `indexConsistency` (advanced) | enum | `strong`, `eventual` | no | "strong" | **"strong"** |
| `managed` | boolean | — | no | false | inherited |
| `multiCurrency` | boolean | — | no | false | inherited |
| `sealed` (advanced) | boolean | — | no | false | **false** |
| `tamperEvident` | boolean | — | no | false | **false** |
| `tiering` (advanced) | boolean | — | no | false | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 10

- [Blockchain as a Service](https://localhost:3000/catalogue/components/alibaba-blockchain-as-a-service.md) `alibaba-blockchain-as-a-service` — alibabacloud
- [Amazon Managed Blockchain network](https://localhost:3000/catalogue/components/aws-managed-blockchain.md) `aws-managed-blockchain` — aws
- [Amazon QLDB](https://localhost:3000/catalogue/components/qldb.md) `qldb` — aws
- [Azure confidential ledger](https://localhost:3000/catalogue/components/azure-confidential-ledger.md) `azure-confidential-ledger` — azure
- [Formance Ledger](https://localhost:3000/catalogue/components/formance.md) `formance` — default
- [Hyperledger Fabric](https://localhost:3000/catalogue/components/hyperledger-fabric.md) `hyperledger-fabric` — default
- [Generic ledger](https://localhost:3000/catalogue/components/ledger.md) `ledger` — default
- [TigerBeetle](https://localhost:3000/catalogue/components/tigerbeetle.md) `tigerbeetle` — default
- [Blockchain Node Engine](https://localhost:3000/catalogue/components/google-blockchain-node-engine.md) `google-blockchain-node-engine` — gcp
- [Oracle Blockchain Platform](https://localhost:3000/catalogue/components/oci-blockchain-platform.md) `oci-blockchain-platform` — oci

## Use it in a design

```yaml
nodes:
  - { id: "double-entry-ledger", component: "double-entry-ledger" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Generic in-house double-entry ledger: append-only postings over a relational store, balances
# derived from postings.
schemaVersion: "1"
type: "component"
id: "double-entry-ledger"
kind: "ledger"
provider: "default"
docs: "https://en.wikipedia.org/wiki/Double-entry_bookkeeping"
defaults:
  doubleEntry: true
  appendOnly: true
  tamperEvident: false
  sealed: false
  indexConsistency: "strong"
properties:
  backingStore:
    type: "ref"
    refKind: "sql-database"
  multiCurrency:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/double-entry-ledger
