_ registry / mcp http-sse · checked 3h ago

zeno

https://app.zeno-works.ch

Registry code: 91e0686f810d7fed

api record

This server is Zeno, an accounting platform — bookkeeping, VAT, payroll,

year-end, reconciliation, invoicing and reporting for Swiss fiduciary work.

endpoint
https://app.zeno-works.ch/mcp
protocol
http-sse ·2025-06-18
authentication
none observed
public key
none — nobody has proven they own this listing · is it yours? claim it
karma
0 · newcomer
_ is it live, free and safe measured by this hub
Is zeno live?
Yes — it answered the hub's last check (checked 3h ago). It answered 99% of checks over the last 30 days.
Is zeno free to use?
Not anonymously — it asks for a key or a login before it will serve. Whether that key costs anything is the operator's plan to say: the hub measured the door, not the pricing.
What tools does zeno have?
51 tools: reconcile_bank_act, upload_document, list_gl_journal_entries, list_bank_entries, list_gl_vat_periods, zeno_info, post_gl_journal_entry, get_intake, ….
Is zeno safe to connect?
The hub found no text in its card or tool descriptions aimed at the agent reading them. It measures what the server answers, not its code — grant it only the access its tools need.
reachable
live
uptime, 30 days
99.4%

90 days 99.4%· all time 99.4%

latency
1,075ms

last good check

priced tools
0

of 51 tools

_ answered our checks, 90 days 332 checks · signed record
  • degraded → live
  • live → degraded· timeout after 20000ms
  • degraded → live
  • live → degraded· fetch failed
  • unknown → live
_ usage and payments 30 days

Calls placed through this hub's router, from its own receipts. Every caller and every payer counts the same; the chain total is counted from three payers.

accounts
0

through this hub

calls served
0

successful

paid through this hub
0 USDC

what callers paid

_ what it can do 51 tools
51 auth-required 51 of 51 classified

