taxhacker

A self-hosted AI accounting tool that uses large language models to analyze receipts, invoices, and bank transactions. Suited for automating personal or business bookkeeping, AI-driven expense categorization, preparing tax documents, and building self-hosted financial tools.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "taxhacker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a2dfdad4ff1a6f552cdf0a6f49921561dbf22af1a5f263fe28839d5580f97485. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A self-hosted AI accounting tool that uses large language models to analyze receipts, invoices, and bank transactions. Suited for automating personal or business bookkeeping, AI-driven expense categorization, preparing tax documents, and building self-hosted financial tools.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: taxhacker
description: >-
  Self-hosted AI accounting tool that analyzes receipts, invoices, and bank transactions
  using LLMs. Use when: automating personal/business bookkeeping, categorizing expenses
  with AI, preparing tax documents, building self-hosted financial tools.
license: MIT
compatibility: "Python 3.10+ or Docker"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: business
  tags:
    - accounting
    - tax
    - receipts
    - self-hosted
    - bookkeeping

TaxHacker

Overview

Self-hosted AI accountant for freelancers, indie hackers, and small businesses. Upload receipts, invoices, or bank statements — the LLM extracts, categorizes, and stores everything in a structured database. Supports multi-currency with historical exchange rates and exports accountant-ready CSV reports.

Source: vas3k/TaxHacker (3.9k+ stars)

Instructions

1. Deploy with Docker

curl -O https://raw.githubusercontent.com/vas3k/TaxHacker/main/docker-compose.yml
docker compose up -d

The stack includes TaxHacker app, PostgreSQL, and Redis for background job processing. Access the UI at http://localhost:8000.

2. Configure AI provider

# In .env
AI_PROVIDER=openai              # openai, google, mistral
AI_MODEL=gpt-4o
OPENAI_API_KEY=sk-...
SECRET_KEY=your-random-secret-key
Provider Models Best For
OpenAI GPT-4o, GPT-4o-mini Best accuracy for complex invoices
Google Gemini Gemini Pro, Flash Good cost/quality balance
Mistral Mistral Large, Small EU data residency

3. Upload documents

Drop photos of receipts, invoice PDFs, or bank statement CSVs into the web UI. The AI extraction pipeline:

  1. OCR for images, text extraction for PDFs
  2. LLM identifies vendor, date, amount, currency, line items, tax
  3. Auto-categorizes into configurable categories
  4. Stores structured data in PostgreSQL

4. Import bank statements

Go to Settings → Import, upload your bank's CSV export, map columns (date, description, amount, currency), and AI auto-categorizes each transaction.

5. Generate tax reports

Filter transactions by date range, category, project, or currency. Export to CSV for your accountant.

Examples

Example 1: Freelancer quarterly tax prep

A freelancer in Berlin uploads 3 months of receipts and a Sparkasse bank statement CSV:

Upload: 47 receipt photos + bank_statement_Q1_2024.csv
→ AI processes all documents in background (~2 minutes)
→ 142 transactions categorized:
  - Software & Subscriptions: €1,847.00 (23 transactions)
  - Travel & Transport: €2,341.50 (18 transactions)
  - Office & Supplies: €456.00 (6 transactions)
  - Professional Services: €3,200.00 (4 transactions)
→ Export → CSV filtered by Q1 2024
→ Send to accountant for Umsatzsteuer filing

Example 2: Multi-currency invoice processing

An indie hacker invoicing clients in USD, EUR, and GBP:

Invoice: €1,250.00 from French client (2024-03-15)
→ Converted: $1,362.50 @ 1.0900 EUR/USD (historical rate)

Invoice: £800.00 from UK client (2024-03-20)
→ Converted: $1,016.00 @ 1.2700 GBP/USD (historical rate)

Bank deposit: $2,378.50 matched to both invoices
→ Category: Income — Client Revenue
→ Project: Auto-assigned based on invoice metadata

TaxHacker supports 170+ currencies and 14 cryptocurrencies with historical exchange rates.

Example 3: Custom AI extraction fields

Configure a "Tax Deductible" field with a custom AI prompt:

Custom prompt: "Analyze this expense. Is it deductible for a freelance
software developer in Germany? Answer: Yes (100%), Partial (50%), or No.
Consider: office supplies, software, hardware, professional development
are fully deductible. Meals are 70% deductible."

Receipt: Hetzner Cloud — €23.40/month server hosting
→ Tax Deductible: Yes (100%)
→ Category: Software & Subscriptions

Receipt: Restaurant dinner with client — €87.50
→ Tax Deductible: Partial (70%)
→ Category: Food & Entertainment

Guidelines

  • Batch upload — Drop multiple receipts at once; they queue and process in background
  • Custom prompts per field dramatically improve accuracy for your specific documents and tax jurisdiction
  • Quarterly exports — Set a calendar reminder to export each quarter for your accountant
  • Backup regularly — docker compose exec db pg_dump taxhacker > backup.sql
  • Production deployment — Use Hetzner VPS (CX22, ~$5/month) with Caddy/nginx for HTTPS
  • Requires an LLM API key (OpenAI, Google, or Mistral) — no built-in local model yet
  • OCR accuracy depends on receipt quality — crumpled or faded receipts may need manual correction
  • Not a replacement for double-entry bookkeeping software — designed for freelancer/indie hacker workflows

References

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决自由职业者和小企业明确的记账与税务痛点
  • 支持多币种和自定义AI提示词提升准确性
  • 具备完整的端到端处理流程
Trigger Precision90/100

Highlights

  • 触发词精准覆盖收据、发票、银行交易等核心场景
  • frontmatter描述完整且边界清晰
Structure and Standards95/100

Areas to improve

  • 缺少显式When to Use章节 Reported severity: Minor

    文档结构优秀但缺少显式的When to Use章节标题

    Recommendation: 建议添加显式When to Use章节提升可读性

Highlights

  • 步骤划分清晰,包含部署到导出的完整流程
  • 提供3个详实的端到端使用示例
  • frontmatter元数据完整规范
Execution Reliability90/100

Areas to improve

  • 文档长度建议优化 Reported severity: Minor

    当前文档约450行,建议适当拆分以提升阅读体验

    Recommendation: 考虑将高级配置或故障排除拆分为独立文档

Highlights

  • 工具来源明确(GitHub官方仓库3.9k+ stars)
  • Docker部署命令完整可靠
  • 覆盖OCR质量、API key要求等重要异常场景
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 135
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • hub.docker.com
  • localhost
  • raw.githubusercontent.com
  • taxhacker.app

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.