LedgerHQ API Docs
Public documentation for the LedgerHQ API surface.
LedgerHQ API docs
LedgerHQ public integration docs
These docs cover the public API and MCP surface: firm-level OAuth, company-scoped partner REST, Plaid-connected bank activity, reconciliation, reports, posting resources, and the agent tools that mirror those workflows.
This documentation intentionally excludes older module pages and product areas that are not part of the current public integration contract.
Partner Bookkeeping API
Connect once at the firm level, list companies, pull accounting data, and post transactions through company-path routes.
API Reference
Auth, organization scoping, OpenAPI JSON, Plaid-connected bank activity, reclass, reports, and webhooks.
Integration Flow
List bank transactions, reclassify, reconcile, and pull packet JSON.
MCP Server
OAuth MCP endpoint and current banking/reporting tools for agent workflows.
Banking
Plaid-connected bank transactions, classification, reclass, and reconciliation.
Reports
Financial packet JSON plus supported statement routes.
Accounting Spine
The account and journal-entry primitives behind the workflow.
Current Public Surface
| Area | Public contract |
|---|---|
| Machine-readable spec | GET /api/openapi.json |
| Authentication | Firm-level OAuth for partner apps; API keys remain available for company-bound/manual use |
| Partner company routes | GET /api/v1/companies, then /api/v1/companies/{companyId}/... |
| Bank activity source | Plaid-connected bank/card activity (webhook-driven, internal) lands as bank transactions with sourceType: "plaid_bank_feed" |
| Bank transactions | List by bank account, match, split, reconcile, exclude, and reclassify |
| Reclass | POST /api/v1/bank-transactions/:id/reclassify |
| Reports | GET /api/v1/companies/{companyId}/reports/profit-and-loss and related report routes |
| MCP | OAuth MCP endpoint at /api/mcp with banking/report packet tools |