jaz-clio 5.20.38 → 5.20.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,6 +43,7 @@ clio reports pdf profit-loss # Download P&L as PDF
43
43
  clio calc lease --payment 5000 --term 36 --rate 5 # IFRS 16 (offline, instant)
44
44
  clio jobs month-end --period 2026-03 # Step-by-step close playbook
45
45
  clio magic create --file receipt.pdf # AI extracts → draft transaction
46
+ clio claims from-attachment --file receipt.png # Employee expense receipt → draft claim
46
47
  clio invoices search --query 'status:unpaid AND $500+' # Structured per-entity search
47
48
  clio invoices search --query 'status:unpaid' --view lean # Compact summary rows (id + key fields), then drill in with get
48
49
  ```
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-api
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill whenever you call, debug, or review code that touches the Jaz
6
6
  REST API. Covers field names, response shapes, 158 production gotchas, error
@@ -144,7 +144,7 @@ One MCP namespace wraps all three: **`claim_settings`**. CLI: `clio claim-types
144
144
  | Entity | What it is | Key fields |
145
145
  |--------|-----------|-----------|
146
146
  | **Claim Type** | An expense category (e.g. "Travel", "Meals"). | `name` (unique/org), `expenseAccountResourceId`, `taxProfileResourceId`, `classifierConfig`, `isDefault` |
147
- | **Claim Profile** | A per-employee policy bundle (who approves, spend limits, which types are visible, the liability account). | `name` (unique/org), `approverUserResourceId`, `visibleClaimTypeIds[]`, `visibleTaxProfileIds[]`, `visibleClassifierIds[]`, `visibleVendorResourceIds[]`, `allowedCurrencies[]`, `minClaimAmount`, `maxClaimAmount`, `maxPerPeriodAmount`, `perPeriod`, `employeeBalanceAccountResourceId`, `digestEmailEnabled`, `taxMode`, `isDefault` |
147
+ | **Claim Profile** | A per-employee policy bundle (who approves, spend limits, which types are visible, the liability account). | `name` (unique/org), `approverUserResourceId`, `visibleClaimTypeIds[]`, `visibleTaxProfileIds[]`, `visibleClassifierIds[]`, `visibleVendorResourceIds[]`, `allowedCurrencies[]`, `minClaimAmount`, `maxClaimAmount`, `maxPerPeriodAmount`, `perPeriod`, `employeeBalanceAccountResourceId`, `taxMode`, `isDefault` |
148
148
  | **Posting Rule** | How approved claims group into journals at conversion (the "Posting Rules" tab). | `name` (unique/org), `outerAxis`, `innerAxis`, `lineDescriptionTemplate`, `journalReferenceTemplate`, `defaultBankAccountResourceId`, `defaultIncludeReimbursementPayout`, `isDefault` |
149
149
 
150
150
  ## Enums (use EXACT values)
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  name: jaz-cli
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill when running Clio CLI commands, building shell scripts with
6
6
  Clio, debugging auth issues, understanding --json output, paginating results,
7
- or chaining multi-step accounting workflows from the terminal. Covers all 60
7
+ or chaining multi-step accounting workflows from the terminal. Covers all 65
8
8
  command groups, auth precedence, output formats, entity resolution, and common
9
9
  workflow patterns. Also use when the user asks how to use clio, what commands
10
10
  are available, or how to automate accounting tasks from the command line.
11
- Covers all 65 command groups and 356 tools.
11
+ Covers all 65 command groups and 356 tools, including employee-expense claims.
12
12
  license: MIT
13
13
  compatibility: Requires Node.js >= 18.0.0. Install via npm install -g jaz-clio.
14
14
  ---
@@ -258,6 +258,8 @@ Sending `lineItems[]` to the FLAT endpoint silently ignores them and creates a $
258
258
 
259
259
  **Bank & Reconciliation**: `bank` (accounts, get, records, add-records, import, auto-recon), `bank-rules`
260
260
 
261
+ **Employee Claims & Settings**: `claims` (lifecycle + `create` + `from-attachment` + convert + payout), `employees`, `claim-types`, `claim-profiles`, `posting-rules`
262
+
261
263
  **Fixed Assets & Inventory**: `fixed-assets` (alias: `fa`), `inventory` (alias: `inv`)
262
264
 
263
265
  **Subscriptions & Schedulers**: `subscriptions` (alias: `subs`), `schedulers`
@@ -1,6 +1,6 @@
1
1
  # Clio Command Catalog
2
2
 
3
- Complete reference for all 55 command groups. Organized by domain.
3
+ Complete reference for all 65 command groups. Organized by domain.
4
4
 
5
5
  ---
6
6
 
@@ -228,6 +228,67 @@ Same subcommands and flags as `cash-in`.
228
228
 
229
229
  ---
230
230
 