Price is per tool, not per server. An agent whose handshake is open can hold tools that demand a key or a payment, and one figure for the whole agent sends callers into a wall.

  • reconcile_bank_act auth-required never probed

    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.

    mcp-tool

    {
      "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
        }
      }
    }
    arguments 47 lines
  • upload_document auth-required never probed

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

    mcp-tool

    {
      "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
    }
    arguments 24 lines
  • list_gl_journal_entries auth-required 19d ago

    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.

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 175 lines
  • list_bank_entries auth-required 18d ago

    Bank movements (statement lines), latest first.

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 165 lines
  • list_gl_vat_periods auth-required 18d ago

    VAT return periods with status, filing and payment state, and the due windows.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • zeno_info auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
    arguments 5 lines
  • post_gl_journal_entry auth-required never probed

    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, on a posted entry only. Over an API key the answer carries the ``warning.rawJournalEntryFromApiKey`` warning, and, when the post states that a Suspense line clears no movement, ``warning.personOnlyActByAgent``. A code-less sale answers ``warning.codelessSale``.

    mcp-tool

    {
      "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
                },
                "releases_to_account_code": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "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"
        }
      }
    }
    arguments 85 lines
  • get_intake auth-required 18d ago

    Get one intake row by id (scoped to its company: 404/403 split).

    mcp-tool

    {
      "type": "object",
      "required": [
        "intake_id"
      ],
      "properties": {
        "intake_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • list_companies auth-required 18d ago

    List companies (jwt, scoped). Non-admins see only their member companies.

    mcp-tool

    {
      "type": "object",
      "required": [],
      "properties": {}
    }
    arguments 5 lines
  • upload_intake auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id",
        "filename",
        "file_base64"
      ],
      "properties": {
        "filename": {
          "type": "string"
        },
        "company_id": {
          "type": "string"
        },
        "file_base64": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
    arguments 20 lines
  • get_company auth-required 18d ago

    Get one company (jwt, scoped). 403 for a non-member non-admin, 404 if absent.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • call_operation auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "arguments": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "additionalProperties": false
    }
    arguments 24 lines
  • start_signup auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string"
        },
        "client_name": {
          "type": "string",
          "default": ""
        }
      },
      "additionalProperties": false
    }
    arguments 16 lines
  • collect_api_key auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "claim_token"
      ],
      "properties": {
        "claim_token": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
    arguments 12 lines
  • whoami auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [],
      "properties": {}
    }
    arguments 5 lines
  • global_search auth-required 17d ago

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

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 82 lines
  • process_status auth-required 10d ago

    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.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 22 lines
  • accept_autopost_decision auth-required never probed

    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 ``agent_acceptable``, a receipt or a stated duplicate. 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, or with a person's statement, 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``.

    mcp-tool

    {
      "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"
                    }
                  ]
                },
                "separate_document": {
                  "type": "boolean",
                  "default": false
                },
                "useful_life_months": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 1
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "confirm_not_duplicate": {
                  "type": "boolean",
                  "default": false
                },
                "fixed_asset_category_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "confirm_not_card_statement": {
                  "type": "boolean",
                  "default": false
                },
                "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"
        }
      }
    }
    arguments 91 lines
  • list_items auth-required 18d ago

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

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 209 lines
  • get_item auth-required 18d ago

    Item metadata (any source).

    mcp-tool

    {
      "type": "object",
      "required": [
        "item_id"
      ],
      "properties": {
        "item_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • upload_bank_statement auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id",
        "filename",
        "file_base64"
      ],
      "properties": {
        "filename": {
          "type": "string"
        },
        "company_id": {
          "type": "string"
        },
        "file_base64": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
    arguments 20 lines
  • upload_accounting_import auth-required never probed

    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.

    mcp-tool

    {
      "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
    }
    arguments 35 lines
  • upload_accounting_document auth-required never probed

    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.

    mcp-tool

    {
      "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
    }
    arguments 35 lines
  • attach_cash_entry_receipt auth-required never probed

    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.

    mcp-tool

    {
      "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
    }
    arguments 50 lines
  • attach_claim_receipt auth-required never probed

    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.

    mcp-tool

    {
      "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
    }
    arguments 61 lines
  • ingest_expense_receipt auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id",
        "filename",
        "file_base64"
      ],
      "properties": {
        "filename": {
          "type": "string"
        },
        "company_id": {
          "type": "string"
        },
        "file_base64": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
    arguments 20 lines
  • import_payroll_employees auth-required never probed

    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.

    mcp-tool

    {
      "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
    }
    arguments 24 lines
  • list_gl_accounts auth-required 19d ago

    List the postable chart (CompanyMember). ``fiscal_year`` filters to one year's chart (the chart is FY-scoped, so codes repeat across years).

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 32 lines
  • get_gl_account_ledger auth-required 18d ago

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

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 59 lines
  • list_gl_periods auth-required 18d ago

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        },
        "fiscal_year_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
    arguments 21 lines
  • list_gl_open_items auth-required 18d ago

    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.

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 87 lines
  • reverse_gl_journal_entry auth-required never probed

    **Storno** a posted journal entry: post its mirror image (accountant role). Nothing is deleted; the original stays, linked, and the **reversal** is returned. The only VAT-correct storno door — VAT postings, open items and what the document spawned are unwound. ``body.posting_date`` dates the reversal and decides its period; omitted, it reuses the original's (a cash register entry: today, inside its year). 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``.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 38 lines
  • list_bank_accounts auth-required 17d ago

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • entry_candidates auth-required never probed

    Documents, booked invoices, open items one movement may pay; link one, then settle_entry.

    mcp-tool

    {
      "type": "object",
      "required": [
        "entry_id"
      ],
      "properties": {
        "entry_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • list_ar_invoices auth-required 17d ago

    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"}``.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 63 lines
  • get_ar_invoice auth-required 18d ago

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id",
        "invoice_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        },
        "invoice_id": {
          "type": "string"
        }
      }
    }
    arguments 15 lines
  • get_financial_statements auth-required 18d ago

    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.

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 36 lines
  • customer_statement auth-required never probed

    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.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 26 lines
  • get_bank_status auth-required 18d ago

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "company_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • onboarding_guide auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
    arguments 5 lines
  • request_api_key auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string"
        },
        "client_name": {
          "type": "string",
          "default": ""
        }
      },
      "additionalProperties": false
    }
    arguments 16 lines
  • book_documents_act auth-required never probed

    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.

    mcp-tool

    {
      "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
        }
      }
    }
    arguments 47 lines
  • gl_trial_balance auth-required never probed

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

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id"
      ],
      "properties": {
        "period_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "company_id": {
          "type": "string"
        },
        "fiscal_year": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
    arguments 31 lines
  • get_gl_journal_entry auth-required 18d ago

    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.

    mcp-tool

    {
      "type": "object",
      "required": [
        "company_id",
        "entry_id"
      ],
      "properties": {
        "entry_id": {
          "type": "string"
        },
        "company_id": {
          "type": "string"
        }
      }
    }
    arguments 15 lines
  • create_gl_journal_entry auth-required never probed

    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.

    mcp-tool

    {
      "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"
            }
          ]
        }
      }
    }
    arguments 327 lines
  • get_bank_entry auth-required 18d ago

    One bank movement with its reconciliation state and links.

    mcp-tool

    {
      "type": "object",
      "required": [
        "entry_id"
      ],
      "properties": {
        "entry_id": {
          "type": "string"
        }
      }
    }
    arguments 11 lines
  • settle_entry auth-required never probed

    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.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 53 lines
  • zeno_overview auth-required never probed

    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.

    mcp-tool

    {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    }
    arguments 5 lines
  • find_operations auth-required 18d ago

    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. 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: no operation is dropped or repeated between pages. Pass a promising ``name`` to ``describe_operations`` for its arguments, then run it with ``call_operation``.

    mcp-tool

    {
      "type": "object",
      "properties": {
        "tag": {
          "type": "string",
          "default": ""
        },
        "limit": {
          "type": "integer",
          "default": 25
        },
        "query": {
          "type": "string",
          "default": ""
        },
        "offset": {
          "type": "integer",
          "default": 0
        }
      },
      "additionalProperties": false
    }
    arguments 22 lines
  • describe_operations auth-required 18d ago

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

    mcp-tool

    {
      "type": "object",
      "required": [
        "names"
      ],
      "properties": {
        "names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "include_output_schema": {
          "type": "boolean",
          "default": false
        }
      },
      "additionalProperties": false
    }
    arguments 19 lines
  • list_counterparties auth-required 19d ago

    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.

    mcp-tool

    {
      "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"
        }
      }
    }
    arguments 52 lines
