Zeno MCP
An AI bookkeeping service for Swiss small companies that reads mail, books invoices, matches bank statements, and keeps VAT and financial records current via an MCP interface.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://app.zeno-works.ch/mcpWhat its tools do
51 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Not annotated (51)
find_operationsdescribe_operationscall_operationrequest_api_keystart_signupcollect_api_keywhoamilist_companiesget_companyglobal_searchprocess_statusbook_documents_actreconcile_bank_actaccept_autopost_decisionupload_intakeupload_documentget_intakelist_itemsget_itemupload_bank_statementupload_accounting_importupload_accounting_documentattach_cash_entry_receiptattach_claim_receiptingest_expense_receiptimport_payroll_employeesgl_trial_balancelist_gl_accountsget_gl_account_ledgerlist_gl_periodslist_gl_open_itemslist_gl_journal_entriesget_gl_journal_entrycreate_gl_journal_entrypost_gl_journal_entryreverse_gl_journal_entrylist_bank_accountslist_bank_entriesget_bank_entryentry_candidatessettle_entrylist_ar_invoicesget_ar_invoicelist_counterpartieslist_gl_vat_periodsget_financial_statementscustomer_statementget_bank_statuszeno_infozeno_overviewonboarding_guide
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to zeno-works.ch ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Read incoming invoices and receipts from email
- Book invoices with amounts, VAT, and due dates
- Match bank statement lines to documents
- Keep balance sheet and VAT return current
Source and maintenance
Protocol and capabilities
- Server
- zeno 0.1.0+405ecc9021
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 51 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"logging": {},
"extensions": {
"io.modelcontextprotocol/ui": {}
},
"experimental": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
51 advertised
find_operations
Search EVERY operation this server offers, including the ones not in your tool list. The tool list you can see holds only the common operations. Several hundred more — payroll, VAT returns, year-end close, fixed assets, expenses, cash book, settings, integrations, onboarding — are available but unlisted, and this is how you find them. **Search here before concluding that Zeno cannot do something.** Call with no arguments to browse the catalogue of areas (tags) with their operation counts; with ``tag`` to list one area; with ``query`` to search by keyword. **Every word contributes and matching all of them doubles the score**, so extra words widen the search rather than narrowing it — the AND-then-fall-back- to-OR behaviour this said before was removed in `ef47aa9ab`. A word matching an operation's *name* counts for far more than one found in its description, so prefer the noun you are looking for over a sentence. ``limit`` is capped at 100 per call; when more matched, ``next_offset`` gives the ``offset`` that returns the following page, so an area of any size can be read in full. Paging is stable — the ranking is deterministic and the registry is fixed at startup, so no operation is dropped or repeated between pages. Pass a promising ``name`` to ``describe_operations`` for its arguments, then run it with ``call_operation``.
{
"type": "object",
"properties": {
"tag": {
"type": "string",
"default": ""
},
"limit": {
"type": "integer",
"default": 25
},
"query": {
"type": "string",
"default": ""
},
"offset": {
"type": "integer",
"default": 0
}
},
"additionalProperties": false
}describe_operations
Get the full argument schema for operations found via ``find_operations``. Returns each operation's description and JSON-Schema arguments — everything a listed tool would have shown you. ``include_output_schema`` is the ONLY way to obtain an operation's result shape: ``tools/list`` publishes no output schema for any operation, listed or not (they are 67 % of the payload, and a schema describing a *result* is not what you need to *choose* a tool). Ask for it when you must know the shape in advance; the result itself comes back as JSON either way, so usually you do not. Up to 10 operations per call; anything beyond that is reported in ``omitted`` rather than dropped.
{
"type": "object",
"required": [
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"type": "string"
}
},
"include_output_schema": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}call_operation
Run any operation by name — the ones in your tool list and the unlisted ones alike. ``name`` is an operation name from ``find_operations``; ``arguments`` is the object described by ``describe_operations`` (omit it for an operation that takes none). The result, and any error, are exactly what calling the operation directly would give you.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"arguments": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}request_api_key
Ask the user to hand this session a Zeno API key. **Use this first** — every current Zeno user already has an account. `email` is the address on their Zeno account. **Ask them for it**; you cannot guess it, and the request is aimed by it — Zeno will only show it to somebody signed in as the owner of that address. Pass `client_name` too: it is the only thing identifying you on the approval page, and without it the person is asked to trust "an unnamed client". Returns a plain `verification_uri`. Tell the user to open it, sign in, and approve the request waiting there; we also email them a notice. **There is no code**, in either direction: nothing to read out, nothing to type, and nothing for you to put in a link. Then call `collect_api_key` with the `claim_token` returned here, waiting `poll_interval_seconds` between calls, until its `status` stops being `pending`. The user chooses on the page what the key may reach — usually a single company — so expect the key to be scoped, and read a 403 elsewhere as that scope rather than as a failure. The answer is the same whether or not that address has a Zeno account. If nothing ever arrives, the likeliest cause is a mistyped address — ask, do not assume.
{
"type": "object",
"required": [
"email"
],
"properties": {
"email": {
"type": "string"
},
"client_name": {
"type": "string",
"default": ""
}
},
"additionalProperties": false
}start_signup
Create a Zeno account for somebody who does not have one yet. Use `request_api_key` first if they might already have an account — this tool cannot tell you, and deliberately never will. We email `email` a verification link. The user opens it, sees that you asked (by the name in `client_name`, shown as an unverified claim), chooses their own password, and decides separately whether to connect you. **You never see the link**, and you must not ask for it: it is what proves they own the mailbox, and a link you could repeat is a link anyone could. Then poll `collect_api_key` with the `claim_token` returned here. `denied` is terminal and means the person chose to create the account without connecting you, or refused outright — tell them plainly and stop; do not start another.
{
"type": "object",
"required": [
"email"
],
"properties": {
"email": {
"type": "string"
},
"client_name": {
"type": "string",
"default": ""
}
},
"additionalProperties": false
}collect_api_key
Collect the key once the user has approved. `status` is one of: - `pending` — nobody has approved yet, or (with `throttled: true`) we were rate-limited and learned nothing. **Wait `poll_interval_seconds`, then call again** — every answer carries it. Do not ask the user to tell you when they are done: you cannot detect it any other way, and handing the wait back to the user is how these sessions die. - `ready` — `api_key` is the credential. **Follow the `note` that comes with it before anything else**: the key does nothing until the client's configuration holds it, and calling again issues nothing. `scope` says what it can reach (`onboarding`, `company` or `full`) and `company_id` which company, if any. **When `scope` is `onboarding` the user has no company yet and this key exists to make one: call `onboarding_guide` next** — it needs no key, so read it while the user installs this one. It is the only place that says which documents to ask them for, and asking for them all at once is the difference between one conversation and seven. - `collected` — this request already issued its key and nothing new was issued. Follow the `note`. - `denied` — **stop.** Do not start another request; a human refused it ("that was not me"). Raising a second one is how a refusal turns into a prompt the user has to refuse repeatedly. - `expired` — the request timed out. **Do not simply open another one**, and what to do depends on which door you opened, which only you know. `request_api_key`: ask whether they saw the approval page, and call it again if they want to retry. `start_signup`: they may have finished registering in the browser meanwhile, in which case they now HAVE an account and `request_api_key` is the path — ask. If they did not, tell them plainly that it timed out; starting another signup without asking is how a refusal turns into a prompt they have to refuse repeatedly. A `pending` answer is a success, not an error; it is deliberately not an error status, because an error would be read as "do not retry" and retrying is the entire protocol. A rate limit mid-wait is reported the same way, with `throttled: true` and a longer `poll_interval_seconds` — slow down, do not stop.
{
"type": "object",
"required": [
"claim_token"
],
"properties": {
"claim_token": {
"type": "string"
}
},
"additionalProperties": false
}whoami
Which user this request acts as, and which company's books it is bound to (jwt or API key). Zeno serves every tenant from one host, and an API key is opaque — nothing else tells a connected agent whose books it is about to write. Call this FIRST when working over MCP: ``company_scoped: true`` means this connection's data access is confined to ``company_id`` — ``company_name`` names it (null here means the bound company no longer exists), no other tenant is reachable, and the admin endpoints are refused however privileged the owner is. ``is_admin`` is that owner's bit: worth nothing outside this company, still full authority inside it, so a scoped key with ``is_admin: true`` may write these books even when ``company_role`` is null. ``company_scoped: false`` means the credentials carry the owner's full principal and ``memberships`` lists the companies it can act in. Read-only and cheap — at most one lookup. ZET-171, ZET-176. ``credential_purpose`` says which kind of credential this is, and is what the withholding rule keys on (SP-08): anything that is neither ``full`` nor ``session`` is confined, and gets ``memberships`` **withheld — null, not empty**. Working over MCP, what you book or accept is recorded as MCP — not as this user acting in person — and the app displays it that way. ``capabilities`` says what this caller may do, each verdict computed from the predicate the gate itself evaluates (SP-12) — so an agent learns what it cannot do before it collides rather than after. A credential confined **to a company** gets the entries whose verdict is a fact about the *credential*; the one that would read the owner's estate (``create_company``) is omitted, because its verdict would disclose a sibling tenant. A credential confined to **no** company — an onboarding key — has no sibling to disclose and does get it, which is the one operation such a key exists to call. ``pending_admin_actions`` is present and empty until PRE-03/PRE-04 fill it.
{
"type": "object",
"required": [],
"properties": {}
}list_companies
List companies (jwt, scoped). Non-admins see only their member companies.
{
"type": "object",
"required": [],
"properties": {}
}get_company
Get one company (jwt, scoped). 403 for a non-member non-admin, 404 if absent.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string"
}
}
}global_search
Full-text search across emails + items, ranked by ``ts_rank_cd``, scoped (A1). ``archive_status`` constrains item results only (the Documents → Archive page passes ``archived`` so its search box never surfaces pending/triage-parked items).
{
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"minLength": 1
},
"type": {
"anyOf": [
{
"type": "string",
"pattern": "^(email|item)$"
},
{
"type": "null"
}
]
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"source": {
"anyOf": [
{
"type": "string",
"pattern": "^(email|epost|upload|bexio|abacus)$"
},
{
"type": "null"
}
]
},
"direction": {
"anyOf": [
{
"type": "string",
"pattern": "^(payable|receivable)$"
},
{
"type": "null"
}
]
},
"company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"archive_status": {
"anyOf": [
{
"enum": [
"pending",
"archiving",
"archived",
"failed"
],
"type": "string"
},
{
"type": "null"
}
]
}
}
}process_status
Is this company done, and what next (ZEN-2). Start and end here. ``done``: no held AI proposal, no unmatched or partly matched bank movement, Suspense explained, no unreadable, waiting, unreviewed or rejected-unbooked document (``null`` when it cannot be checked). Lists every open item; work them through ``book_documents_act`` or ``reconcile_bank_act`` as each row's ``process`` says. Read-only.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"company_id": {
"type": "string"
}
}
}book_documents_act
One action on one open document (ZEN-2): an action its row offers, with its ``version``. ``accept`` posts the held proposal; ``reject`` closes it unposted (a person books the document); ``keep``, ``reanalyze``, ``mark_irrelevant``, ``delete``; ``skip`` / ``unskip`` leave it to a person. All but accept and unskip need a ``reason``. Recorded with your user; an agent decides a hold only where the owner allowed it (a hold for autonomy off or the amount cap: ``warnings`` says so). Returns the new status. On this MCP surface a `null` argument means "not provided": it is dropped before the request is sent, exactly as if the field were omitted.
{
"type": "object",
"required": [
"company_id",
"decision_id",
"action",
"version"
],
"properties": {
"action": {
"enum": [
"accept",
"reject",
"keep",
"reanalyze",
"mark_irrelevant",
"delete",
"ignore",
"skip",
"unskip"
],
"type": "string"
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
]
},
"version": {
"type": "string",
"maxLength": 32
},
"company_id": {
"type": "string"
},
"decision_id": {
"type": "string",
"maxLength": 200
}
}
}reconcile_bank_act
One action on one open bank movement (ZEN-2), with its row's ``version``: ``accept`` its held proposal, ``ignore`` it, ``skip`` / ``unskip``. Ignore and skip need a ``reason``; recorded with your user. Link and settle through the row's ``operations``. Returns the new status. On this MCP surface a `null` argument means "not provided": it is dropped before the request is sent, exactly as if the field were omitted.
{
"type": "object",
"required": [
"company_id",
"decision_id",
"action",
"version"
],
"properties": {
"action": {
"enum": [
"accept",
"reject",
"keep",
"reanalyze",
"mark_irrelevant",
"delete",
"ignore",
"skip",
"unskip"
],
"type": "string"
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
]
},
"version": {
"type": "string",
"maxLength": 32
},
"company_id": {
"type": "string"
},
"decision_id": {
"type": "string",
"maxLength": 200
}
}
}accept_autopost_decision
One-click accept of a **held** decision (accountant) — posts the AI's proposal. A person's accept overrides the soft guardrails. An agent's is refused (403) unless the row is ``agent_acceptable`` or an expense receipt. Closed period, sealed year, unknown account: 409/422. The row flips ``held → posted`` (again: 409); ``accepted_by_kind`` records the channel (``mcp`` over MCP). An agent's accept of a hold for autonomy off or the amount cap answers ``warning.personOnlyActByAgent``. Optional ``body``: ``expense:receipt:item:`` needs ``employee_id`` + ``category_id``; ``autopost:capitalize:`` needs ``fixed_asset_category_id`` when the hold has none, and ``needs_split_source`` a ``reclassify_from_account_code``.
{
"type": "object",
"required": [
"company_id",
"decision_id"
],
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"properties": {
"category_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"employee_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"useful_life_months": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"fixed_asset_category_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reclassify_from_account_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Optional ``POST /autopost-decisions/{id}/accept`` body; omit it for other kinds."
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"decision_id": {
"type": "string"
}
}
}upload_intake
Upload ANY file; the system decides what it is (the unified intake queue, the web app's Documents > Upload). ``file_base64``: raw bytes, base64. Prefer this unless plainly an invoice; always for bank statements (CAMT.053 XML, PDF, CSV or .xlsx; not legacy .xls), matched to the registered bank account by IBAN; journal/accounting exports; balance sheets, P&L and VAT filings. A mixed .zip is routed per file. Returns 202 and the queue row; poll ``get_intake`` for the outcome and targets. An unroutable file fails with its reason, never dropped.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
}
},
"additionalProperties": false
}upload_document
Upload an INVOICE or RECEIPT (PDF, image, or .zip of them) for analysis. ``file_base64`` is the file's raw bytes, base64-encoded. ``direction`` is ``payable`` (incoming supplier invoice) or ``receivable`` (outgoing). Creates Item(s) and queues extraction. This door is invoices-only: it never routes a file onward by type, so a bank statement, a journal export or a balance sheet sent here is analysed and then just sits as a document. For anything that is not an invoice — or when you are not sure what the file is — use ``upload_intake``.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"filename": {
"type": "string"
},
"direction": {
"type": "string",
"default": "payable"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
}
},
"additionalProperties": false
}get_intake
Get one intake row by id (scoped to its company: 404/403 split).
{
"type": "object",
"required": [
"intake_id"
],
"properties": {
"intake_id": {
"type": "string"
}
}
}list_items
List/filter items, scoped to the caller's member companies (A1). Optional ``period`` (``YYYY-MM``) filters by the item's effective date (invoice date, falling back to the Europe/Zurich-local ingestion date); a malformed value returns 422 ``{"msg": "period must be YYYY-MM"}``. ``exclude_triage_status`` drops items carrying that triage verdict (NULL-safe; for ``unrelated`` not a booked one, ZCT-954). Optional ``q``: a case-insensitive substring match over the filename and both counterparty names (linked, and extracted ``data.company``). ``duplicate`` filters on the row's ``is_duplicate`` flag (ZET-413); ``credit_note`` on its ``is_credit_note`` flag (ZET-429) — both server-side, so ``total`` stays exact. ``posted`` filters on the posting badge (ZCT-811): ``true`` = posted, ``false`` = held, reversed or not booked; a copy filed with the booking of the same invoice ("Already booked", ``posting.filed_with``) is in neither (ZEN-1). ``overdue`` (D08-G14): due before today (Zurich), still owing, not a credit note. Owing is the open item's rest; a document with no open item is owing until a bank movement is linked to it (R2-2).
{
"type": "object",
"required": [],
"properties": {
"q": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"paid": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1
},
"order": {
"enum": [
"date_desc",
"due_asc"
],
"type": "string",
"default": "date_desc"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"posted": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"enum": [
"email",
"epost",
"upload",
"bexio",
"abacus",
"filesystem",
"clouddrive"
],
"type": "string"
},
{
"type": "null"
}
]
},
"overdue": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"direction": {
"anyOf": [
{
"enum": [
"payable",
"receivable",
"unknown"
],
"type": "string",
"description": "Query-filter vocabulary for ``Item.direction`` — NEVER a column type.\n\n``Item.direction`` is tri-state (``payable``/``receivable``/NULL = unknown);\nthe PG ``direction`` enum stays binary. This enum exists so list endpoints\ncan accept ``direction=unknown`` (→ ``direction IS NULL``) alongside the two\nreal values without widening the DB enum."
},
{
"type": "null"
}
]
},
"duplicate": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit_note": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"triage_status": {
"anyOf": [
{
"enum": [
"irrelevant",
"needs_review",
"unrelated"
],
"type": "string",
"description": "AI ingest-gate verdict parking an item in the Inbox (pipeline §\"Ingest triage\",\n§\"Relevance gate\").\n\nNULL = not triaged / normal flow. ``irrelevant``/``needs_review`` are the\nmetadata-triage verdicts on a held-unusable item (a human override flips\nbetween them; re-analysis resets the columns to NULL). ``unrelated`` is the\nrelevance-gate verdict on a *cleanly extracted* invoice that doculyse's\nentity resolver matched to neither party of the owning company — the item is\nheld ``pending`` (never archived, no counterparty, never coded) until a human\nrestores it (clears the verdict) or deletes it."
},
{
"type": "null"
}
]
},
"archive_status": {
"anyOf": [
{
"enum": [
"pending",
"archiving",
"archived",
"failed"
],
"type": "string"
},
{
"type": "null"
}
]
},
"analysis_failed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"counterparty_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"exclude_triage_status": {
"anyOf": [
{
"enum": [
"irrelevant",
"needs_review",
"unrelated"
],
"type": "string",
"description": "AI ingest-gate verdict parking an item in the Inbox (pipeline §\"Ingest triage\",\n§\"Relevance gate\").\n\nNULL = not triaged / normal flow. ``irrelevant``/``needs_review`` are the\nmetadata-triage verdicts on a held-unusable item (a human override flips\nbetween them; re-analysis resets the columns to NULL). ``unrelated`` is the\nrelevance-gate verdict on a *cleanly extracted* invoice that doculyse's\nentity resolver matched to neither party of the owning company — the item is\nheld ``pending`` (never archived, no counterparty, never coded) until a human\nrestores it (clears the verdict) or deletes it."
},
{
"type": "null"
}
]
}
}
}get_item
Item metadata (any source).
{
"type": "object",
"required": [
"item_id"
],
"properties": {
"item_id": {
"type": "string"
}
}
}upload_bank_statement
Import a BANK STATEMENT. CAMT.053 XML books at once; PDF, CSV, .xlsx queue (``list_bank_statement_imports``); .zip splits; legacy .xls, UTF-16 CSV refused. CSV/.xlsx imports only if opening + lines = closing, else nothing; with no printed opening/closing balance it fails until the person's balances per ``balances_needed`` (and the account if no IBAN) come via ``assign_bank_statement_import_accounts``. ``file_base64``: raw bytes, base64.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
}
},
"additionalProperties": false
}upload_accounting_import
Import a JOURNAL EXPORT (CSV/Excel) from another accounting system (``source_system``, e.g. bexio, abacus) and match it against the bank entries. ``file_base64`` is the file's raw bytes, base64.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64",
"source_system"
],
"properties": {
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
},
"source_format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"source_system": {
"type": "string"
}
},
"additionalProperties": false
}upload_accounting_document
Upload a company's BALANCE SHEET, P&L or VAT return (PDF, PNG, JPEG, XLSX) to be read; queued, follow ``get_accounting_document``. ``fiscal_year`` when the file does not say; ``force`` re-reads a file already read. ``file_base64`` is the file's raw bytes, base64.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"force": {
"type": "boolean",
"default": false
},
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
},
"fiscal_year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}attach_cash_entry_receipt
Attach a receipt to a posted cash-book entry: a new file (``file_base64``, the raw bytes, base64) OR an existing document's ``item_id``, exactly one. ``override_duplicate`` only after a duplicate refusal you checked.
{
"type": "object",
"required": [
"company_id",
"register_id",
"entry_id"
],
"properties": {
"item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"entry_id": {
"type": "string"
},
"filename": {
"type": "string",
"default": "receipt.pdf"
},
"company_id": {
"type": "string"
},
"file_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"register_id": {
"type": "string"
},
"override_duplicate": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}attach_claim_receipt
Attach a receipt to an expense-claim line: a new file (``file_base64``, the raw bytes, base64) OR an existing document's ``item_id``, exactly one; repeat that ``item_id`` as ``receipt_from_upload`` when ``ingest_expense_receipt`` returned it. ``override_duplicate`` only after a duplicate refusal you checked.
{
"type": "object",
"required": [
"company_id",
"claim_id",
"line_no"
],
"properties": {
"item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"line_no": {
"type": "integer"
},
"claim_id": {
"type": "string"
},
"filename": {
"type": "string",
"default": "receipt.pdf"
},
"company_id": {
"type": "string"
},
"file_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"override_duplicate": {
"type": "boolean",
"default": false
},
"receipt_from_upload": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}ingest_expense_receipt
Upload ONE expense receipt to put on a claim: it is held from automatic booking; poll ``get_expense_receipt``, then attach its ``item_id`` with ``attach_claim_receipt``. ``file_base64`` is the file's raw bytes, base64.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
}
},
"additionalProperties": false
}import_payroll_employees
Import employees from the filled-in template (``get_payroll_employee_import_template``, .xlsx/.csv). All or nothing; existing ``employee_no`` rows are skipped. ``dry_run`` only reports. ``file_base64`` is the file's raw bytes, base64.
{
"type": "object",
"required": [
"company_id",
"filename",
"file_base64"
],
"properties": {
"dry_run": {
"type": "boolean",
"default": false
},
"filename": {
"type": "string"
},
"company_id": {
"type": "string"
},
"file_base64": {
"type": "string"
}
},
"additionalProperties": false
}gl_trial_balance
Per-account debit/credit columns for one fiscal year, with totals. ``fiscal_year`` (year label) defaults to the latest year posted in; ``period_id`` narrows to one period of it. No all-years mode — account identity is ``(company, fiscal year, code)``, so aggregating double-counts silently (ZET-155). Unknown year/period → 404; period outside the year → 422. Cut by the line's stamped ``fiscal_year_id``, not its posting date; ``…/financial-statements`` cuts by posting date inside the same year's stored window, so the two differ only on a line dated outside the year it is stamped to. ``fiscal_year_cut`` names the cut (ZET-166).
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"period_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"fiscal_year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
}
}list_gl_accounts
List the postable chart (CompanyMember). ``fiscal_year`` filters to one year's chart (the chart is FY-scoped, so codes repeat across years).
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"company_id": {
"type": "string"
},
"fiscal_year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
}
}get_gl_account_ledger
One account's ledger (Kontoauszug) — every booking that touched it, in date order, with Soll/Haben and the running balance after each line (CompanyMember). No fiscal-year parameter: the chart is FY-owned, so ``account_id`` already fixes the year. Posted **and** reversed entries are included (a reversal is a second posted entry, so both legs must show or the balance is wrong); drafts are not. The running balance is carried across pages by the server — ``page_opening_balance`` enters this page's first row, while ``closing_balance``/``total_debit``/``total_credit`` describe the whole window. 404 when the account is not this company's; 422 when ``date_from`` is later than ``date_to``.
{
"type": "object",
"required": [
"company_id",
"account_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 100,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"date_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"date_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"account_id": {
"type": "string"
},
"company_id": {
"type": "string"
},
"dimension_value_id": {
"anyOf": [
{
"type": "string",
"maxLength": 21
},
{
"type": "null"
}
]
}
}
}list_gl_periods
The company's **accounting periods** — the months a journal entry may post into (CompanyMember read). A period belongs to one fiscal year and carries ``period_no`` (1..12 within the year), ``date_from``/``date_to`` and a ``status``: ``open`` accepts postings, ``soft_closed`` still accepts them, and ``closed``/``year_closed`` refuse them — a posting date inside a closed period fails until an accountant explicitly reopens the period (``POST …/gl/periods/{period_id}/reopen``, reason required, recorded in the close-run ledger — ZET-161). ``fiscal_year_id`` narrows to one year; omitted, every year's periods come back. This is **not** the VAT filing calendar — those are the ``gl_vat_period`` rows of ``GET …/gl/vat/periods``, which have their own quarterly/monthly cadence and their own ``filed``/``paid`` sealing. Use this list to find the ``period_id`` a manual journal entry needs, and to check *why* a posting date was refused.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string"
},
"fiscal_year_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}list_gl_open_items
One page of the AR/AP subledger (member read). ``direction`` filters server-side (ZCT-577); omit it for both. ``commercial_document_id`` narrows to one document's item (D09-G13); not with ``as_of``. ``as_of`` (ZCT-577) reconstructs each item's open amount from posted journal lines dated on or before that date, instead of reading today's cached amount. Items are considered **regardless of their current status** (one settled since that date was open on it), so ``status`` is refused alongside it rather than silently ignored. ``original_amount`` and ``status`` on each row remain the item's own, current facts.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"status": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"open",
"partial",
"settled",
"overdue",
"written_off",
"cancelled"
],
"type": "string"
}
},
{
"type": "null"
}
]
},
"direction": {
"anyOf": [
{
"type": "string",
"pattern": "^(receivable|payable)$"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"counterparty_id": {
"anyOf": [
{
"type": "string",
"maxLength": 21
},
{
"type": "null"
}
]
},
"commercial_document_id": {
"anyOf": [
{
"type": "string",
"maxLength": 21
},
{
"type": "null"
}
]
}
}
}list_gl_journal_entries
List journal entries. ``period_ids`` narrows to specific fiscal periods, and is how a caller asks for **one fiscal year**: the year's period ids (ZET-285). Without it the route lists every fiscal year. ``total`` is the filtered total. ``untagged_subledger_control=true`` narrows to the entries that posted to an AR/AP control account **without** touching the subledger, under ``allow_untagged_control`` (ZET-150) — the postings a subledger-vs-control divergence traces back to. ``origin``: one entry origin (ZEN-42). ``account_id``: entries with a line on it; ``date_from``/``date_to``: posting date; ``amount_min``/``amount_max``: the entry total.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"q": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"sort": {
"enum": [
"entry_no",
"posting_date",
"total"
],
"type": "string",
"default": "posting_date"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"origin": {
"anyOf": [
{
"enum": [
"human",
"system",
"ai",
"api",
"mcp",
"chat"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"date_to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"date_from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"account_id": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"amount_max": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
]
},
"amount_min": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"period_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
{
"type": "null"
}
]
},
"coding_guessed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"untagged_subledger_control": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
}
}get_gl_journal_entry
One entry + lines, plus the subledger rows it produced/touched (Gap B detail surfacing): its ``gl_vat_posting`` rows, its ``gl_vat_zero_posting`` turnover-only declarations (zero-rated/exempt output — R2-13b: these have no VAT line to pair, so without them a correctly coded 0 % line is indistinguishable from an untagged one) and referenced ``gl_open_item`` rows. A declared base line also carries the resolved code on ``lines[].vat_code``. Drafts carry empty lists. ``documents`` carries the accounting documents explicitly attached to the entry (``POST …/documents``) — the evidence for a hand-booked entry; a pipeline-created entry carries its document through ``source_ref_*`` instead and lists nothing here. Member read, like the rest of the detail.
{
"type": "object",
"required": [
"company_id",
"entry_id"
],
"properties": {
"entry_id": {
"type": "string"
},
"company_id": {
"type": "string"
}
}
}create_gl_journal_entry
Create a **draft** journal entry by hand — accountant. It carries NO source document unless you name one. ``document_id`` attaches an existing ``gl_document`` (``POST …/gl/documents``) as its source document; ``POST …/gl/journal-entries/{id}/documents`` does it later, also on a posted entry. It is for a booking with no document behind it (a reclassification, provision, accrual or year-end adjustment); over an API key the answer carries the warning ``warning.rawJournalEntryFromApiKey``. **Never transcribe a document into it.** Each of these has a door that keeps the evidence attached: - an invoice, receipt or statement → ingest the file (``POST …/uploads/`` or ``…/intake``), then accept what the coder proposes (``…/autopost-decisions``); - an already-ingested item → ``POST …/gl/items/{item_id}/coding``; - a bank movement with no document → ``POST /bank-entries/{entry_id}/manual-coding``; - opening balances → ``POST …/opening-entries`` and post the proposal. ``auto_reverse_date`` arms the entry as a one-shot accrual: once posted, the auto-reversal executor reverses it in full on/after that date. It must be after ``posting_date`` (422 otherwise), and it can only be set while the entry is a draft — on the create here or on the ``PUT`` replace. Drafts do not touch the books until ``…/post``. See ``doc/pipeline.md §"Accounting"``. On this MCP surface a `null` argument means "not provided": it is dropped before the request is sent, exactly as if the field were omitted.
{
"type": "object",
"required": [
"company_id",
"period_id",
"posting_date",
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"account_id",
"line_role"
],
"properties": {
"vat": {
"anyOf": [
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
]
}
},
"description": "VAT tag for a manual journal line (Gap B — manual-booking metadata completeness).\n\nTag **both** legs of a taxable movement with the same ``code`` (a company\n``gl_vat_code``): the taxable **base** line *and* its paired **VAT-control** line —\nposting groups the entry's lines by this tag to pair base with VAT line, and the\ncomposition guard refuses (409) any VAT-control line left untagged (ZET-158: a\nbase-line-only tag has no working path). One tagged control line per code.\n``amount`` (the tax, a magnitude) is read from the **base** line's tag and falls\nback to the paired VAT line's amount — when several base lines share one VAT line,\ngive each base line its own ``amount``, or every pair books the full VAT-line\namount. Exception: a catalog-linked **zero-rated output** code (0 % rate) books no\nVAT-control line at all — tag only the base line(s); each line tagged with such a\ncode declares its turnover once. On post the entry gains ``gl_vat_posting`` rows so\nthe lines reach the MWST-Abrechnung (``doc/pipeline.md §\"VAT\"``)."
},
{
"type": "null"
}
]
},
"chf_only": {
"type": "boolean",
"default": false
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 3
},
{
"type": "null"
}
]
},
"line_role": {
"enum": [
"bank",
"ar",
"ap",
"revenue",
"expense",
"vat",
"payroll_liability",
"salary_expense",
"fixed_asset",
"depreciation",
"inventory",
"cogs",
"clearing",
"rounding",
"fx_gain_loss",
"suspense",
"inventory_count",
"inventory_reserve"
],
"type": "string"
},
"open_item": {
"anyOf": [
{
"type": "object",
"properties": {
"create": {
"type": "boolean",
"default": false
},
"due_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
}
},
"description": "Open a new AR/AP subledger item from a manual control line (Gap B).\n\nSet ``create=true`` on the line posting to the AR/AP control account; ``due_date`` seeds\naging. Direction is derived from the account's ``control_type``. To settle/adjust an\n*existing* item instead, pass ``open_item_id`` on the line (its balance is rebuilt on post)."
},
{
"type": "null"
}
]
},
"account_id": {
"type": "string"
},
"amount_base": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"open_item_id": {
"anyOf": [
{
"type": "string",
"maxLength": 21
},
{
"type": "null"
}
]
},
"amount_currency": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
},
{
"type": "null"
}
]
},
"counterparty_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dimension_value_id": {
"anyOf": [
{
"type": "string",
"maxLength": 21
},
{
"type": "null"
}
]
}
}
},
"minItems": 1
},
"currency": {
"anyOf": [
{
"type": "string",
"maxLength": 3
},
{
"type": "null"
}
]
},
"period_id": {
"type": "string"
},
"company_id": {
"type": "string"
},
"entry_type": {
"enum": [
"manual",
"invoice",
"payment",
"bank",
"vat",
"payroll",
"accrual",
"deferral",
"depreciation",
"inventory",
"closing",
"adjustment",
"reversal"
],
"type": "string",
"default": "manual"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"document_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"posting_date": {
"type": "string",
"format": "date"
},
"rebooks_entry_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"auto_reverse_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"customs_assessment": {
"anyOf": [
{
"type": "object",
"required": [
"assessment_no",
"assessed_on",
"assessed_vat_chf"
],
"properties": {
"kind": {
"enum": [
"assessment",
"additional"
],
"type": "string",
"default": "assessment",
"description": "'additional': an additional assessment carrying only its increment. A replacement is refused: reverse the replaced booking first."
},
"assessed_on": {
"type": "string",
"format": "date",
"description": "Assessment date: the input VAT is deducted in its VAT period (Art. 40(4) MWSTG), on the collected basis too."
},
"assessment_no": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The BAZG assessment (Veranlagungsverfügung) number."
},
"assessed_vat_chf": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
}
],
"description": "Import VAT assessed, base currency ('additional': the increment). The VAT lines must sum to it, else 422."
}
}
},
{
"type": "null"
}
]
}
}
}post_gl_journal_entry
Post a draft entry into the books — accountant. One-way. A posted entry can no longer be replaced or discarded (both refuse with 409); the only general correction is ``…/reverse``, which leaves both the original and the reversal visible. The one exception is ``PUT …/guessed-account``, which re-points a ``coding_guessed`` entry's expense account in place — and it works *only* on a posted entry. Check the draft before posting rather than after. Over an API key the answer carries the ``warning.rawJournalEntryFromApiKey`` warning.
{
"type": "object",
"required": [
"company_id",
"entry_id"
],
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"properties": {
"not_vat": {
"type": "boolean",
"default": false,
"description": "Acknowledge that code-less lines on VAT accounts (1170/2200...) are not VAT: a reclass within one side, undoing a netting, a payment with a fee line, a payment or settlement on an account used for both directions, or opening balances in a hand-built opening entry (ZET-159). Recorded on the audit row. A VAT payment or settlement on one-direction VAT accounts (only cleared: debit output, credit input; against bank/cash, the settlement account or each other) needs no flag. Off by default: an untagged VAT movement must fail, not miss the MWST-Abrechnung."
},
"bank_entry_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
{
"type": "null"
}
]
},
"confirm_chf_only": {
"type": "boolean",
"default": false
},
"suspense_no_movement": {
"type": "boolean",
"default": false
},
"allow_untagged_control": {
"type": "boolean",
"default": false,
"description": "Post an AR/AP control line with no open item (recorded on the entry). Not for VAT-account lines: see not_vat."
},
"confirm_bank_duplicate": {
"type": "boolean",
"default": false
},
"suspense_no_movement_reason": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"description": "Optional body for posting a manual entry.\n\n``allow_untagged_control``: an AR/AP control line with no open item (ZET-150).\n``not_vat``: code-less lines on VAT accounts that are not VAT (F2431). Both are\nrecorded; both off by default so the common mistake fails loudly."
},
{
"type": "null"
}
]
},
"entry_id": {
"type": "string"
},
"company_id": {
"type": "string"
}
}
}reverse_gl_journal_entry
**Storno** a posted journal entry: post its mirror image (accountant role). Nothing is deleted; the original stays, linked, and the **reversal** entry is returned. The only VAT-correct storno door — VAT postings, open items and what the document spawned are all unwound. ``body.posting_date`` dates the reversal and decides its period; omitted, it reuses the original's. A closed-period entry needs one in an open period: the reversal is booked there; the entry stays unchanged. That correction is a person's act: an API key may make it, and ``warnings`` then carries ``warning.personOnlyActByAgent``. **409** when: the entry is a reversal or already corrected; a payroll run holds it; the date falls in a filed VAT period; an open item still carries a live settlement; the target period is closed or sealed; or a closed-period entry cannot be corrected (the reason is named). A closed-period entry armed to reverse itself is left to the auto-reversal run (nightly, or ``POST …/gl/auto-reversals/run`` by a person): ``conflict.closedPeriodEntryAutoReverses``.
{
"type": "object",
"required": [
"company_id",
"entry_id"
],
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"properties": {
"posting_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"entry_id": {
"type": "string"
},
"company_id": {
"type": "string"
}
}
}list_bank_accounts
The company's bank accounts — the ``bank_account_id`` every statement import, bank-entry list and reconciliation call needs (CompanyMember read). Oldest first, no filter and no paging. Each row carries the ``iban``, ``currency``, ``label``/``bank_name`` and ``ledger_account_number`` — the chart code this account posts through; **without one a bank movement cannot be coded**, and it is set with ``PUT /bank-accounts/{account_id}``. ``auto_created`` marks an account inferred from an imported statement rather than declared by a human; it starts ``ownership_status`` unconfirmed with ``needs_ownership_review: true`` — confirm it before trusting its balances, since an unconfirmed IBAN may not be the company's at all. ``statement_count`` / ``entry_count`` are ``null`` here (filled by the single-account ``GET /bank-accounts/{account_id}``), which is not the same as zero.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string"
}
}
}list_bank_entries
Bank movements (statement lines), latest first.
{
"type": "object",
"required": [],
"properties": {
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"to": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"flag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"from": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit_debit": {
"anyOf": [
{
"enum": [
"credit",
"debit"
],
"type": "string"
},
{
"type": "null"
}
]
},
"match_quality": {
"anyOf": [
{
"enum": [
"full",
"strong",
"partial",
"weak",
"manual",
"imported"
],
"type": "string",
"description": "Graded bank-entry ↔ invoice match quality (match-quality feature, 2026-06-09).\n\nAuto bands (from how many matchable fields line up, see ``services.reconciliation``):\n``full`` > ``strong`` > ``partial`` > ``weak``. ``manual`` (user-created/confirmed)\nand ``imported`` (asserted by a source export) are provenance values that win over\nany auto band."
},
{
"type": "null"
}
]
},
"bank_account_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"counterparty_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bank_statement_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"settlement_status": {
"anyOf": [
{
"enum": [
"unsettled",
"settled",
"partially_settled",
"suspense"
],
"type": "string",
"description": "Clean-bank settlement state of a bank entry (distinct from ``reconciliation_status``,\nwhich the matcher owns). Set by ``settle_bank_entry``."
},
{
"type": "null"
}
]
},
"reconciliation_status": {
"anyOf": [
{
"enum": [
"unmatched",
"partially_matched",
"matched",
"ignored"
],
"type": "string"
},
{
"type": "null"
}
]
}
}
}get_bank_entry
One bank movement with its reconciliation state and links.
{
"type": "object",
"required": [
"entry_id"
],
"properties": {
"entry_id": {
"type": "string"
}
}
}entry_candidates
Documents, booked invoices, open items one movement may pay; link one, then settle_entry.
{
"type": "object",
"required": [
"entry_id"
],
"properties": {
"entry_id": {
"type": "string"
}
}
}settle_entry
Post this reconciled bank entry into the GL (clean-bank settlement). Matched → Dr Bank / Cr AR; unmatched → Dr Bank / Cr Suspense; a previously-suspensed entry now fully matched → Dr Suspense / Cr AR. Idempotent; ``skipped`` when the GL chart is not configured for native settlement. **Skonto (ZEN-526).** ``cash_discounts`` names, per open item this movement pays, the cash discount the counterparty took, booked as ``POST …/gl/payments`` books ``cash_discount_amount``. On an item a live payment of this movement already paid, it must be exactly what is left open (item currency); it follows that payment and is reversed with it. 422 when no Skonto account is configured, the movement pays nothing of the item (a link is not enough), cash + discount exceeds what is open, its VAT does not fit, or the settle books nothing for the item; 409 when a bill paid earlier is on an exported payment file. Nothing is booked on an error. Never proposed or applied without a person naming it.
{
"type": "object",
"required": [
"entry_id"
],
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"properties": {
"cash_discounts": {
"type": "array",
"items": {
"type": "object",
"required": [
"open_item_id",
"amount"
],
"properties": {
"amount": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "string",
"pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
}
]
},
"open_item_id": {
"type": "string"
}
},
"description": "A Skonto the person confirms on a short match (ZEN-526, decision D8): the counterparty\ntook ``amount`` (the open item's own currency) as a cash discount, so the item is released\nby the movement's cash plus this, the discount booked on the direction's Skonto account\nwith its recognised VAT taken back — the payment door's leg, never a write-off."
},
"maxItems": 50
}
},
"description": "Optional body of ``POST /bank-entries/{id}/settle``. Empty (or no body) is the ordinary\nsettle; nothing is ever discounted unless a person names it here."
},
{
"type": "null"
}
]
},
"entry_id": {
"type": "string"
}
}
}list_ar_invoices
List authored AR invoices, newest first. Optional ``status`` / ``doc_type`` filter by lifecycle + document kind. Optional ``period`` (``YYYY-MM``) filters by the invoice's issue date (its month); a malformed value returns 422 ``{"msg": "period must be YYYY-MM"}``.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"draft",
"issued",
"cancelled"
],
"type": "string",
"description": "Editorial lifecycle owned by ``ar_invoice`` (paid/overdue are derived on\nread from the linked ``gl_open_item``, not stored here)."
},
{
"type": "null"
}
]
},
"doc_type": {
"anyOf": [
{
"enum": [
"invoice",
"credit_note",
"down_payment"
],
"type": "string"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
}
}
}get_ar_invoice
One authored outgoing invoice with its lines (CompanyMember read). Carries the header (customer, dates, currency, discounts), every line with its computed ``net_amount``/``vat_amount``/``gross_amount``, the document totals, and the lifecycle: ``status`` (``draft`` → ``issued`` → ``cancelled``), ``document_no`` (assigned at issue — ``null`` on a draft), ``commercial_document_id`` / ``snapshot_document_id`` (the booked document and the frozen PDF), plus the derived ``payment_status`` and ``open_amount`` read from the linked open item. This is the **authored** arm only. A receivable that arrived as an ingested document is an ``item``, not an ``ar_invoice``; the two arms are listed together by ``GET …/ar/receivables``. Use ``GET …/ar/invoices/{invoice_id}/related`` for the journal entry, the settling bank transactions and the credit-note chain.
{
"type": "object",
"required": [
"company_id",
"invoice_id"
],
"properties": {
"company_id": {
"type": "string"
},
"invoice_id": {
"type": "string"
}
}
}list_counterparties
List a company's counterparties (filter by ``kind``/``q``, paginated). ``kind`` repeats to filter on a set (``?kind=customer&kind=both``) — a role-shaped picker asks for every kind that plays the role. A single ``?kind=supplier`` keeps its original meaning.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"supplier",
"customer",
"both",
"employee"
],
"type": "string",
"description": "Master-data axis of a counterparty (what the party primarily is).\n\n``employee`` (payroll SP1, brief frozen decision 6) is set **only** on\ncounterparties auto-created by ``payroll.master_data\n.ensure_employee_counterparty`` and is terminal — matching/merge flows never\nwiden it to ``both``. Who is an employee is ``gl_employee.counterparty_id``\n(ZEN-958 L4 retired the ``gl_counterparty_role`` projection); payroll logic\nnever branches on ``kind``."
}
},
{
"type": "null"
}
]
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"company_id": {
"type": "string"
}
}
}list_gl_vat_periods
VAT return periods with status, filing and payment state, and the due windows.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string"
}
}
}get_financial_statements
Computed balance sheet + P&L for a fiscal year, from the journal (CompanyMember). Aggregates every posted GL journal line whose **posting date** falls in the fiscal year's window, classifies each account against the chart of accounts, and reports problems (unbalanced trial balance, unclassified accounts, year-not-opened, mixed currency). **Read-only and distinct** from the uploaded balance-sheet snapshots (``GET .../balance-sheets``): nothing here reads a snapshot. ``fiscal_year`` optional → the latest FY with journal data. ``month`` (``YYYY-MM``, inside the FY — **422** otherwise) narrows the statement to one month: the balance sheet stays cumulative (as of month end, YTD equity fold) while the P&L + cash flow cover that month's flows. Explicit non-member ``company_id`` → 403. **The cut**: ``posting_date`` inside the fiscal year's own window (``fiscal_year_cut``; ``period_start``..``period_end`` is what was aggregated, ZET-166). ``/gl/reports/*`` cuts by the line's stamped ``fiscal_year_id``, so the two can differ on a line dated outside the year it is stamped to.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"month": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"with_prior": {
"type": "boolean",
"default": false
},
"fiscal_year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
}
}customer_statement
One customer's open items + totals (the aging row's drill-down). ``as_of`` mirrors ``GET …/ar/aging`` — set, it reconstructs the items open at that date so the statement agrees with a historical aging report.
{
"type": "object",
"required": [
"company_id",
"counterparty_id"
],
"properties": {
"as_of": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"company_id": {
"type": "string"
},
"counterparty_id": {
"type": "string"
}
}
}get_bank_status
Composed bank snapshot — "is my banking up to date?" (CompanyMember). "Reconciled" means entries matched, NOT ledger = statement balance (the close check ``BANK_BALANCE_DOES_NOT_TIE_OUT`` compares that). Per-account entry-status and ``in_suspense`` counts, each account's latest closing balance, and the **company-level cumulative GL Suspense balance**. Non-zero suspense blocks a clean VAT close. Read-only. Gaps come from the account's **full** history: coverage windows are merged and every internal hole reported (ZCT-509), so a run of missing statements is ONE gap. Not period-scoped; use ``…/reconciliation/completeness`` per month. ``period_gaps`` caps at 10/account, ``period_gap_count`` stays exact — HOLES, not missing months. Explicit non-member ``company_id`` → 403.
{
"type": "object",
"required": [
"company_id"
],
"properties": {
"company_id": {
"type": "string"
}
}
}zeno_info
What this server is, which MCP revision it speaks, and how to get a credential. **Needs no credential.** Call it first if a tool has just refused you: the `authentication` block names the tools that can get this session connected.
{
"type": "object",
"properties": {},
"additionalProperties": false
}zeno_overview
What Zeno does, in one page — the platform's capabilities and its limits. **Needs no credential.** Read this before telling a user that Zeno cannot do something; it covers VAT, payroll, reconciliation and the AI accountant.
{
"type": "object",
"properties": {},
"additionalProperties": false
}onboarding_guide
How to onboard and create a NEW company: what to ask the user for, which documents to request, and the order to run the setup in. Discovery does not depend on search: this tool is in the tier, so it is listed for every caller, and `BASE_INSTRUCTIONS` names it. `find_operations` does reach it ("new company setup" ranks it first), but a query made only of common words is still decided by whichever tool happens to contain them. **Read this before you start a company setup**, and before you tell a user that something cannot be done here. It answers the questions the create's own schema cannot: which of fifteen sections actually matter, which documents produce them, and what it costs to skip one. If your API key's purpose is `onboarding`, this is the only job it has.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1624 ms
- 95th percentile latency
- 2023 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2067 ms · metadata changed · 51 tool(s)
- · probe · passed · 1181 ms · metadata changed · 50 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http zeno-mcp https://app.zeno-works.ch/mcpCodex
codex mcp add zeno-mcp --url https://app.zeno-works.ch/mcpCursor
{
"mcpServers": {
"zeno-mcp": {
"url": "https://app.zeno-works.ch/mcp"
}
}
}Cline
{
"mcpServers": {
"zeno-mcp": {
"type": "streamableHttp",
"url": "https://app.zeno-works.ch/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"zeno-mcp": {
"type": "http",
"url": "https://app.zeno-works.ch/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http zeno-mcp https://app.zeno-works.ch/mcpClaude Desktop
https://app.zeno-works.ch/mcpWindsurf
{
"mcpServers": {
"zeno-mcp": {
"serverUrl": "https://app.zeno-works.ch/mcp"
}
}
}Let your agent find its tools
Find servers like Zeno MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run Zeno MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.