erpclaw

AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 467 actions across 14 domains, 43 optional expansion modules (user-approved install from GitHub). Double-entry GL, immutable audit trail, US GAAP compliant.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "erpclaw" with this command: npx skills add mailnike/erpclaw

erpclaw

Full-Stack ERP Controller for ERPClaw. Company setup, chart of accounts, journal entries, payments, tax, financial reports, customers, sales, suppliers, purchasing, inventory, billing, HR, US payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and 43 optional industry modules. Local-first SQLite, double-entry GL, immutable audit trail.

Security: Local-first. Parameterized queries. RBAC (PBKDF2). Immutable GL. Sensitive fields encrypted at the column level. Network access limited to fetch-exchange-rates (public API) and user-approved install-module from github.com/avansaber/*.

Skill Activation Triggers

Activate when user mentions: ERP, accounting, invoice, sales order, purchase order, customer, supplier, inventory, payment, GL, trial balance, P&L, balance sheet, tax, billing, modules, install module, onboard, CRM, manufacturing, healthcare, education, retail, employee, HR, payroll, salary, leave, attendance, expense claim, W-2, garnishment, integration.

Auto-Detection

When a user describes their business: detect type (e.g., "dental practice" -> dental), ask user to confirm before proceeding, then call setup-company --industry <type>. Industry values: retail, restaurant, healthcare, dental, veterinary, construction, manufacturing, legal, agriculture, hospitality, property, school, university, nonprofit, automotive, therapy, home-health, consulting, distribution, saas. When a user asks about a service or integration not currently installed, search the module registry and suggest installation (never auto-install without user approval).

Setup

python3 {baseDir}/scripts/erpclaw-setup/db_query.py --action initialize-database
python3 {baseDir}/scripts/db_query.py --action seed-defaults --company-id <id>
python3 {baseDir}/scripts/db_query.py --action setup-chart-of-accounts --company-id <id> --template us_gaap

Runtime gate

Write actions that materially change financial state require the --user-confirmed flag on every invocation. The foundation router checks the flag before any dispatch and rejects unflagged calls with a structured JSON error. Read-only actions (verbs list, get, reports) run without the flag.

All 467 Actions

Setup & Admin (44)

ActionDescription
initialize-database / setup-company / update-company / get-company / list-companiesDB init & company CRUD
add-currency / list-currencies / add-exchange-rate / get-exchange-rate / list-exchange-rates / fetch-exchange-ratesCurrency & FX
add-payment-terms / list-payment-terms / add-uom / list-uoms / add-uom-conversionTerms & UoMs
seed-defaults / seed-demo-data / check-installation / install-guide / setup-web-dashboard / tutorial / onboarding-step / statusSeeding & utilities
add-user / update-user / get-user / list-users / set-passwordUser management
add-role / list-roles / assign-role / revoke-role / seed-permissionsRBAC & security
link-telegram-user / unlink-telegram-user / check-telegram-permissionTelegram integration
backup-database / list-backups / verify-backup / restore-database / cleanup-backupsDB backup/restore
get-audit-log / get-schema-version / update-regional-settings / onboardSystem admin

General Ledger (26)

ActionDescription
setup-chart-of-accounts / add-account / update-account / get-account / list-accountsAccount CRUD
freeze-account / unfreeze-account / get-account-balance / check-gl-integrityAccount management
post-gl-entries / reverse-gl-entries / list-gl-entriesGL posting
add-fiscal-year / list-fiscal-years / validate-period-close / close-fiscal-year / reopen-fiscal-yearFiscal year
add-cost-center / list-cost-centers / add-budget / list-budgetsCost centers & budgets
seed-naming-series / next-series / revalue-foreign-balancesNaming & FX revaluation
import-chart-of-accounts / import-opening-balancesCSV import

Journal Entries (16)

ActionDescription
add-journal-entry / update-journal-entry / get-journal-entry / list-journal-entriesJE CRUD
submit-journal-entry / cancel-journal-entry / amend-journal-entry / delete-journal-entry / duplicate-journal-entryJE lifecycle
create-intercompany-jeIntercompany JE
add-recurring-template / update-recurring-template / list-recurring-templates / get-recurring-template / process-recurring / delete-recurring-templateRecurring JEs

Payments (13)

ActionDescription
add-payment / update-payment / get-payment / list-payments / submit-payment / cancel-payment / delete-paymentPayment CRUD & lifecycle
create-payment-ledger-entry / get-outstanding / get-unallocated-payments / allocate-payment / reconcile-payments / bank-reconciliationReconciliation

Tax (17)

ActionDescription
add-tax-template / update-tax-template / get-tax-template / list-tax-templates / delete-tax-templateTax template CRUD
resolve-tax-template / calculate-tax / add-tax-category / list-tax-categories / add-tax-rule / list-tax-rulesTax rules
add-item-tax-template / add-tax-withholding-category / get-withholding-detailsWithholding
record-withholding-entry / record-1099-payment / generate-1099-data1099 reporting

Financial Reports (20)

ActionDescription
trial-balance / profit-and-loss / balance-sheet / cash-flow / general-ledger / party-ledgerCore statements
ar-aging / ap-aging / budget-vs-actual (alias: budget-variance)Aging & budget
tax-summary / payment-summary / gl-summary / comparative-pl / check-overdueSummaries
add-elimination-rule / list-elimination-rules / run-elimination / list-elimination-entriesIntercompany

Selling (48)

ActionDescription
add-customer / update-customer / get-customer / list-customers / import-customersCustomer CRUD
add-quotation / update-quotation / get-quotation / list-quotations / submit-quotation / convert-quotation-to-soQuotations
add-sales-order / update-sales-order / get-sales-order / list-sales-orders / submit-sales-order / cancel-sales-order / amend-sales-order / close-sales-orderSales orders
add-blanket-order / get-blanket-order / list-blanket-orders / submit-blanket-order / create-so-from-blanketBlanket orders
create-delivery-note / get-delivery-note / list-delivery-notes / submit-delivery-note / cancel-delivery-note / add-packing-slip / get-packing-slip / list-packing-slipsDelivery & packing
create-sales-invoice / update-sales-invoice / get-sales-invoice / list-sales-invoices / submit-sales-invoice / cancel-sales-invoiceInvoicing
create-credit-note / list-credit-notes / update-invoice-outstandingCredit notes
add-sales-partner / list-sales-partnersSales partners
add-recurring-template / update-recurring-template / list-recurring-templates / generate-recurring-invoicesRecurring invoices
add-intercompany-account-map / list-intercompany-account-maps / create-intercompany-invoice / list-intercompany-invoices / cancel-intercompany-invoiceIntercompany

Buying (40)

ActionDescription
add-supplier / update-supplier / get-supplier / list-suppliers / import-suppliersSupplier CRUD
add-material-request / submit-material-request / list-material-requestsMaterial requests
add-rfq / submit-rfq / list-rfqs / add-supplier-quotation / list-supplier-quotations / compare-supplier-quotationsRFQs & quotes
add-purchase-order / update-purchase-order / get-purchase-order / list-purchase-orders / submit-purchase-order / cancel-purchase-order / close-purchase-orderPurchase orders
add-blanket-po / get-blanket-po / list-blanket-pos / submit-blanket-po / create-po-from-blanket / create-po-from-so / create-drop-ship-orderBlanket POs & drop ship
create-purchase-receipt / get-purchase-receipt / list-purchase-receipts / submit-purchase-receipt / cancel-purchase-receiptReceipts
create-purchase-invoice / update-purchase-invoice / get-purchase-invoice / list-purchase-invoices / submit-purchase-invoice / cancel-purchase-invoicePurchase invoices
create-debit-note / add-landed-cost-voucher / update-receipt-tolerance / update-three-way-match-policyAdjustments

Inventory (42)

ActionDescription
add-item / update-item / get-item / list-items / import-items / add-item-group / list-item-groupsItem master
add-item-attribute / create-item-variant / generate-item-variants / list-item-variantsItem variants
add-item-supplier / list-item-suppliers / set-item-purchase-uomItem suppliers
add-warehouse / update-warehouse / list-warehousesWarehouses
add-stock-entry / get-stock-entry / list-stock-entries / submit-stock-entry / cancel-stock-entryStock entries
create-stock-ledger-entries / reverse-stock-ledger-entriesStock ledger
get-stock-balance / stock-balance / stock-balance-report / stock-ledger-report / get-projected-qtyStock reports
add-batch / list-batches / add-serial-number / list-serial-numbersBatch & serial
add-price-list / add-item-price / get-item-price / add-pricing-rulePricing
add-stock-reconciliation / submit-stock-reconciliationReconciliation
revalue-stock / list-stock-revaluations / get-stock-revaluation / cancel-stock-revaluation / check-reorderRevaluation & reorder

Billing & Metering (23)

ActionDescription
add-meter / update-meter / get-meter / list-meters / add-meter-reading / list-meter-readingsMeters
add-usage-event / add-usage-events-batchUsage tracking
add-rate-plan / update-rate-plan / get-rate-plan / list-rate-plans / rate-consumptionRate plans
create-billing-period / run-billing / generate-invoices / get-billing-period / list-billing-periodsBilling cycles
add-billing-adjustment / add-prepaid-credit / get-prepaid-balanceAdjustments & prepaid
add-recurring-bill-template / list-recurring-bill-templates / generate-recurring-billsRecurring bills

Advanced Accounting (45)

ActionDescription
add-revenue-contract / update-revenue-contract / get-revenue-contract / list-revenue-contractsRevenue contracts
add-performance-obligation / list-performance-obligations / satisfy-performance-obligationASC 606
add-variable-consideration / list-variable-considerations / modify-contractVariable consideration
calculate-revenue-schedule / generate-revenue-entries / revenue-waterfall-report / revenue-recognition-summaryRevenue recognition
recognize-schedule-entry / update-performance-obligation / update-schedule-amountsRevenue schedule management
add-lease / update-lease / get-lease / list-leases / classify-leaseASC 842 leases
calculate-rou-asset / calculate-lease-liability / generate-amortization-schedule / record-lease-paymentLease calculations
lease-maturity-report / lease-disclosure-report / lease-summaryLease reports
add-ic-transaction / update-ic-transaction / get-ic-transaction / list-ic-transactionsIntercompany
approve-ic-transaction / post-ic-transaction / add-transfer-price-rule / list-transfer-price-rulesIC approvals
ic-reconciliation-report / ic-elimination-reportIC reports
add-consolidation-group / list-consolidation-groups / add-group-entity / add-currency-translationConsolidation setup
run-consolidation / generate-elimination-entries / consolidation-trial-balance-report / consolidation-summaryConsolidation
standards-compliance-dashboardASC 606/842 compliance

HR & Payroll (58)

ActionDescription
add-employee / update-employee / get-employee / list-employees / record-lifecycle-eventEmployee CRUD
add-employee-bank-account / list-employee-bank-accounts / add-employee-document / get-employee-document / list-employee-documents / check-expiring-documentsEmployee details
add-department / list-departments / add-designation / list-designationsOrg structure
add-leave-type / list-leave-types / add-leave-allocation / get-leave-balanceLeave config
add-leave-application / approve-leave / reject-leave / list-leave-applicationsLeave requests
mark-attendance / bulk-mark-attendance / list-attendance / add-holiday-listAttendance
add-shift-type / update-shift-type / list-shift-types / assign-shift / list-shift-assignmentsShift management
add-regularization-rule / apply-attendance-regularizationAttendance regularization
add-expense-claim / submit-expense-claim / approve-expense-claim / reject-expense-claim / update-expense-claim-status / list-expense-claimsExpenses
add-salary-component / list-salary-components / add-salary-structure / get-salary-structure / list-salary-structuresSalary config
add-salary-assignment / list-salary-assignments / add-income-tax-slab / add-state-tax-slab / update-employee-state-configPayroll config
update-fica-config / update-futa-suta-config / add-overtime-policy / calculate-overtime / calculate-retro-payTax & overtime
create-payroll-run / generate-salary-slips / get-salary-slip / list-salary-slips / submit-payroll-run / cancel-payroll-runPayroll processing
generate-w2-data / generate-nacha-file / add-garnishment / update-garnishment / get-garnishment / list-garnishmentsW-2, NACHA, garnishments
get-amendment-historyAmendment tracking

Module Management & Schema (15)

ActionDescription
install-module / remove-module / update-modules / list-modules / available-modules / search-modules / module-statusModule catalog (install/remove require user approval)
rebuild-action-cache / list-all-actions / list-profiles / onboard / list-industriesActions & profiles
validate-moduleConstitution check for any module (read-only)
schema-plan / schema-apply / schema-rollback / schema-driftSchema migration (apply/rollback require user approval)
regenerate-skill-mdRegenerate SKILL.md

Module authoring + DGM evolution (developer tooling): module generation, in-module feature injection, sandboxed test execution, deploy pipeline, DGM variants, gap detection, heartbeat analysis, semantic checks, and the OS-engine status command live in the optional erpclaw-os-engine addon (~30 actions, all os- prefixed). The addon is GitHub-only and not installed by default. Install via module_manager.py --action install-module --module-name erpclaw-os-engine. Foundation does not run module-generation or auto-deploy code paths.

Always confirm with user before running: setup-company, onboard, install-module, remove-module, update-modules, schema-apply, schema-rollback, submit-*, cancel-*, approve-*, reject-*, run-elimination, run-consolidation, restore-database, close-fiscal-year, initialize-database --force.

Technical Details (Tier 3)

Router: scripts/db_query.py -> 14 core domains. Optional modules installed from GitHub (avansaber/*) to ~/.openclaw/erpclaw/modules/ (user-approved only). Single SQLite DB (WAL). 188 core tables (688 with modules). Money=TEXT(Decimal), IDs=TEXT(UUID4), GL immutable. Python 3.10+. All network activity limited to: (1) fetch-exchange-rates — public exchange rate API, (2) install-module — git clone from github.com/avansaber/* only, requires user approval.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

HR助手

Smart HR Assistant for Chinese small and medium businesses. Handles employee roster management, organizational structure, monthly payroll calculation (indivi...

Registry SourceRecently Updated
2932Profile unavailable
Automation

Payroll

A comprehensive AI agent skill for managing payroll accurately and on time. Helps small business owners run payroll without a dedicated HR function, explains...

Registry SourceRecently Updated
4160Profile unavailable
General

PayPilot by AGMS

Process payments, send invoices, issue refunds, manage subscriptions, and detect fraud via a secure payment gateway proxy. Use when a user asks to charge som...

Registry SourceRecently Updated
6430Profile unavailable
General

Invoice Scan

AI-powered invoice OCR, scanning, and data extraction. Use when: (1) user needs OCR or text extraction from invoice images, scanned documents, or PDFs, (2) s...

Registry SourceRecently Updated
5590Profile unavailable