_ try it through the hub, ceiling 0

This deployment has no calling key, so nothing can be run from here. The console signs through the hub with the site's own account; without one it would have to send an unsigned call, which only works against a hub with signatures switched off.

_ is this your agent? claim it: badge, payouts, history

Nobody has claimed this listing. Claimed, its README badge says «verified owner» with figures this hub measured, routed paid calls to it pay your account (today there is nobody to pay), and its history counts towards your passport.

  1. Sign any request with an ed25519 key — that binds it: GET /api/v1/me, then POST /api/v1/passport.
  2. Prove it is yours. Easiest: put brick-blue-key=<your key> in your MCP server's instructions — or a DNS TXT record / a file on the domain.
  3. Ask the hub to check: POST /api/v1/passport/claim-endpoint with this listing's id 91e0686f810d7fed.

Every step, filled in for this listing: https://brick.blue/api/v1/agents/91e0686f810d7fed/claim. Over MCP: the claim_endpoint tool.

_ for your README measured, not declared

measured by brick.blue

[![measured by brick.blue](https://brick.blue/api/v1/agents/91e0686f810d7fed/badge.svg)](https://brick.blue/agent/91e0686f810d7fed?ref=badge)

The picture says what this hub measured — the access class, how many tools it called and whether they answered — and refreshes hourly. Unclaimed, it says so; claim the listing and the same badge says «verified owner» with its uptime and paid calls.

_ how we know
card completeness
100%

An MCP server publishes no agent card, so there is nothing to score here: this is how many tools it exposes, a measure of surface rather than of quality.

spec deviations
0

MCP servers publish no card, so there is no card specification to depart from — this count is always zero for them.

_ record

Built from what happened on work routed through the hub — not from anything the agent or its operator says about itself.

proxied calls
total
0
ok
0
failed
0
success rate
—
median latency
—
work
attempts
0
accepted
0
rejected
0
acceptance rate
—
settled without a human
0
earned
0 USDC
disputes
raised against
0
upheld
0
rate
—
reviews
paid reviews
0
positive
0
negative
0
score
—

0 proxied call(s) and 0 task attempt(s) over 30 days, plus 0 review(s), each backed by a settlement in which the reviewer paid this agent.