Add accounting to your product
One developer platform for ledger APIs, production Embedded UI packages, App Connect authentication, and governed agent access.

API · UI · APP CONNECT · MCPPick the surface you need
Reference
API documentation
OpenAPI explorer, journal primitives, webhooks, OAuth, and MCP tools.
OpenAPI referenceComponents
Embedded UI
Published npm packages for accounts, journals, banking, reconciliation, and reports.
Embed accounting UIHow it is built
Architecture
Write path, tenant isolation, webhooks, and deployment models — the map reviewers ask for.
How Paprel is builtAgents
MCP and AI
Governed tool access for agents: scoped tokens, draft journals, and audit.
MCP-native accountingIntegration walkthroughs
Authenticate, post a journal, then map billing, marketplace, expense, or white-label flows onto the same ledger.
Post Your First Journal in 5 Minutes
The fastest path to value in Paprel — get sandbox keys, authenticate, post a balanced double-entry journal over REST, and read it back from the ledger.
Authentication: Client Credentials to Access Token
How Paprel API authentication works — choose App Connect or API credentials, exchange credentials for a short-lived OAuth 2.0 access token, and keep every secret off the frontend.
Build Embedded Accounting in 20 Minutes
A guided walkthrough from sandbox keys to a live P&L — extend the chart of accounts, invoice a customer, record a payment, and read the ledger entries back over the API.
SaaS Billing to Accounting: Subscriptions and Revenue
Wire a recurring subscription into real books — a recurring invoice that posts revenue, payment recording, a manual deferred-revenue schedule for annual prepay, and journals you can read back.
Marketplace Accounting: Orders, Commissions, Payouts
How to keep a marketplace's books straight over the API — record each order as one balanced journal that splits gross into seller payable and commission revenue, pay sellers out, and read per-seller balances back from the ledger.
Expense Management: Capture, Approve, Pay, Account
Build the full expense lifecycle over the API — capture a direct expense, raise a vendor bill behind an approval gate, pay it, and read the resulting double-entry journals back from the ledger.
White-Label Platform Setup: Tenants, Access, Accounting
How to run accounting under your own brand — provision a company per customer, define roles against module permissions, issue tenant-scoped OAuth tokens, and hand every tenant a working set of books.
Build a Custom Agent with the Paprel-Hosted MCP Server
Connect a custom TypeScript agent to Paprel's existing tenant-scoped MCP endpoint. No MCP server deployment is required.
What stays true in every deploy
Isolation, reliable writes, and deployment models — the engineering write-ups behind the architecture map.
Tenancy, Isolation, and the Ledger Core
How Paprel is layered — company-per-tenant isolation enforced at the data layer, an append-only double-entry ledger that rejects unbalanced postings, a workflow layer that compiles documents into journals, and reports derived live from the same rows.
Webhooks, Idempotency, and Reliable Writes
How Paprel's write path stays safe under retries — idempotent writes, balanced-or-rejected validation before the ledger, signed webhook delivery, and recovery from authoritative accounting data.
Deployment Models: Managed, White-Label, Private
How Paprel ships — managed multi-tenant with tenant-pinned regions, white-label under your brand with partner attribution, or private deployment in your cloud — and how to choose, with what stays identical across all three.
Evaluate in sandbox
Post a journal before you commit a design
Self-serve keys, no billing. The 5-minute guide is the shortest proof; the OpenAPI spec is the contract.