expense_category_create
Adds a custom category to your tenant's category table — slug must be 1-50 chars of lowercase a-z, 0-9, '-' or '_' and unique per tenant (CONFLICT if taken). is_default is server-owned: supplying it at all refuses with VALIDATION_ERROR, and this door always creates with is_default 0 — the 9 seeded defaults exist only via expense_category_ensure_defaults. sort_order defaults to the next open slot when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | ||
| name | No | ||
| slug | No | ||
| color | No | ||
| is_default | No | ||
| sort_order | No |