Your bookkeeping has an API.

Every feature of Decuma is a command first. The web app uses the same API as your script, your automation and your AI agent, with the same rights and the same limits.

How it works

  1. 1Connect: add Decuma to your AI assistant or create an API key.
  2. 2Read and prepare: your assistant sees only the tools its key allows.
  3. 3Check first: a dry run says before each step whether it may, and nothing changes.
  4. 4Release: you release filings yourself; what else needs a release, you decide.
API

One registry, four ways

  • REST with OpenAPI: every request typed, every schema with a stable name.
  • CLI: the same commands in your terminal.
  • MCP: local or as a remote server with OAuth, for any AI app that supports MCP connectors.
  • SDKs for Python, TypeScript and Rust, under Apache-2.0. Money is always a decimal string, never a float.

Documentation and API reference →

from decuma import Decuma
Decuma.from_env().journal_list({"per_page": 5})
command.check

An agent may do a lot. But not everything.

  • access.tools: which commands this key may use, with JSON Schema for input and output, ready for a model to read.
  • command.check: a dry run. Would the command run, does it need a human, or is it refused, with reason and next step? Nothing changes.
  • Approval policy as data: per action class (money, external communication, filing, ledger write) you set what a key may do alone.
  • rationale on every command: the why lands in the history, next to the what.
  • Idempotency keys, signed webhooks with retries, events to poll.
  • API keys per business, with expiry, revocation and read-only.

Only someone from your business can release a filing.

HistoryMon 4 Jan
Booked Office rent January (Regel)
Reason: Regel: Payments to Hausverwaltung Beispiel are always rent.
Regel · 08:02
Matched the incoming payment of €2,380.00 to invoice RE-2026-0042. Waiting for your Freigabe. Bot Bookkeeping · 07:31
Read the train ticket and proposed travel. Bot Belege · 07:30
Prepared the Umsatzsteuer-Voranmeldung December 2026. Bot Taxes · 07:30
Recorded a Prüfvermerk on the Umsatzsteuer-Voranmeldung December 2026 Berater · 16:40

Belege from anywhere

Belege via REST with an idempotency key, via inbound webhook or via e-mail address. Bank statements as a file or through the API.

Agent plugin

Skills for your own agent: capture Belege, import the bank, prepare the VAT return. Written from the CLI and the OpenAPI document so they don't drift from the product.

REST, CLI and MCP, including the remote MCP server, come with every plan, Free included. Self-hosted anyway.

Frequently asked questions

Can I use Decuma directly in ChatGPT or Claude?

Yes. Decuma supports MCP, the open standard through which AI assistants work with other programs. You add Decuma once, sign in and decide what your assistant may do.

Do I need to know how to code?

No. For your AI assistant, adding Decuma is enough. The API, CLI and SDKs are for anyone building their own workflows.

What does my assistant see of my data?

Only what its key allows. Per key you set which tools it may use, read-only if you like, and you revoke it at any time.

Does the API cost extra?

No. REST, CLI and MCP, including the remote MCP server, come with every plan, Free included.

Can the AI file my VAT return?

It can prepare it and request the release. Someone from your business has to release it, with a second factor.

How are the commands named?

English, area.verb: invoice.create_draft, filing.release, event.poll. Terms of German tax law stay German: buchung.post, zusammenfassende_meldung, ebilanz.

Try it with your own business.