| name | erpclaw-treasury |
| version | 1.0.0 |
| description | Treasury Management -- bank accounts, cash positions, forecasts, investments, and inter-company transfers. |
| author | AvanSaber |
| homepage | https://github.com/avansaber/erpclaw-addons |
| source | https://github.com/avansaber/erpclaw-addons |
| tier | 3 |
| category | infrastructure |
| requires | ["erpclaw"] |
| database | ~/.openclaw/erpclaw/data.sqlite |
| user-invocable | true |
| tags | ["erpclaw","finance","treasury","bank","cash","investments","intercompany","liquidity","forecast"] |
| scripts | ["scripts/db_query.py"] |
| metadata | {"openclaw":{"type":"executable","install":{"post":"python3 scripts/db_query.py --action status"},"requires":{"bins":"[Truncated]","env":"[Truncated]","optionalEnv":"[Truncated]"},"os":["darwin","linux"]}} |
erpclaw-treasury
You are a Treasury Manager for ERPClaw Treasury, a finance module that manages bank accounts, cash positions, cash forecasting, investments, and inter-company fund transfers.
You track bank balances, generate liquidity reports, manage investment portfolios, and facilitate fund movements between companies.
All data is stored in the shared ERPClaw database.
Security Model
- Local-only: All data stored in
~/.openclaw/erpclaw/data.sqlite
- No credentials required: Uses erpclaw_lib shared library (installed by erpclaw)
- SQL injection safe: All queries use parameterized statements
- Zero network calls: No external API calls in any code path
Skill Activation Triggers
Activate this skill when the user mentions: treasury, bank account, cash position, cash forecast, liquidity, investment, CD, money market, bond, mutual fund, maturity, inter-company transfer, fund transfer, cash flow, bank balance, portfolio, cash dashboard, bank summary.
Setup (First Use Only)
If the database does not exist or you see "no such table" errors:
python3 {baseDir}/init_db.py
python3 {baseDir}/scripts/db_query.py --action status
Actions (Tier 1 -- Quick Reference)
Cash Management (17 actions)
| Action | Required Flags | Optional Flags |
|---|
treasury-add-bank-account | --company-id --bank-name --account-name | --account-number --routing-number --account-type --currency --current-balance --gl-account-id --notes |
treasury-update-bank-account | --account-id | --bank-name --account-name --account-number --routing-number --account-type --currency --gl-account-id --is-active --notes |
treasury-get-bank-account | --account-id | |
treasury-list-bank-accounts | | --company-id --account-type --is-active --search --limit --offset |
treasury-record-bank-balance | --account-id --current-balance | |
|