taxhacker

自托管的 AI 会计工具,利用大语言模型分析收据、发票和银行交易。适用于自动化个人或企业记账、通过 AI 对支出进行分类、准备税务文件,以及用于构建自托管金融工具的场景。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
7

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "taxhacker":https://skillpi.com/zh/skills/deepskill-a2dfdad4ff1a6f552cdf0a6f49921561dbf22af1a5f263fe28839d5580f97485。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

自托管的 AI 会计工具,利用大语言模型分析收据、发票和银行交易。适用于自动化个人或企业记账、通过 AI 对支出进行分类、准备税务文件,以及用于构建自托管金融工具的场景。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

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

亮点

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

待提升项

  • 缺少显式When to Use章节 原报告严重程度:轻微

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

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

亮点

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

待提升项

  • 文档长度建议优化 原报告严重程度:轻微

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

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

亮点

  • 工具来源明确(GitHub官方仓库3.9k+ stars)
  • Docker部署命令完整可靠
  • 覆盖OCR质量、API key要求等重要异常场景
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 135 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

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

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。