jaz-clio 5.48.3 → 5.50.0
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 +2 -2
- package/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/cli/SKILL.md +3 -3
- package/assets/skills/cli/references/command-catalog.md +17 -1
- package/assets/skills/cli/references/error-recovery.md +2 -2
- package/assets/skills/conversion/SKILL.md +1 -1
- package/assets/skills/jaz-kit/SKILL.md +1 -1
- package/assets/skills/jaz-pseudo-sql/SKILL.md +1 -1
- package/assets/skills/jobs/SKILL.md +1 -1
- package/assets/skills/transaction-recipes/SKILL.md +1 -1
- package/cli.mjs +476 -476
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<p align="center"><b>Jaz accounting on the command line, and inside any AI agent.</b></p>
|
|
11
11
|
|
|
12
|
-
369 tools ·
|
|
12
|
+
369 tools · 67 command groups · 7 skills · 13 calculators · 12 close playbooks · 159 field-tested API rules.
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm install -g jaz-clio
|
|
@@ -50,7 +50,7 @@ clio magic create --file receipt.pdf # AI extracts, drafts the
|
|
|
50
50
|
clio invoices search --query 'status:unpaid AND $500+' # structured per-entity search
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
67 command groups, 16 report types, 13 calculators, 12 job playbooks. Every command takes `--json`. Run `clio --help` for the full list.
|
|
54
54
|
|
|
55
55
|
### Foreign currency
|
|
56
56
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-cli
|
|
3
|
-
version: 5.
|
|
3
|
+
version: 5.50.0
|
|
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,
|
|
@@ -8,7 +8,7 @@ description: >-
|
|
|
8
8
|
precedence, output formats, entity resolution, and common workflow patterns.
|
|
9
9
|
Also use when the user asks how to use clio, what commands are available, or
|
|
10
10
|
how to automate accounting tasks from the command line. Covers all
|
|
11
|
-
|
|
11
|
+
67 command groups and 369 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.
|
|
20
|
+
You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform. 67 command groups, 13 calculators, 12 job blueprints, 369 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
|
|
21
21
|
|
|
22
22
|
## When to Use This Skill
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Clio Command Catalog
|
|
2
2
|
|
|
3
|
-
Complete reference for all
|
|
3
|
+
Complete reference for all 67 command groups. Organized by domain.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -370,6 +370,22 @@ Bulk-friendly: one call accepts mixed btTypes (max 500). NOT idempotent on alrea
|
|
|
370
370
|
|
|
371
371
|
Body shape (all 3): `{ items: [{ btResourceId, btType }] }` with `btType ∈ {SALE | PURCHASE | SALE_CREDIT_NOTE | PURCHASE_CREDIT_NOTE}`.
|
|
372
372
|
|
|
373
|
+
### `clio approvals` — Approve, or send back for changes (4 tools)
|
|
374
|
+
The other end of `drafts submit-for-approval`. Approving POSTS THE LEDGER and is one-shot; there is nothing to undo.
|
|
375
|
+
|
|
376
|
+
| Subcommand | Type | Key flags |
|
|
377
|
+
|------------|------|-----------|
|
|
378
|
+
| `approve <id>` | sync | `-e/--entity` — invoices, bills, customer-credit-notes, supplier-credit-notes |
|
|
379
|
+
| `bulk-approve` | async | `-e/--entity`, `--ids a,b,c` (1-100, no duplicates). Async → jobId |
|
|
380
|
+
| `request-changes <id>` | sync | `-e/--entity` (wider set), `-m/--message` REQUIRED — opens the thread, only record of the reason |
|
|
381
|
+
| `bulk-request-changes` | async | `-e/--entity`, `--ids` (1-500), `-m/--message`. Async → jobId |
|
|
382
|
+
|
|
383
|
+
`request-changes` accepts more families than `approve`: also `purchase-orders`, `purchase-requests`, `sale-orders`, `sale-quotes`, `claims`.
|
|
384
|
+
|
|
385
|
+
**Exit codes carry the outcome, because a refusal is not always an error.** Credit notes refuse with HTTP 200, `isSuccess:false`, and an `approvalStatus` that still reads `APPROVED` — the document's state, not the call's. `0` = approved · `1` = refused (reason printed) or UNCONFIRMED (no per-record outcome came back) · `2` = API error. Never read HTTP 200 or `approvalStatus` as success.
|
|
386
|
+
|
|
387
|
+
Claims approve via `clio claims approve` (a different endpoint), not through this group.
|
|
388
|
+
|
|
373
389
|
### `clio inventory` (alias: `inv`) — Inventory tracking
|
|
374
390
|
| Subcommand | Key flags |
|
|
375
391
|
|------------|-----------|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| Error | Cause | Fix |
|
|
24
24
|
|-------|-------|-----|
|
|
25
25
|
| `Multiple contacts match 'Acme'` | Fuzzy match found 2+ candidates above threshold | Use exact billingName or UUID |
|
|
26
|
-
| `Contact not found: 'xyz'` | No match in org's contact list | Run `clio contacts search xyz` to check spelling |
|
|
26
|
+
| `Contact not found: 'xyz'` | No match in org's contact list | Run `clio contacts search --name xyz` to check spelling |
|
|
27
27
|
| `Account not found: 'xyz'` | No matching account name or code | Run `clio accounts list --json` to see available accounts |
|
|
28
28
|
| `Bank account not found` | Name doesn't match any bank-type account | Run `clio bank accounts --json` for exact names |
|
|
29
29
|
| `Tax profile not found` | No match on tax profile name or code | Run `clio tax-profiles list --json` for available profiles |
|
|
@@ -98,7 +98,7 @@ echo $JAZ_ORG # Check for pinned org
|
|
|
98
98
|
|
|
99
99
|
**Entity not found?** Search before creating:
|
|
100
100
|
```bash
|
|
101
|
-
clio contacts search "partial name" --json | jq '.data[] | {name, resourceId}'
|
|
101
|
+
clio contacts search --name "partial name" --json | jq '.data[] | {name, resourceId}'
|
|
102
102
|
clio accounts list --json | jq '.data[] | {name, code: .accountCode, id: .resourceId}'
|
|
103
103
|
```
|
|
104
104
|
|