selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Accounted logo

Self-host Accounted

Swedish accounting software with AI agent support

BetaOpen SourceOther
Updatedlast week
LanguageTypescript
Setup difficultyAdvanced
Stars
445
Port
3000 (HTTP application server)
Docker
ghcr.io/erp-mafia/gnubok
Install with Docker Compose

What is Accounted?

Should you self-host Accounted?

Accounted scores 52/100 on selfhost.directory (how scoring works) and ranks #5 of 11 in Accounting. It has 445 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Other-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is akaunting (67/100, 10 240 stars). It scores higher overall, so compare the two before you pick. See Accounted vs akaunting side by side.

Features

  • Agent access (MCP)
  • Bank Reconciliation
  • Claude connector and plugin
  • Document archive
  • Double-Entry Bookkeeping
  • E-invoicing (Peppol)
  • Extension System
  • Invoicing
  • Payroll
  • SIE import/export
  • Skattekonto sync
  • Supplier invoices
  • Supplier payment files (betalfil)
  • Tax reports
  • VAT declaration

Accounted README

How to install Accounted

Install Accounted with Docker Compose

Environment variables
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, NEXT_PUBLIC_APP_URL, CRON_SECRET, plus optional integrations

mkdir Accounted && cd Accounted curl -fsSLO https://raw.githubusercontent.com/erp-mafia/accounted/main/docker-compose.yml mkdir -p docker curl -fsSL -o docker/.env.example https://raw.githubusercontent.com/erp-mafia/accounted/main/docker/.env.example curl -fsSL -o docker/cron.Dockerfile https://raw.githubusercontent.com/erp-mafia/accounted/main/docker/cron.Dockerfile curl -fsSL -o docker/crontab.self-hosted https://raw.githubusercontent.com/erp-mafia/accounted/main/docker/crontab.self-hosted cp docker/.env.example .env

Edit .env with required values

chmod 600 .env docker compose up -d

Requires a Supabase project and database migrations applied first

How to configure Accounted

  • AI_API_KEYAPI key for AI backend

    API key for AI backend

  • AI_BASE_URLBase URL for OpenAI-compatible AI backend

    Base URL for OpenAI-compatible AI backend

  • AI_MODELDefault model ID for AI backend

    Default model ID for AI backend

  • AI_PROVIDERAI backend provider: bedrock, anthropic, or openai-compatible

    AI backend provider: bedrock, anthropic, or openai-compatible

    values: bedrock|anthropic|openai-compatible

  • CRON_SECRETAny random string for authenticating cron/scheduled requests

    Any random string for authenticating cron/scheduled requests

  • ENABLE_BANKING_APP_IDEnable Banking application ID for PSD2 bank sync

    Enable Banking application ID for PSD2 bank sync

  • ENABLE_BANKING_PRIVATE_KEYEnable Banking private key for PSD2 bank sync

    Enable Banking private key for PSD2 bank sync

  • NEXT_PUBLIC_APP_URLThe URL where you'll access Accounted (e.g. https://gnubok.example.com)

    The URL where you'll access Accounted (e.g. https://gnubok.example.com)

  • NEXT_PUBLIC_SELF_HOSTEDtrueSet to true to disable MFA enforcement for self-hosted deployments

    Set to true to disable MFA enforcement for self-hosted deployments

    values: true|false

  • NEXT_PUBLIC_SUPABASE_ANON_KEYSupabase anon public key from Settings > API

    Supabase anon public key from Settings > API

  • NEXT_PUBLIC_SUPABASE_URLSupabase project URL from Settings > API

    Supabase project URL from Settings > API

  • QVALIA_API_KEYQvalia API key for Peppol e-invoicing

    Qvalia API key for Peppol e-invoicing

  • RESEND_API_KEYResend API key for invoice email sending

    Resend API key for invoice email sending

  • SKATTEVERKET_ENABLEDEnable Skatteverket integration for VAT/AGI submission and skattekonto sync

    Enable Skatteverket integration for VAT/AGI submission and skattekonto sync

  • SUPABASE_SERVICE_ROLE_KEYSupabase service_role secret key from Settings > API

    Supabase service_role secret key from Settings > API

FAQ

Äger jag datan?

Yes, servers are in Stockholm and they are a data processor under GDPR.

Kan jag exportera allt?

Yes, SIE4 and complete archive anytime, without fee.

Finns MCP-server?

Yes, 130+ tools so an agent can work directly in the books.

Finns webhooks?

Yes, 24 event types, signed, with retries.

Finns ett öppet API?

Yes, 280+ endpoints with OpenAPI 3.1, and all code is on GitHub.

Fungerar valutakonton?

Yes, supports SEK, EUR, USD, GBP, NOK and DKK with rates from Riksbanken.

Klarar den flera bankkonton?

Yes, each account is reconciled separately.

Matchas transaktionerna mot fakturor?

Yes, uncertain matches go to review instead of being booked automatically.

Kopplas banken automatiskt?

Yes, you approve with BankID and transactions are fetched every night.

More in ERP

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…