Developers · Cashplannr API

Build on Cashplannr.

With the Cashplannr API you read the figures of an account, push data from your own ERP, accounting or CRM, and change what your integration manages. An AI assistant connects through the MCP server: it reads the same figures and only makes changes as proposals.

API reference→ Swagger UI MCP server
v1OAuth 2.0OpenAPI 3.1MCP
curl · public/v1
# 1. Get a token (valid for 1 hour)
curl -X POST https://api.cashplannr.com/oauth/token \
  -d grant_type=client_credentials \
  -d client_id=$CLIENT_ID \
  -d client_secret=$CLIENT_SECRET

# 2. Push an open invoice under its number in your system
curl -X PUT https://api.cashplannr.com/public/v1/transactions/external/my-erp/INV-2026-0412 \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tenant_id": 12,
    "type": "outstanding",
    "direction": "in",
    "amount_cents": 1210000,
    "pay_date": "2026-11-20",
    "invoice_number": "VF-2026-0412"
  }'
What the API covers

Read, push and change. One contract.

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.

discovery

Who you are, which account, which modules, which endpoints this token may use and with which limits.

  • GET /
  • GET /ping
tenants

The companies (legal entities) of the account, and starting a sync of one company.

  • GET /tenants
  • GET /tenants/{id}
  • POST /tenants/{id}/sync
transactions

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.

  • GET /transactions
  • GET /transactions/{id}
  • POST /transactions
  • PATCH /transactions/{id}
  • PUT /transactions/external/{source}/{external_id}
  • POST /transactions/batch
  • POST /transactions/bulk_update
  • POST /transactions/{id}/match
recurrences

Recurring series, such as a subscription or rent, with a daily, weekly, monthly or yearly rhythm.

  • GET /recurrences
  • GET /recurrences/{id}
  • POST /recurrences
  • PATCH /recurrences/{id}
  • PUT /recurrences/external/{source}/{external_id}
companies

Parties: customers and suppliers, with VAT number, IBAN and payment terms. Merging two parties too.

  • GET /companies
  • GET /companies/{id}
  • POST /companies
  • PATCH /companies/{id}
  • PUT /companies/external/{source}/{external_id}
  • POST /companies/batch
  • POST /companies/{id}/merge
categories · payment_terms

Categories and payment terms per company.

  • GET /categories · /payment_terms
  • GET /categories/{id} · /payment_terms/{id}
  • POST /categories · /payment_terms
  • PATCH /categories/{id} · /payment_terms/{id}
  • PUT /categories/external/{source}/{external_id}
  • PUT /payment_terms/external/{source}/{external_id}
  • POST /categories/batch
cash

The cash position at a date, the cash flow per period and the open invoices. The same calculation as the screens in Cashplannr.

  • GET /cash_position
  • GET /cashflow
  • GET /outstanding_invoices
  • GET /outstanding_invoices/{id}
scenarios · budgets

Read scenarios and compare them with the base forecast; budgets and their amounts per category. Budgets need the budget module.

  • GET /scenarios
  • GET /scenarios/{id}
  • GET /scenarios/{id}/compare
  • GET /budgets
  • GET /budgets/{id}
  • GET /budgets/{id}/sources
projects

Read real estate projects, units and unit types, and push units from your own sales system. Needs the project module.

  • GET /projects
  • GET /projects/{id}
  • GET /projects/{id}/units
  • GET /projects/{id}/units/{unit_id}
  • GET /projects/{id}/unit_types
  • GET /projects/{id}/unit_types/{unit_type_id}
  • POST /projects/{id}/units
  • POST /projects/{id}/units/batch
  • PUT /projects/{id}/external_code
balances · gl_codes

Bank balances per account and per day, and general ledger accounts, from your own source.

  • POST /balances
  • POST /balances/batch
  • POST /gl_codes
  • POST /gl_codes/batch
connections · jobs

The connections with your accounting and bank, starting a sync and following its progress.

  • GET /connections
  • GET /connections/{id}
  • POST /connections/{id}/sync
  • GET /jobs/{id}
proposals

Changes an AI assistant has proposed that are waiting for the user to confirm them.

  • GET /proposals
  • GET /proposals/{id}
  • POST /proposals/{id}/withdraw

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.

How it works

The rules that apply to every endpoint.

Two kinds of tokens

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.

Account and companies

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.

Lists and filters

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.

Safe retries

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).

Batches

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.

Proposals instead of changes

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, dates and types

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.

Limits and errors

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.

Syncs run asynchronously

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.

Version

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.

Documentation
MCP server

Cashplannr in your AI assistant.

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.

Connecting

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.

Authentication

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

Limits

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.

What we log

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).

Tools

Every tool has a title and the hints readOnlyHint, destructiveHint and openWorldHint. Budget tools need the budget module, project tools the project module.

Read Answer right away.
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}
Proposals Change nothing: they create a proposal the user confirms.
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

Example: moving a payment

  1. The user asks in Claude: "How much cash will I have on 31 December, and move the planned payment to Peeters to January."
  2. The assistant calls get_cash_position with at_date 2026-12-31 and gets the balance per company and in total, in cents.
  3. The assistant finds the payment with list_transactions (q Peeters, direction out) and calls update_transaction with the id and a new pay_date.
  4. The answer is a proposal with status staged, a confirm_url and expires_at. The card with the change appears under the answer.
  5. The user confirms on the card. Only then does Cashplannr change the transaction, and the assistant reads the result back.
Access

Credentials for your integration.

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.

Request credentials→ See the reference first
READY TO START?

Stop fighting fires. Start looking ahead.

A 30-minute call with one of the founders. No sales pitch: we look at your numbers, your setup and your questions.

Book a call→
Trusted by companies in BE · NL · FR · ES & PT coming soon