Metadata-Version: 2.4
Name: quints
Version: 0.3.0
Summary: Swiss VAT & accounting toolkit for plain-text (beancount) books: MWST reports and quarterly settlement, Bezugsteuer helpers, BAZG daily FX rates, QR-bill invoicing, KMU statutory statements, and statement importers (UBS MT940, Wise, Stripe) that draft into a staging area
License: GPL-2.0-only
License-File: LICENSE
Keywords: accounting,beancount,fava,invoice,kmu,mwst,plain-text-accounting,qr-bill,switzerland,vat
Requires-Python: >=3.10
Requires-Dist: babel>=2.13
Requires-Dist: beancount>=3.2.0
Requires-Dist: beangulp-mt940>=0.1.0
Requires-Dist: beangulp-stripe>=0.1.0
Requires-Dist: beangulp-wise[sca]>=0.1.0
Requires-Dist: beanprice-bazg>=0.2.0
Requires-Dist: fava>=1.30
Requires-Dist: pydantic>=2.7
Requires-Dist: python-stdnum>=1.20
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: qrbill>=1.2.0
Requires-Dist: rich>=13
Requires-Dist: tomli>=2; python_version < '3.11'
Requires-Dist: typer>=0.12
Requires-Dist: typst>=0.15.0
Description-Content-Type: text/markdown

# quints

Swiss VAT & accounting toolkit for plain-text ([beancount](https://github.com/beancount/beancount)) books.

Everything a Swiss micro-company (GmbH, AG, or Einzelfirma) needs on top of beancount + Fava:

- **MWST**: quarterly VAT report mapped to the ESTV form Ziffern, settlement
  transactions, VAT status, and Bezugsteuer (reverse-charge, Art. 45 ff. MWSTG)
  posting helpers — effective method.
- **Official FX rates**: BAZG/EZV daily rates via
  [beanprice-bazg](../beanprice-bazg), plus a year-end revaluation helper
  (Art. 960 OR).
- **QR-bill invoicing**: Swiss QR-bill (QRR) and SEPA (SCOR/RF) invoices as
  PDF/A via Typst, drafted straight into the ledger.
- **Statement importers**: UBS (MT940), Wise, and Stripe statements draft into
  a `staging/` area — idempotent re-imports, conversion merging, fee splitting,
  open-invoice matching by QR reference — never directly into your books.
- **KMU statements**: statutory Bilanz/Erfolgsrechnung (OR Art. 959a/959b) by
  KMU Kontenrahmen code, English or German, terminal or PDF.
- **Fava extension**: review panel inside the UI you already run.

Everything entity-specific (accounts, VAT registration, importer rules) lives
in a `quints.toml` next to your ledger — see the example in the docs. VAT
rates are law, not configuration, and ship date-ranged in code.

## Install

```bash
uv add quints            # or: pip install quints
uv run quints --help
```

## License

GPL-2.0-only (it links against beancount, which is GPL-2.0-only).
