Public page
Product Overview
Understand LedgerLine as accounting infrastructure for connected apps.
/product
OpenGet Started
This is the practical first-run path for developers and operators. LedgerLine gives SaaS and custom apps server-side API-key access to accounting workflows, documents, reports, and developer setup tooling. During early access, some workspace and API-key setup may require manual review. Use this page to reach setup/testing and beta readiness, not as production approval.
Public page
Understand LedgerLine as accounting infrastructure for connected apps.
/product
OpenPublic page
See where LedgerLine fits for SaaS, marketplaces, service platforms, operations tools, and document-heavy apps.
/use-cases
OpenPublic page
Review the marketing-level API overview before reading detailed developer docs.
/accounting-api
OpenPublic page
Start from the public accounting API and docs index.
/developers
OpenPublic page
Read fake setup examples, API auth, webhooks, and boundaries.
/developers/integration-guide
OpenPublic page
Browse read-only endpoint examples without entering real keys.
/developers/api-console
OpenPublic route
Use the manual OpenAPI 3.1 source for route reference.
/developers/openapi.yaml
OpenPublic page
Copy a safe prompt for AI coding tools to add server-side LedgerLine calls.
/developers/ai-install-prompt
OpenPublic page
Browse public workflow recipes for money-in, money-out, documents, reports, settings, webhooks, errors, and test/live keys.
/developers/recipes
OpenPublic page
Review active and planned event types, webhook signatures, idempotency, and retry guidance.
/developers/webhooks
OpenPublic page
Review /api/v1 versioning, changelog, deprecation, OpenAPI, SDK, and webhook compatibility guidance.
/developers/changelog
OpenPublic page
Understand what creates ledger impact, what stays operational, and how reversals preserve history.
/developers/accounting-model
OpenPublic page
Review API-key safety, scope isolation, rate limits, storage posture, RLS/Storage boundaries, and production gates.
/developers/security
OpenFirst-run flow
LedgerLine is API-first accounting infrastructure. Connected apps send customers, invoices, payments, vendors, bills, documents, and events while LedgerLine maintains ledgers, A/R, A/P, reports, documents, and 1099 support.
Create a LedgerLine account or sign in, then create or join an organization. Organization setup happens inside the authenticated dashboard.
After signing in, create or open an organization, then create a connected app from the dashboard. Connected apps can use separate test and live environments.
Create a test API key for your connected app. Raw API keys are shown once only, must stay server-side, and should never be committed or embedded in browser code. Test keys start with ll_test_; live keys start with ll_live_.
Use connected-app module toggles to mark intended workflows such as customers, estimates, invoices, payments, documents, reports, webhooks, embedded settings, customer portal, vendors, bills/A/P, and 1099 summary. These toggles are setup guidance with soft warnings today, not billing enforcement or hard API gates. A future hard-enforcement phase may return module_disabled for disabled modules after separate rollout work.
Dashboard launch and integration pages provide placeholder-safe snippets for app-server setup. Keep real values in server-side environment variables only.
LEDGERLINE_BASE_URL=https://your-ledgerline-domain.com
LEDGERLINE_API_KEY=ll_test_replace_me
LEDGERLINE_WEBHOOK_SECRET=whsec_test_replace_meStart with the read-only auth check from your app server. The API key determines the organization, connected app, and environment.
GET /api/v1/auth/check
Authorization: Bearer ll_test_replace_meOnce setup is healthy, start with the read-only Next.js starter, then use opt-in test-mode workflow scripts for money-in and money-out, and the fake-only webhook receiver for signature and idempotency patterns.
After a local, preview, or staging app is configured and running, use the read-only smoke script. API-key checks are optional and skipped when no smoke API key is provided.
LEDGERLINE_SMOKE_BASE_URL=https://your-preview-url.example npm run smoke:check
LEDGERLINE_SMOKE_BASE_URL=https://your-preview-url.example LEDGERLINE_SMOKE_API_KEY=ll_test_replace_me npm run smoke:checkBefore beta, configure env vars, apply migrations, create private buckets, configure the platform admin allowlist, run /api/health, run smoke checks, run RLS/Storage dry-run, and complete manual smoke/security QA. Production still requires rollout planning.
Integration Quickstart
Work through these tracks in order. They keep real secrets server-side, separate read-only checks from opt-in test mutations, and make the accounting impact visible before any production setup claim.
Clone or copy the server-side starter first. It proves env loading, auth check, and read-only report calls without creating records.
examples/nextjs-ledgerline-starter
Run only after configuring a non-placeholder test key and explicit opt-in. These scripts create fake test records and show the full posting path.
examples/test-mode-workflows
Use the fake-only receiver to understand signature verification, fast 2xx handling, and durable idempotency requirements.
examples/webhook-receiver
Before beta, verify which calls are operational only, which calls post journals, and how reports should tie back to source records.
/developers/accounting-model
Core Workflows
Before Beta / Production
Product Truth
Developer Docs
After the first-run path, use recipes, the accounting model, security notes, OpenAPI, and the read-only API Reference to deepen the integration.
Browse the technical LedgerLine developer documentation hub.
Open docs homeReview server-side API keys, first calls, webhooks, errors, and boundaries.
Read guideBrowse read-only route groups, fake examples, SDK snippets, and response shapes.
Open referenceDownload the manual OpenAPI 3.1 source for the public API.
View specPreserved bridge to the Build with AI prompt library.
Open bridgeUse workflow examples for money-in, money-out, documents, and reports.
Browse recipesReview event schemas, idempotency, webhook signatures, and active/planned events.
Review eventsReview API versioning, changelog, deprecation, and compatibility policy.
Review policyUnderstand posting, reversals, A/R, A/P, reports, and documents.
Read modelReview API-key safety, scope isolation, storage, rate limits, and gates.
Read securityUse the guided setup planner when you are not sure which endpoints you need.
Open planner