quints

Swiss bookkeeping as plain text: VAT (MWST) returns, QR-bill invoices and
statutory statements for a GmbH, AG or Einzelfirma, on
beancount and
Fava.
quints is a deterministic CLI with machine-readable output, built to be
driven by an AI coding agent (Claude Code, Codex, …). The agent proposes
bookings; quints checks them and computes every figure you file. It never
calls a model.
quints is not professional tax advice. You, or your Treuhänder, stay
responsible for what you file and sign.

Docs: sealambda.github.io/quints.
Every command shown there runs in the test suite.
Install
uv tool install quints # or: pipx install quints / pip install quints
Python 3.11+ (uv installs it if missing). Typst, for the PDFs, is bundled.
Quick start
Sample books, with a quarter already booked:
quints init my-books --samples --yes
cd my-books
quints check
quints vat report -p 2026-Q3
For real books, paste this into Claude Code, Codex or another coding agent:
Set up my Swiss bookkeeping with quints. Its docs, as Markdown for you:
https://sealambda.github.io/quints/llms.txt
1. Install it: `uv tool install quints` (or `pipx install quints`).
2. Run `quints init --questions --json`. It lists what quints must know
about my business and where each answer is found.
3. Answer what you already know about my business, from memory or from
files here. Tell me where each answer came from so I can correct it.
Ask me the rest in one message. Never guess: the legal form and the VAT
status decide what I file.
4. Run `quints init <directory>` with every answer as a flag. No `--yes`
and no `--samples`: these are real books.
5. In the new directory, run `uv sync` and `uv run quints check`. Then read
`AGENTS.md` there and tell me what I should do first.
Or do it by hand: Getting started.
quints init writes a plain beancount project and commits it to a new git
repository: the Swiss KMU chart of accounts for your legal form,
quints.toml for everything entity-specific, an AGENTS.md playbook and
skills for a coding agent, and a CI workflow that runs quints check on
every pull request. In Claude Code, the skills also install as a plugin:
/plugin install quints --marketplace sealambda/quints
What it does
These run as shown in the sample books.
# VAT (MWST), effective or Saldosteuersatz method
quints vat liability # must you register? turnover vs CHF 100'000
quints vat report -p 2026-Q3 # the return, Ziffer by Ziffer
quints vat export -p 2026-Q3 # the return as eCH-0217 XML, for the ESTV portal
quints vat settle -p 2026-Q3 # the settlement entry to paste once filed
quints vat status # VAT filed but not yet paid, with due dates
# Open items
quints receivables # open invoices, aged by due date
quints receivables --remind --at 2026-10-15 # a reminder PDF per overdue invoice
quints payables # open supplier bills, aged by due date
# Year-end
quints close check --year 2026 # what is still open
quints fx revalue --at 2026-12-31 # FX revaluation entry (Art. 960 ff. OR)
quints report bilanz --at 2026-12-31 # balance sheet (OR Art. 959a)
quints report erfolg --year 2026 # income statement (OR Art. 959b)
quints report statements --year 2026 --lang de # both, as one PDF
# The gate: ledger, statements, every VAT return not settled yet
quints check --output-format github # also gitlab, azure, sarif, json
quints check --review # plus what is still to do: drafts, missing documents
quints explain vat-mismatch # what a code means and how to fix it, offline
# Invoicing
quints invoice invoicing/invoices/acme-2026-07.yaml # QR-bill PDF, cross-checked against the ledger
quints import ubs <statement.mt940> # drafts into staging/, never into your books
quints prices sync # official BAZG/EZV daily CHF rates