Akaunting
Interact with Akaunting open-source accounting software via REST API.
- Rating
- 4.2 (129 reviews)
- Downloads
- 1,126 downloads
- Version
- 1.0.0
Overview
Interact with Akaunting open-source accounting software via REST API.
Complete Documentation
View Source →
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": "[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 |
--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
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.
Installation
openclaw install akaunting
💻Code Examples
akaunting expense --amount 50 --category Other --description "Office supplies"
## Setup
### 1. Deploy Akauntingcd ~/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:# 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"# Use the provided docker-compose
cp skills/akaunting/assets/docker-compose.yml ~/akaunting/
cd ~/akaunting && docker compose up -d'App\Events\Module\PaymentMethodShowing' => [
'Modules\OfflinePayments\Listeners\ShowAsPaymentMethod',
],mkdir -p ~/.config/akaunting
cat > ~/.config/akaunting/config.json << EOF
{
"url": "http://YOUR_IP:8080",
"email": "[email protected]",
"password": "your-password"
}
EOFTags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
Adversarial Prompting
Adversarial analysis to critique, fix.