AI powered by Claude

The HaraPro API

The same read layer Hara uses, as a REST API. API keys per workspace, read and write scopes, webhooks.

Get a key

Start with one request.

Settings › Developers in your HaraPro workspace. Owners and admins create keys; only the owner can allow writes. A key belongs to the workspace, not to a person, and is shown once.

Read

curl -H "Authorization: Bearer <your key>" https://app.harapro.com/api/v1/businesses

Write

curl -X POST https://app.harapro.com/api/v1/journal-entries \
  -H "Authorization: Bearer <your key>" \
  -H "Idempotency-Key: <unique id>" \
  -H "Content-Type: application/json" \
  -d '{"businessId":"<business id>","date":"2026-01-31","description":"Example entry","debitCategory":"Office Supplies","creditCategory":"Utilities","amountCents":12500}'

Amounts, in requests and in answers, are integers in cents.

A write made with a key that has the write scope is saved at once: the scope is the confirmation, and the request runs the same checks as the Approve button in the app. Writes through an AI tool (MCP) are different: each action waits for the user to confirm it.
Reference

OpenAPI 3.1, 37 operations.

Base URL https://app.harapro.com/api/v1. The full machine-readable document is served by the API itself.

MethodRouteWhat it does
GET/api/v1/workspaceThis workspace: its name, plan, the active businesses (id and name), today's date and time zone on the server, and the server version.
GET/api/v1/amountsHow to read what the other tools return: the unit of money, the periods they accept and what is not on the server.
GET/api/v1/businessesThe owner's businesses: id, name, type, ownership, accounting method, active.
GET/api/v1/businesses/{id}/summaryCash in, cash out, bank balance, unclassified count, what is due in 7 days and attention items for one business.
GET/api/v1/accounts/balancesLive balances of the connected bank accounts, by account and by business, with the last sync time.
GET/api/v1/transactionsFind transactions by vendor text, amount, dates, category or business, with the totals in and out; groupBy category, vendor, month or business gives totals per group.
GET/api/v1/transactions/unclassifiedTransactions missing a business, category or tax tag, newest first.
GET/api/v1/transactions/{id}One transaction with its category, tax tag, business and the rule that matched it.
GET/api/v1/invoices/openOpen invoices grouped by customer with days overdue.
GET/api/v1/invoices/{id}/statusStatus of one invoice by number or id, and the deposit that paid it.
GET/api/v1/tax/positionThe projected tax of the year as the Tax Center last saved it (with its age), the quarterly estimates paid so far and the next one still open.
GET/api/v1/tax/quarterly-estimateOne quarterly estimate: the saved amount (null when not calculated yet), the due date and whether it was paid.
GET/api/v1/loansOpen loans and mortgages (the result says the year of the paid-this-year and interest figures): balance, rate, monthly payment, paid this year, last payment, estimated next payment, loans due in 30 days and interest paid this year by business.
POST/api/v1/loansRecords a loan or a line of credit that the business owes.
GET/api/v1/loans/calcLoan arithmetic done on the server: a NEW loan (principalCents, ratePct, years) returns the monthly payment, total interest and payoff date; an existing one (balanceCents, ratePct, monthlyPaymentCents) with an extra payment returns the change.
GET/api/v1/loans/for-paymentThe loan a payment belongs to, with principal and interest when recorded, balance after, or the candidate loans.
GET/api/v1/close/checklistWhat is still open before a month can be closed for a business.
GET/api/v1/declinesThe list of requests Hara declines, with the exact sentence and the screen.
GET/api/v1/investmentsInvestment positions with value, cost basis and unrealized gain or loss, open lots with purchase date and basis, realized gains this year, brokerage accounts.
GET/api/v1/assetsProperties (cost, value, loan, equity), vehicles, alternative investments (oil and gas, SAFEs, notes, real estate partnerships) with capital in and returned, and the recorded net worth and debt to equity.
GET/api/v1/insuranceInsurance policies recorded: type, carrier, business, premium, renewal date, and common types not on file.
GET/api/v1/familyThe family: people, roles, ages, dependents and the businesses each is linked to.
GET/api/v1/depreciationThe depreciation of a tax year across rentals, equipment and vehicles from the app's own engine: per asset annual, accumulated and net book value, the total, and what was skipped and why.
GET/api/v1/fixed-assetsThe vehicles and the equipment of the books, one row each: cost, the date it went into service, the depreciation method and life, and the depreciation of the year, the accumulated amount and the net book value, computed by the same function as the Form 4562.
GET/api/v1/estate/coverageEstate documents on file by type, which types are missing, and which businesses are owned by a trust.
GET/api/v1/documentsSearch the documents on file (uploaded documents, tax forms, estate drafts: the Vault index) by words in the title, type or year: returns title, kind, year and date.
POST/api/v1/customersAdds a customer or a vendor to the workspace.
POST/api/v1/invoicesCreates a DRAFT invoice.
POST/api/v1/invoices/{id}/issueIssues an existing draft invoice: it gets its number and can be emailed.
POST/api/v1/invoices/{id}/sendEmails an invoice that is already issued.
POST/api/v1/recurring-invoicesCreates a recurring invoice.
POST/api/v1/purchase-ordersCreates a DRAFT purchase order.
POST/api/v1/purchase-orders/{id}/approveApproves an existing draft purchase order.
POST/api/v1/journal-entriesCreates a manual journal entry (one debit and one credit).
POST/api/v1/safesRecords a SAFE or a similar investment the business made.
POST/api/v1/vehiclesRecords a vehicle the business owns or leases.
POST/api/v1/entitiesAdds a business to the workspace (subject to the limit of the plan).

