Developers & API

Everything the app can do, you can do from a script. Same endpoints, your own API key.

21 guides

Anatomy of an API request

GET https://bareledger.app/api/v1/reports/trial-balance
Authorization: Bearer <your API key>
X-Tenant: <organization id>
Accept: application/json
  1. 1One base URL, one version. Everything lives under /api/v1/, the same endpoints the web and mobile apps use.
  2. 2Your API key is the bearer token. Create it under My profile → API keys. It acts as you, with your permissions.
  3. 3Say which organization. The tenant header picks the set of books. Copy the id from Organization settings (masked until you confirm an emailed code); only organizations you are registered in are ever visible.
  4. 4JSON in, JSON out. Predictable pagination, ISO-8601 dates, and a consistent error shape.
Read-only or read & write keys Optional expiry Revoke any time Same rate limits as the app

Endpoint reference

Every endpoint group, with methods, paths, permissions, and side effects.

Reference

Auth & Onboarding

Register, log in with or without two-factor, manage sessions, and create your first organization — the calls every integration starts with.

Read guide
Reference

Organization & Team

Organization settings, branches, departments and projects, team members, roles and per-member access overrides.

Read guide
Reference

Chart of Accounts & Periods

Create and manage your chart of accounts, accounting periods, numbering sequences, and exchange rates via the API.

Read guide
Reference

Journal Entries

Create, submit, review, approve and reverse manual journal entries, and read the workflow history behind each one.

Read guide
Reference

Sales & Receivables

Contacts, products, quotations, sales orders, invoices, credit and debit notes.

Read guide
Reference

Purchases & Payables

Bills, vendor credits, supplier payments and recurring bills — record what you owe and settle it through the approval workflow.

Read guide
Reference

Expenses API

Create, submit, review, approve and reverse expense records, attach receipts, and read an expense back with its workflow history.

Read guide
Reference

Bank & Reconciliation API

Bank accounts, statement imports, reconciliation sessions, suggested matches and bank rules, in the order a reconciliation actually runs.

Read guide
Reference

Reports API

Every financial report endpoint — trial balance, ledger, statements, aging, tax summary — with filters and export formats.

Read guide
Reference

Billing & Subscriptions

Plans, checkout, subscription state, usage against plan limits, add-ons and billing invoices for your own BareLedger subscription.

Read guide
Reference

Compliance & Tax API

Statutory filings, tax registrations, withholding certificates and e-invoice files — generate, override, finalize and mark filed.

Read guide
Reference

Attachments

Upload, list, download and delete the files attached to invoices, bills, expenses and journals, with the size and type limits that apply.

Read guide
Reference

Audit & Meta

Query the append-only audit trail by record, actor or date, plus the metadata endpoints that describe how your organization is configured.

Read guide

Ready to try it yourself?

Create your free account in minutes. Every feature is included on every plan, and nothing posts without a second pair of eyes.

Get started free