231
+ ## Employee Claims & Settings
232
+
233
+ ### `clio claims` — Employee-expense claims
234
+ | Subcommand | Key flags |
235
+ |------------|-----------|
236
+ | `search` (alias `list`) | `--status`, `--employee`, `--contact`, `--limit`, `--offset`, `--json` |
237
+ | `get <id>` | `--json` |
238
+ | `create` | `--value-date`*, `--currency`*, `--employee`, `--contact` / `--vendor-name` (XOR), `--items <json>`, `--custom-fields <json>`, `--tags`, `--submit` |
239
+ | `update <id>` | partial; `--items` non-empty REPLACES all lines, `--submit` |
240
+ | `submit` / `approve` / `unpost <id>` | lifecycle (server-enforced transitions) |
241
+ | `reject` / `cancel <id>` | `--reason` (1-1000), required |
242
+ | `bulk-submit` / `bulk-approve` / `bulk-delete` | `--ids <csv>` (1-500) — async, returns jobId |
243
+ | `bulk-reject` / `bulk-cancel` | `--ids <csv>`, `--reason` — async, returns jobId |
244
+ | `delete <id>` | DRAFT / REJECTED / CANCELLED only |
245
+ | `delete-attachment <id> <attId>` | remove one receipt |
246
+ | `from-attachment` | `--file` / `--source-url` / `--html` (inline or `@path`) — OCR a receipt into a DRAFT claim (async) |
247
+ | `preview-conversion` | `--ids`, `--posting-rule`, `--payout-flow` |
248
+ | `convert` | `--ids`, `--value-date`*, `--posting-rule`, `--include-payout`, `--idempotency-key` |
249
+ | `record-payout` | `--employee`, `--amount`, `--payment-account`, `--payout-for` (REIMBURSEMENT / ADVANCE) |
250
+ | `tracking-tags` / `custom-field-values` | picker arrays |
251
+
252
+ ### `clio employees` — Claim members
253
+ | Subcommand | Key flags |
254
+ |------------|-----------|
255
+ | `search` (alias `list`) | `--name`, `--status`, `--limit`, `--offset`, `--json` |
256
+ | `balances` (alias `search-balances`) | per-employee, per-currency reimbursement owed |
257
+ | `get <id>` | `--json` |
258
+ | `create` | `--name`, `--user`* (bind login), `--claim-profile`, `--employment-type`, `--email`, `--manager`, `--approver` |
259
+ | `update <id>` | `--name`, `--claim-profile`, `--employment-type`, `--archive` / `--activate`, `--clear-employment-type` |
260
+ | `bind-user <id> <userId>` | permanently bind a login user (one-way) |
261
+ | `delete <id>` | only if settled (no outstanding balance) |
262
+ | `preprocess <fileUrl>` | `--file-type` (CSV / XLS / XLSX) — preview rows before import |
263
+ | `import` | `--create` / `--update` / `--delete` (JSON arrays) — async, returns jobId |
264
+
265
+ EmploymentType: `FULL_TIME` · `PART_TIME` · `CONTRACTOR` · `INTERN` · `TEMPORARY` · `CONSULTANT`
266
+
267
+ ### `clio claim-types` — Expense categories (master data)
268
+ | Subcommand | Key flags |
269
+ |------------|-----------|
270
+ | `list` / `get <id>` / `search` | `--limit`, `--offset`, `--all`, `--json` |
271
+ | `create` | `--name`, `--expense-account <id>`, `--tax-profile <id>`, `--default` |
272
+ | `update <id>` / `delete <id>` | partial update; default-protected delete |
273
+
274
+ ### `clio claim-profiles` — Per-employee spend policies (master data)
275
+ | Subcommand | Key flags |
276
+ |------------|-----------|
277
+ | `list` / `get <id>` / `search` | `--limit`, `--offset`, `--all`, `--json` |
278
+ | `create` | `--name` (+ approval / limit / account options) |
279
+ | `update <id>` / `delete <id>` | partial update; cannot delete the org default |
280
+
281
+ ### `clio posting-rules` — Claim→journal grouping (master data)
282
+ | Subcommand | Key flags |
283
+ |------------|-----------|
284
+ | `list` / `get <id>` / `search` | `--limit`, `--offset`, `--all`, `--json` |
285
+ | `create` | `--name`, `--outer-axis`, `--inner-axis`, `--line-template`, `--journal-reference-template`, `--default-bank-account`, `--default` |
286
+ | `update <id>` / `delete <id>` | partial update; cannot delete the org default |
287
+
288
+ `*` = required.
289
+
290
+ ---
291
+
231
292
  ## Bank & Reconciliation
232
293
 
233
294
  ### `clio bank` — Bank accounts and records
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-conversion
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill when migrating accounting data into Jaz — importing from Xero,
6
6
  QuickBooks, Sage, MYOB, or Excel exports. Covers the full conversion pipeline:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-pseudo-sql
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill when answering ad-hoc data questions that aren't covered by
6
6
  download_export (canonical reports — anomaly, audit, aging, P&L, BS, GL,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-jobs
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill for recurring accounting workflows — month/quarter/year-end
6
6
  close, bank reconciliation, GST/VAT filing, payment runs, credit control,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-recipes
3
- version: 5.20.38
3
+ version: 5.20.40
4
4
  description: >-
5
5
  Use this skill when modeling complex multi-step accounting transactions —
6
6
  anything that spans multiple periods, involves changing amounts, or requires