25 reads (GET) and 12 writes (POST). The table is generated from the OpenAPI document, so it always matches what the API serves.

Limits and errors

Webhooks

Know when something happens.

HaraPro sends a signed HTTPS POST to your endpoint when something happens in the workspace. Add an endpoint in Settings › Developers (owners and admins), choose the events, and copy the signing secret, which is shown once.

Events

EventWhen it is sent
invoice.paidAn invoice was paid in full. It is sent for payments made through Stripe and recorded on the invoice (data.method is stripe).
transaction.importedA bank sync imported new transactions, one event per import. It is sent for accounts connected through Plaid.
action.confirmedA change was confirmed and saved: a REST write, an MCP confirmation, or the Approve button in the app.

The Send test button on an endpoint sends a ping event to that endpoint only.

Payload

{
  "id": "evt_<24 hex characters>",
  "type": "invoice.paid",
  "createdAt": "2026-11-14T15:04:05.000Z",
  "tenantId": "<workspace id>",
  "data": {
    "invoiceId": "<invoice id>",
    "number": 1042,
    "customerId": "<customer id>",
    "customerName": "Example Customer LLC",
    "amountCents": 250000,
    "paidAt": "2026-11-14T15:04:00.000Z",
    "method": "stripe"
  },
  "money": "cents",
  "version": 1
}

Every payload has id, type, createdAt, tenantId, data, money (always cents) and version. The data object depends on the event:

EventFields in data
invoice.paidinvoiceId, number, customerId, customerName, amountCents, paidAt, method
transaction.importedsource, businessId, accountId, count, from, to
action.confirmedaction, source (api, mcp or app), recordType, recordId, summary, amountCents

Headers and signature

var crypto = require('crypto');
function verify(rawBody, signatureHeader, secret) {
  var parts = signatureHeader.split(',');
  var t = parts[0].split('=')[1];
  if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
  var want = crypto.createHmac('sha256', secret).update(t + '.' + rawBody).digest();
  return parts.slice(1).some(function (p) {
    var got = Buffer.from(p.split('=')[1] || '', 'hex');
    return got.length === want.length && crypto.timingSafeEqual(got, want);
  });
}
// rawBody: the request body exactly as received, before JSON.parse.
// signatureHeader: the HaraPro-Signature header. secret: your whsec_ secret.

Reject a request when t is more than 5 minutes from your clock.

Delivery and retries

Connect your AI tools

Hara, inside your AI tools.

HaraPro runs an MCP server at app.harapro.com/mcp, so Claude, Cursor and other AI tools can read your books, and act on them only with your confirmation. Sign in with OAuth from Claude.ai, or create a personal token in Settings › Developers for Claude Code, Claude Desktop and Cursor.

Claude Code

claude mcp add --transport http harapro https://app.harapro.com/mcp --header "Authorization: Bearer <your token>"

Claude Desktop and Cursor

Add this to the MCP servers file of the app. It uses mcp-remote to reach the server with your token.

{
  "mcpServers": {
    "harapro": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://app.harapro.com/mcp", "--header", "Authorization: Bearer <your token>"]
    }
  }
}

Claude.ai

Settings › Connectors › Add custom connector › URL https://app.harapro.com/mcp. No token is needed; you are asked to sign in to HaraPro.

Read-only is the default. A connection or token can be allowed to propose actions, and each action still waits for your confirmation. Tokens are shown once, stored only as a hash and can be revoked at any time. MCP, the API and webhooks are included on every paid plan.