Embed Accounting in Your Product
Start with the API or production Embedded UI, configure App Connect once, and ship ledger-backed workflows with a clear path to production.

API · UI · APP CONNECT · MCPFind your path to building
Try the complete API loop, or jump straight to the docs you need.
Post your first journal
Go from sandbox credentials to a balanced journal you can read back from the ledger.
- Get sandbox credentials
- Post a balanced entry
- Read it back and verify
Self-serve sandbox. No billing required.
How the integration fits together
Three layers, from your product to your customer’s books.
01 · Your Application
Your UX or Embedded UI
Web or mobile clients use your interface; Web Components can supply accounting and reporting screens.
02 · Your Backend
Authenticate and Scope Access
A backend-for-frontend (BFF) handles App Connect credentials server-side. Approved partners also provision companies and mint user sessions through the Partner API.
03 · Paprel Public API
Operate on One Company's Books
Company-scoped tokens reach the ledger, workflows, reports, and controls. Partner provisioning credentials are separate from these accounting calls.
This is the conceptual flow; token transport and permission checks depend on your integration. Read the BFF guide and Partner API overview before implementing authentication. MCP provides scoped agent access to the same books.
From package to first screen
Follow one integration path, then add only the accounting surfaces your product needs.
Embedded UI package release · v0.1.0-beta.1
Prerelease packages for the documented accounting and reporting workflows. Pin exact versions and test upgrades before production; beta releases do not imply a stable compatibility guarantee. Release guidance
Operational accounting
Accounting UI
@paprel/embed-accountingProduction components and typed resources for the daily ledger workflow.
- Accounts
- Journals
- Banking
- Transactions
- Reconciliation
Financial statements
Reporting UI
@paprel/embed-reportsLedger-derived statements that stay inside your application shell.
- Trial balance
- Balance sheet
- Income statement
- Cash flow
- General ledger
Run accounting for your own customers
Provision a company per customer from your backend, then act for its users through short-lived sessions.
Partner access is issued to approved platforms under an agreement. You can evaluate the Public API independently in sandbox.
Integration walkthroughs
Authenticate, post a journal, then map billing, marketplace, expense, or white-label flows onto the same ledger.
Get Credentials and a Company Token
Three ways to get a token that acts in a Paprel company: a client ID and secret, the Organization API or the Partner API, plus App Connect setup.
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
Paprel API authentication: create an App Connect or API credential, exchange it for a short-lived OAuth 2.0 token, and keep secrets off the frontend.
Build Embedded Accounting in 20 Minutes
Run a sandbox accounting walkthrough with resource discovery, captured response IDs, invoice posting, a recorded payment, and ledger inspection.
What stays true in every deploy
Isolation, reliable writes, and deployment models — the engineering write-ups behind the architecture map.
Glossary: Partners, Organizations, Companies and Clients
Paprel glossary: what partners, organizations, companies, member companies, users, clients and API clients mean, and who pays for a company.
Tenancy, Isolation, and the Ledger Core
How Paprel is layered: company-per-tenant isolation at the data layer, an append-only double-entry ledger, and reports derived live from the same rows.
Webhooks, Idempotency, and Reliable Writes
How Paprel keeps writes safe under retries: idempotent payments, duplicate-safe numbering, balanced-or-rejected validation and signed webhook delivery.
Deployment Models: Brand and Hosting
Paprel deployment models explained: shared hosting, dedicated infrastructure and BYOC, with branding and white-label options chosen independently.
Public API contract · v1.1.0 View changelog
Browse by section
Before production
Check the Integration, Not Just the Happy Path
Review credentials, company isolation, retries, signed webhooks, rate limits, and lifecycle handling before launch. Start with the shared checklist; apply the partner checks when you provision companies.
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.