Accounting Ledger API

The general ledger: cost of sales, stock value, postings, the trial balance and the accounting software it sends to.

The general ledger, and the other ledgers kept in step with it. Its ledgers are its own journal: the external books ledger apps connect, the merchant's settings and account map, and every journal planned from the postings with how the other ledger answered. Everything else is derived: it replays the inventory, purchasing, and fulfillment event logs and folds them into cost layers (per the SKU's costing method — fifo, fefo, special-batch, special-serial) and an append-only cost of sales ledger. Cost is captured when a purchase invoice is authorised; cost of sales is recognised when a dispatch is authorised; late invoices and landed costs post corrections, never rewrites. Beside the cost of sales ledger it keeps the general ledger: one balanced double-entry posting per fact that moved money — stock in, cost of sales, supplier invoices, sales invoices, payments, refunds — by account code, with a trial balance over any period.

Base URL
https://accounting.getmanifold.io
Auth
A bearer token on every call. See the quickstart.
OpenAPI
accounting-manager.openapi.json

ledger

The append-only cost of sales ledger, derived by replay.

postings

The general ledger: balanced double-entry postings derived from the journals.

valuation

Inventory valuation from open cost layers.

ledgers

The other ledgers kept in step with the general ledger, and what has reached them.

books

The books' period lock: what was done on or before it stays final.

events

Accounting's append-only event log: the ledgers it keeps in step.

replica

Operational visibility into the logical-replication read replica.