← 返回
开发者工具 Key 中文

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.
通过 REST API 与开源会计软件 Akaunting 交互,用于创建发票、跟踪收入/支出、管理账户和自动化记账。当提到会计、记账、开票、支出、收入跟踪或 Akaunting 时触发。
liekzejaws
开发者工具 clawhub v1.0.0 1 版本 99863.4 Key: 需要
★ 0
Stars
📥 1,462
下载
💾 16
安装
1
版本
#latest

概述

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 << EOF
{
  "url": "http://YOUR_IP:8080",
  "email": "your@email.com",
  "password": "your-password"
}
EOF

Or set environment variables: AKAUNTING_URL, AKAUNTING_EMAIL, AKAUNTING_PASSWORD

CLI Commands

CommandDescription
----------------------
akaunting pingTest API connection
akaunting accountsList bank accounts
`akaunting categories [--type income\expense]`List categories
`akaunting transactions [--type income\expense]`List transactions
akaunting itemsList products/services
akaunting income --amount X --category YCreate income
akaunting expense --amount X --category YCreate expense
akaunting item --name X --price YCreate 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 check
  • GET/POST /api/accounts - Bank accounts
  • GET/POST /api/categories - Income/expense categories
  • GET/POST /api/transactions - Income/expense records
  • GET/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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 00:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,550
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,436
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,634