jaz-clio 5.20.37 → 5.20.39

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
@@ -3,11 +3,11 @@
3
3
  <p align="center">
4
4
  <a href="https://www.npmjs.com/package/jaz-clio"><img src="https://img.shields.io/npm/v/jaz-clio?style=for-the-badge&logo=npm" alt="npm"></a>
5
5
  <a href="https://www.npmjs.com/package/jaz-clio"><img src="https://img.shields.io/npm/dm/jaz-clio?style=for-the-badge&label=downloads" alt="npm downloads"></a>
6
- <img src="https://img.shields.io/badge/tools-355-blue?style=for-the-badge" alt="355 tools">
6
+ <img src="https://img.shields.io/badge/tools-356-blue?style=for-the-badge" alt="356 tools">
7
7
  <a href="https://github.com/teamtinvio/jaz-ai/blob/main/LICENSE"><img src="https://img.shields.io/github/license/teamtinvio/jaz-ai?style=for-the-badge&color=green" alt="License"></a>
8
8
  </p>
9
9
 
10
- 355 tools. 65 command groups. 13 calculators. 12 job playbooks. 158 API rules. 16 IFRS recipes.
10
+ 356 tools. 65 command groups. 13 calculators. 12 job playbooks. 158 API rules. 16 IFRS recipes.
11
11
 
12
12
  ```bash
13
13
  npm install -g jaz-clio
@@ -19,7 +19,7 @@ Requires **Node.js 18+** ([nodejs.org](https://nodejs.org)). Also fully compatib
19
19
 
20
20
  - [Three Ways In](#three-ways-in) · CLI, MCP, Skills
21
21
  - [CLI](#cli) · 65 command groups
22
- - [MCP Server](#mcp-server) · 355 tools for AI agents
22
+ - [MCP Server](#mcp-server) · 356 tools for AI agents
23
23
  - [Skills](#skills) · Teach any AI the Jaz API
24
24
  - [Setup](#setup) · Auth, multi-org, automation
25
25
  - [Semantic help-center search](#help-center-semantic-search-optional) · Optional OpenAI-backed retrieval
@@ -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
  ```
@@ -53,7 +54,7 @@ clio invoices search --query 'status:unpaid' --view lean # Compact summary rows
53
54
 
54
55
  ## MCP Server
55
56
 
56
- 355 tools, available to any AI agent that speaks MCP. Runs locally: no cloud, no ports.
57
+ 356 tools, available to any AI agent that speaks MCP. Runs locally: no cloud, no ports.
57
58
 
58
59
  > **No install at all?** Claude.ai, ChatGPT, Cowork, and Microsoft Copilot Studio can use Jaz via the **hosted connector**: add `https://mcp.jaz.ai/mcp` as a custom connector (Claude/ChatGPT) or MCP tool (Copilot Studio) and sign in (OAuth, no key). The local setup below is for terminal use, scripting, and editors that run MCP servers as local processes.
59
60
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jaz-api
3
- version: 5.20.37
3
+ version: 5.20.39
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
@@ -21,8 +21,8 @@ employee → `search_employees` then bind that id.
21
21
 
22
22
  ## Claim records (`claims` + `claim_processing` namespaces)
23
23
 
24
- CLI: `clio claims …`. **Claims have no bare list or create** a claim is born DRAFT
25
- via document attachment or conversion, then mutated. List = `search_claims`.
24
+ CLI: `clio claims …`. A claim is born DRAFT via **`create_claim`** (bare create),
25
+ document attachment, or conversion, then mutated. No bare list — `search_claims` is the list.
26
26
 
27
27
  ### Status flow (server-enforced — surface the 422, don't pre-validate)
28
28
 
@@ -31,6 +31,7 @@ via document attachment or conversion, then mutated. List = `search_claims`.
31
31
 
32
32
  | Action | Tool | Legal from | Body |
33
33
  |--------|------|-----------|------|
34
+ | Create | `create_claim` | — | `valueDate` + `currencyCode` required; vendor = `contactResourceId` XOR `vendorName`; `saveAsDraft` defaults true (→ DRAFT), false validates + submits (→ SUBMITTED) |
34
35
  | Edit | `update_claim` | DRAFT | partial; `claimItems` non-empty REPLACES all, `[]` clears |
35
36
  | Submit | `submit_claim` (or `update_claim` saveAsDraft=false) | DRAFT | none |
36
37
  | Approve | `approve_claim` | SUBMITTED | none |
@@ -51,6 +52,14 @@ Per-item processing happens in the background — **poll `search_background_jobs
51
52
  for results (a queued job doesn't pre-validate item state). bulk_reject/cancel take one
52
53
  shared reason for the batch.
53
54
 
55
+ ### Create semantics
56
+
57
+ `create_claim` is the bare create (no attachment). `valueDate` + `currencyCode` are
58
+ required; `contactResourceId` / `vendorName` are mutually exclusive (vendor is optional —
59
+ the server accepts a vendorless draft). `saveAsDraft` defaults **true** → DRAFT with relaxed
60
+ line validation; pass **false** to fully validate + submit in one call (→ SUBMITTED). Line
61
+ items / custom fields / tags use the same shape as `update_claim`.
62
+
54
63
  ### Update semantics (verified live)
55
64
 
56
65
  `update_claim` is **partial**: omitted fields are unchanged; no GET-merge needed for
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  name: jaz-cli
3
- version: 5.20.37
3
+ version: 5.20.39
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 355 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
  ---
@@ -17,7 +17,7 @@ compatibility: Requires Node.js >= 18.0.0. Install via npm install -g jaz-clio.
17
17
 
18
18
  > **Audience note:** for power users and CI/automation. Load this skill only when you're scripting from a terminal, building shell pipelines, or debugging from `clio --json` output. For day-to-day accounting inside Claude Desktop / Cowork, the MCP tools cover the common flows without dropping to the CLI.
19
19
 
20
- You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform. 65 command groups, 13 calculators, 12 job blueprints, 355 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
20
+ You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform. 65 command groups, 13 calculators, 12 job blueprints, 356 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
21
21
 
22
22
  ## When to Use This Skill
23
23
 
@@ -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.37
3
+ version: 5.20.39
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.37
3
+ version: 5.20.39
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.37
3
+ version: 5.20.39
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.37
3
+ version: 5.20.39
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
@@ -6,7 +6,7 @@ Source of truth lives in the installed skills (`.claude/skills/jaz-*/SKILL.md` o
6
6
 
7
7
  ## Discovery
8
8
 
9
- The Jaz MCP server exposes 355 tools across 41 namespaces via 3 meta-tools. **Use the meta-tool flow — never enumerate tools blindly.**
9
+ The Jaz MCP server exposes 356 tools across 41 namespaces via 3 meta-tools. **Use the meta-tool flow — never enumerate tools blindly.**
10
10
 
11
11
  1. `search_tools(query)` → top-N tool names + namespaces.
12
12
  2. `describe_tools(names)` → full parameter schemas.