Every path lives under https://api.cashplannr.com/public/v1. Every list also has a detail per id. The reference lists the fields, the scope and examples for each endpoint.
Who you are, which account, which modules, which endpoints this token may use and with which limits.
The companies (legal entities) of the account, and starting a sync of one company.
Bank lines, invoices, commitments and forecasts. Create, change, push under your own code, change in bulk, and link an expected item to the payment that settles it.
Recurring series, such as a subscription or rent, with a daily, weekly, monthly or yearly rhythm.
Parties: customers and suppliers, with VAT number, IBAN and payment terms. Merging two parties too.
Categories and payment terms per company.
The cash position at a date, the cash flow per period and the open invoices. The same calculation as the screens in Cashplannr.
Read scenarios and compare them with the base forecast; budgets and their amounts per category. Budgets need the budget module.
Read real estate projects, units and unit types, and push units from your own sales system. Needs the project module.
Bank balances per account and per day, and general ledger accounts, from your own source.
The connections with your accounting and bank, starting a sync and following its progress.
Changes an AI assistant has proposed that are waiting for the user to confirm them.
Not available yet: creating companies and bank accounts (POST /tenants and /bank_accounts answer 501 not_implemented). Creating or changing projects, scenarios and budgets is only possible through the MCP server today, as a proposal.
An integration uses OAuth2 client_credentials. The token is valid for 1 hour; then request a new one with the same credentials. The scopes and companies a client may see are set on the client, whatever you ask for when you request the token.
An AI assistant uses the authorization code flow with PKCE, on behalf of a user. Such a token reads everything that user may see and can only propose changes.
A token sees one account. account:read reads everything that account may see; writing is per resource (transactions:write, companies:write, ...). Use tenant_ids[] to limit a request to certain companies.
Budgets need the budget module, projects the project module. Without that module you get 403 feature_locked.
Every list returns {data, meta} and is paginated with page and per_page (default 50, at most 200). Use q to search by text.
Query parameters are strict: an unknown key gets 422 unknown_query_parameter with the valid keys. An unknown field in a body gets 422 unknown_field.
Send an Idempotency-Key with a POST. A repeat within 48 hours returns the same answer, with the header Idempotent-Replayed: true, and runs nothing again.
Pushing data under your own code? Use PUT .../external/{source}/{external_id}. The first call creates the record (201), later calls update it (200, with meta.outcome updated or unchanged).
Up to 500 items per call for transactions, parties, categories and units; up to 10,000 for balances and general ledger accounts. Each item is handled on its own: 200 when all succeeded, 207 with the result per item when something failed.
Batches are for integrations only, not for an AI assistant.
When an AI assistant writes, nothing changes. The answer is 202 with a proposal: what would change, a confirm_url and an expiry time. The user confirms or declines within 10 minutes.
Follow proposals with GET /proposals and withdraw one with POST /proposals/{id}/withdraw.
Amounts are integers in euro cents, in a field ending in _cents. An amount is always positive; direction (in or out) sets the sign. Dates are ISO (YYYY-MM-DD).
Bank lines (actual) and open invoices (outstanding) can only be pushed by an integration. Forecasts, commitments and suggestions can be created by anyone with the right scope.
600 calls per minute per client, 60 per minute on heavy routes such as cash flow, cash position and batches. On 429 rate_limited, Retry-After tells you when to try again.
Every error has the same shape: {error: {code, meaning, next_step, details}}. Send an X-Request-Id (UUID); we echo it back so support can find your call.
A sync of a connection or a company answers 202 with a job. Follow it with GET /jobs/{id} until its state is succeeded or failed.
The version is in the path: /public/v1. New fields and endpoints are added within v1, so ignore keys you do not know. The OpenAPI specification is the contract.
The MCP server gives an AI assistant such as Claude or ChatGPT access to Cashplannr, on behalf of a user. Every tool calls an endpoint of the Cashplannr API, with the same permissions, modules and calculations as the screens in Cashplannr.
Reading happens right away. A change becomes a proposal the user confirms: on the card that appears under the assistant's answer, or in Cashplannr. The assistant never confirms on its own.
Are you a user who just wants to connect? Read how to connect Cashplannr to Claude or ChatGPT.
The server is at https://api.cashplannr.com/api/mcp and uses the Streamable HTTP transport (POST).
Today you can sign in from Claude (web, desktop and mobile) and ChatGPT. Clients that sign in with a local or custom redirect address are not accepted yet.
OAuth 2.1: the client finds everything through the discovery documents and registers itself. Then the user signs in to Cashplannr and approves the connection. An access token is valid for 1 hour, a refresh token for 30 days.
The user revokes access under Setup, Connected apps.
GET https://api.cashplannr.com/.well-known/oauth-authorization-server
authorization_endpoint https://api.cashplannr.com/oauth/authorize
token_endpoint https://api.cashplannr.com/oauth/token
registration_endpoint https://api.cashplannr.com/oauth/register
grant_types_supported authorization_code, refresh_token
code_challenge_methods S256
scopes_supported mcp:use 120 calls per minute per user on the MCP server, on top of the API limits. A list tool returns 25 rows per call by default and at most 100; a bulk change covers at most 500 transactions.
A proposal expires after 10 minutes. Amounts are in euro cents, dates in ISO.
For every tool call a technical log: time, tool, user, company, outcome, duration and the client. Never the question or the answer. That log is deleted after 3 months.
The server also offers a guide as a resource (cashplannr://kennis/...) and the proposal card as an MCP App (ui://cashplannr/proposal-card).
Every tool has a title and the hints readOnlyHint, destructiveHint and openWorldHint. Budget tools need the budget module, project tools the project module.
| Tool | What it does | Endpoint (/public/v1) |
|---|---|---|
| list_tenants | The companies of the account. | GET /tenants |
| list_transactions | Transactions, filtered by period, type, direction, party, category and project. | GET /transactions |
| get_transaction | One transaction with all its fields. | GET /transactions/{id} |
| get_cash_position | The balance at the end of a day: booked for the past, projected for today and later. | GET /cash_position |
| get_cashflow | In, out and net per day, week, month, quarter or year. | GET /cashflow |
| list_outstanding_invoices | Open invoices from customers and to suppliers, also grouped per party, category or month. | GET /outstanding_invoices |
| list_categories | The categories per company. | GET /categories |
| list_companies | Customers and suppliers. | GET /companies |
| list_scenarios | The scenarios per company. | GET /scenarios |
| compare_scenario | What a scenario means for cash: end balance, lowest point and difference per period. | GET /scenarios/{id}/compare |
| list_budgets | Budgets with period, versions and state. Needs the budget module. | GET /budgets |
| get_budget_sources | Amounts per category of a budget, or the actual figures of a year. Needs the budget module. | GET /budgets/{id}/sources |
| list_projects | Real estate projects. Needs the project module. | GET /projects |
| list_project_units | The units of a project, with price, floor area and sale dates. | GET /projects/{id}/units |
| list_project_unit_types | The unit types of a project. | GET /projects/{id}/unit_types |
| get_job | Follow the state of a job, for example the activation of a project. | GET /jobs/{id} |
| Tool | What it does | Endpoint (/public/v1) |
|---|---|---|
| create_transaction | Add a planned or committed transaction. | POST /transactions |
| create_recurring_transaction | Add a recurring series. | POST /recurrences |
| update_transaction | Change a transaction. On bank and invoice lines only description, category and party. | PATCH /transactions/{id} |
| delete_transaction | Archive a planned transaction. | PATCH /transactions/{id} |
| bulk_update_transactions | Give up to 500 transactions another category, party or date at once. | POST /transactions/bulk_update |
| create_scenario | Create a scenario. | MCP only |
| update_scenario | Change the name or description of a scenario. | MCP only |
| create_budget | Create a budget. Needs the budget module. | MCP only |
| seed_budget | Fill a budget from earlier periods or another budget. | MCP only |
| update_budget | Change the amounts or details of a budget. | MCP only |
| create_project | Create a project. Needs the project module. | MCP only |
| update_project | Change the details of a project. | MCP only |
| create_project_units | Add units to a project being set up, with the land share, land VAT, land company and construction company for each new unit type. | MCP only |
| update_project_unit_type | Change a unit type of a project being set up: land share, VAT and companies. | MCP only |
| update_project_unit | Set one unit of a project being set up or a running project apart from its unit type: land amount, companies and land VAT. Leaving a field empty sets it back to the unit type. On a running project the unit's planned payments are rebuilt. | MCP only |
| create_project_phases | Add phases to a project being set up. | MCP only |
| create_project_costs | Add costs to a project being set up. | MCP only |
| update_project_billing | Set the billing milestones per unit type. | MCP only |
| create_project_loan | Add a project loan. | MCP only |
| activate_project | Activate a project being set up. It runs in the background; follow it with get_job. Without a name, unit type or construction phase it answers project_not_ready. | MCP only |
| register_unit_sale | Register the sale of a unit of a running project: compromise date, deed date, price, VAT, the buyer by name and the units sold along with it. A unit that is sold already answers unit_already_sold. | MCP only |
| update_unit_sale | Change a registered sale: set the deed date later, correct the compromise date or change the buyer. A sale cannot be undone here; a unit without a sale answers unit_not_sold. | MCP only |
| update_expected_unit_sale | Change the expected sale date and price of an unsold unit. A sold unit answers unit_already_sold. | MCP only |
We create the client for you. Tell us which companies and which scopes your integration needs; you receive a client_id and a client_secret, which you only get to see once.
An AI assistant needs no credentials: you connect from the assistant itself.