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.
OpenAPI 3.1, 37 operations.
Base URL https://app.harapro.com/api/v1. The full machine-readable document is served by the API itself.
| Method | Route | What it does |
|---|---|---|
| GET | /api/v1/workspace | This 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/amounts | How 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/businesses | The owner's businesses: id, name, type, ownership, accounting method, active. |
| GET | /api/v1/businesses/{id}/summary | Cash in, cash out, bank balance, unclassified count, what is due in 7 days and attention items for one business. |
| GET | /api/v1/accounts/balances | Live balances of the connected bank accounts, by account and by business, with the last sync time. |
| GET | /api/v1/transactions | Find 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/unclassified | Transactions 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/open | Open invoices grouped by customer with days overdue. |
| GET | /api/v1/invoices/{id}/status | Status of one invoice by number or id, and the deposit that paid it. |
| GET | /api/v1/tax/position | The 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-estimate | One quarterly estimate: the saved amount (null when not calculated yet), the due date and whether it was paid. |
| GET | /api/v1/loans | Open 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/loans | Records a loan or a line of credit that the business owes. |
| GET | /api/v1/loans/calc | Loan 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-payment | The loan a payment belongs to, with principal and interest when recorded, balance after, or the candidate loans. |
| GET | /api/v1/close/checklist | What is still open before a month can be closed for a business. |
| GET | /api/v1/declines | The list of requests Hara declines, with the exact sentence and the screen. |
| GET | /api/v1/investments | Investment 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/assets | Properties (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/insurance | Insurance policies recorded: type, carrier, business, premium, renewal date, and common types not on file. |
| GET | /api/v1/family | The family: people, roles, ages, dependents and the businesses each is linked to. |
| GET | /api/v1/depreciation | The 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-assets | The 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/coverage | Estate documents on file by type, which types are missing, and which businesses are owned by a trust. |
| GET | /api/v1/documents | Search 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/customers | Adds a customer or a vendor to the workspace. |
| POST | /api/v1/invoices | Creates a DRAFT invoice. |
| POST | /api/v1/invoices/{id}/issue | Issues an existing draft invoice: it gets its number and can be emailed. |
| POST | /api/v1/invoices/{id}/send | Emails an invoice that is already issued. |
| POST | /api/v1/recurring-invoices | Creates a recurring invoice. |
| POST | /api/v1/purchase-orders | Creates a DRAFT purchase order. |
| POST | /api/v1/purchase-orders/{id}/approve | Approves an existing draft purchase order. |
| POST | /api/v1/journal-entries | Creates a manual journal entry (one debit and one credit). |
| POST | /api/v1/safes | Records a SAFE or a similar investment the business made. |
| POST | /api/v1/vehicles | Records a vehicle the business owns or leases. |
| POST | /api/v1/entities | Adds 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
- Rate limits: 600 reads an hour and 120 writes an hour, per key. Past the limit the API answers 429 with a
Retry-Afterheader. - Errors: every error is
application/problem+json(RFC 9457), with the request id ininstanceand in theX-Request-Idheader. - Idempotency-Key: required on every write, 1 to 128 characters. Send the same key with the same request and you get the same answer, not a second record.
- Replay: a repeated request returns the recorded answer with
Idempotent-Replayed: true. The same key with a different request is a 422; a request still running is a 409. - Server to server: the API sends no CORS headers. Call it from your backend, never from a browser.
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
| Event | When it is sent |
|---|---|
invoice.paid | An invoice was paid in full. It is sent for payments made through Stripe and recorded on the invoice (data.method is stripe). |
transaction.imported | A bank sync imported new transactions, one event per import. It is sent for accounts connected through Plaid. |
action.confirmed | A 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:
| Event | Fields in data |
|---|---|
invoice.paid | invoiceId, number, customerId, customerName, amountCents, paidAt, method |
transaction.imported | source, businessId, accountId, count, from, to |
action.confirmed | action, source (api, mcp or app), recordType, recordId, summary, amountCents |
Headers and signature
HaraPro-Signature:t=<unix seconds>,v1=<hex>, wherev1is the HMAC-SHA256 oft + "." + rawBodywith your endpoint secret. During the 24 hours after you rotate a secret there are twov1values; accept the request if either matches.HaraPro-Event-Id: the event id. The same event keeps the same id on every retry, so use it to deduplicate.HaraPro-Event-TypeandHaraPro-Delivery-Id: the event type and this delivery.
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
- Answer with any 2xx within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours. The 6th failure is final.
- After 10 failures in a row the endpoint is marked failing. Deliveries already pending keep trying, and one 2xx clears the mark.
- Endpoints must be HTTPS on port 443. Private, loopback and link-local addresses are refused when you add the endpoint and again on every delivery.
- A workspace can have up to 5 active endpoints. Recent deliveries and their status codes are listed in Settings › Developers.
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.