General ledger API

General Ledger API For Platforms

Balanced double-entry journals over REST, an append-only ledger underneath, and a programmable chart of accounts — the same ledger core proven in production today.

Ledger surfaceLive
POST
/v1/accounting/journals

Post a balanced journal — the write primitive everything else compiles down to.

GET
/v1/accounting/journals

Read entries back, filtered by account, reference, or date range.

POST
/v1/accounting/accounts

Provision and extend the chart of accounts — hierarchies, subtypes, currencies.

GET
/v1/accounting/journals/for-entity

Every journal tied to one of your product's entities, by your own ids.

What the ledger guarantees
01

Balanced or rejected

Debits must equal credits at the API boundary. There is no code path that lets an unbalanced journal through.

02

Append-only

Posted entries are never mutated. Corrections are new entries that reference what they correct; reversals preserve the original.

03

Idempotent writes

Retries are deduplicated — resubmitting the same request returns the original result instead of a duplicate entry.

04

Attributable

Review recorded actor and action information, evidence format and retention for your deployment.

The surface

Four primitives cover most ledger work

POST/v1/accounting/journalsPost a balanced journal — the write primitive everything else compiles down to.
GET/v1/accounting/journalsRead entries back, filtered by account, reference, or date range.
POST/v1/accounting/accountsProvision and extend the chart of accounts — hierarchies, subtypes, currencies.
GET/v1/accounting/journals/for-entityEvery journal tied to one of your product's entities, by your own ids.
See it in the books

From document to ledger, rendered

Journal entries generated behind an invoice in the Paprel workspace
The journal behind an invoice — generated by the document, balanced by the ledger.
General ledger detail report grouped by account with journal identifiers and entity links
The general ledger by account: every entry carries an identifier and links back to its source document.
Built on the ledger

Higher-level workflows compile down to journals

Invoices, payments, expenses, and reconciliation all generate balanced journals against the same chart of accounts — which is why reports always tie out. Use the workflow APIs where they fit and drop to raw journals where your domain is unusual.

Then connect the ledger to payments, banks, and your product on the integrations page, or see how it compares to QuickBooks, Xero, and Modern Treasury. For the design decisions behind the API, read the double-entry ledger architecture guide.

Evaluate Paprel

Build in sandbox, launch with a production trial

Use sandbox for developer testing with no billing. When you are ready for real workflows, start production on a monthly plan with a 14-day free trial.

API-First Delivery
Audit-Ready Controls
Sandbox And Guided Rollout