Akaunting
/install akaunting
Akaunting Skill
CLI and API integration for Akaunting, a free open-source accounting platform.
Quick Start
# Test connection
akaunting ping
# List data
akaunting accounts
akaunting categories
akaunting transactions
# Create transactions
akaunting income --amount 100 --category Sales --description "Payment received"
akaunting expense --amount 50 --category Other --description "Office supplies"
Setup
1. Deploy Akaunting
# Use the provided docker-compose
cp skills/akaunting/assets/docker-compose.yml ~/akaunting/
cd ~/akaunting && docker compose up -d
Access web UI at http://YOUR_IP:8080 and complete the setup wizard.
2. Apply Required Fix
Critical: Akaunting has a bug where module event listeners don't auto-register. Run:
python3 skills/akaunting/scripts/fix_event_listener.py
Or manually add to /var/www/html/app/Providers/Event.php in the $listen array:
'App\Events\Module\PaymentMethodShowing' => [
'Modules\OfflinePayments\Listeners\ShowAsPaymentMethod',
],
3. Configure Credentials
mkdir -p ~/.config/akaunting
cat > ~/.config/akaunting/config.json \x3C\x3C EOF
{
"url": "http://YOUR_IP:8080",
"email": "[email protected]",
"password": "your-password"
}
EOF
Or set environment variables: AKAUNTING_URL, AKAUNTING_EMAIL, AKAUNTING_PASSWORD
CLI Commands
| Command | Description |
|---|---|
akaunting ping |
Test API connection |
akaunting accounts |
List bank accounts |
akaunting categories [--type income|expense] |
List categories |
akaunting transactions [--type income|expense] |
List transactions |
akaunting items |
List products/services |
akaunting income --amount X --category Y |
Create income |
akaunting expense --amount X --category Y |
Create expense |
akaunting item --name X --price Y |
Create item |
Add --json to any command for JSON output.
API Reference
See references/api.md for full endpoint documentation.
Key Endpoints
GET /api/ping- Health checkGET/POST /api/accounts- Bank accountsGET/POST /api/categories- Income/expense categoriesGET/POST /api/transactions- Income/expense recordsGET/POST /api/items- Products/services
Authentication: HTTP Basic Auth with user email/password. User needs read-api permission (Admin role has this by default).
Troubleshooting
"Payment method is invalid" error:
The event listener fix wasn't applied. Run fix_event_listener.py.
401 Unauthorized: Check credentials in config.json. User must have API access permission.
403 Forbidden on contacts/documents: User needs additional permissions for these endpoints.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install akaunting - 安装完成后,直接呼叫该 Skill 的名称或使用
/akaunting触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Akaunting 是什么?
Interact with Akaunting open-source accounting software via REST API. Use for creating invoices, tracking income/expenses, managing accounts, and bookkeeping automation. Triggers on accounting, bookkeeping, invoicing, expenses, income tracking, or Akaunting mentions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1039 次。
如何安装 Akaunting?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install akaunting」即可一键安装,无需额外配置。
Akaunting 是免费的吗?
是的,Akaunting 完全免费(开源免费),可自由下载、安装和使用。
Akaunting 支持哪些平台?
Akaunting 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Akaunting?
由 liekzejaws(@liekzejaws)开发并维护,当前版本 v1.0.0。