jaz-clio 5.20.31 → 5.20.32
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 +4 -4
- package/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/api/references/claims.md +26 -0
- package/assets/skills/cli/SKILL.md +3 -3
- package/assets/skills/conversion/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/assets/templates/platform-rules/jaz-agent-rules.md +1 -1
- package/cli.mjs +477 -477
- package/package.json +1 -1
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-
|
|
6
|
+
<img src="https://img.shields.io/badge/tools-345-blue?style=for-the-badge" alt="345 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
|
-
|
|
10
|
+
345 tools. 64 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) · 64 command groups
|
|
22
|
-
- [MCP Server](#mcp-server) ·
|
|
22
|
+
- [MCP Server](#mcp-server) · 345 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
|
|
@@ -53,7 +53,7 @@ clio invoices search --query 'status:unpaid' --view lean # Compact summary rows
|
|
|
53
53
|
|
|
54
54
|
## MCP Server
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
345 tools, available to any AI agent that speaks MCP. Runs locally: no cloud, no ports.
|
|
57
57
|
|
|
58
58
|
> **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
59
|
|
|
@@ -50,6 +50,32 @@ add, `deleted:true` = remove); `delete_claim_attachment` removes one and returns
|
|
|
50
50
|
`get_claim_tracking_tags` and `get_claim_custom_field_values` return a **bare array**,
|
|
51
51
|
not a `{data}` envelope.
|
|
52
52
|
|
|
53
|
+
### Conversion + payouts (`claim_processing`)
|
|
54
|
+
|
|
55
|
+
Turn APPROVED claims into journal entries, and record books-only employee payouts.
|
|
56
|
+
|
|
57
|
+
- **`preview_claims_conversion`** (read) — shows the journals a batch would produce:
|
|
58
|
+
`{ expenseSubTotal, previewJournals, reimbursementDceCount, skippedDceCount }`, with
|
|
59
|
+
non-APPROVED claims under `erroredClaims`. **Always preview and confirm `erroredClaims`
|
|
60
|
+
is empty before converting.** Needs a default posting rule or an explicit
|
|
61
|
+
`postingRuleResourceId` (else `422 AGGREGATION_RULE_NOT_FOUND`).
|
|
62
|
+
- **`convert_claims_to_journal`** (write, atomic) — `valueDate` (YYYY-MM-DD) required;
|
|
63
|
+
`idempotencyKey` auto-generated (pass your own to dedup across calls; it must NOT start
|
|
64
|
+
with `CONV:` / `CONV-`). Returns `{ committedJournalResourceIds, convertedClaimResourceIds,
|
|
65
|
+
expenseSubTotal, idempotencyKey }`; the claim moves to **CONVERTED** ("Processed").
|
|
66
|
+
Reverse with `unpost_claim`.
|
|
67
|
+
- **Payout flow**: `POST` (journals only) or `POST_AND_RECORD` (+ a books-only
|
|
68
|
+
reimbursement DCE). The real-money **disburse** path (PayMongo) is **not exposed** — this
|
|
69
|
+
surface records, it never disburses.
|
|
70
|
+
- **`record_employee_payout`** (write) — a books-only DCE (reimbursement or advance), no
|
|
71
|
+
gateway transfer; `amount` / `paymentAccountResourceId` / `valueDate` required, `reference`
|
|
72
|
+
auto-generated. **`search_employee_payouts`** lists them (filter by employee, reference,
|
|
73
|
+
payout status/type).
|
|
74
|
+
- **`create_claim_from_attachment`** (write, multipart) — OCR a receipt URL into a DRAFT
|
|
75
|
+
claim. **Wire field is `sourceURL` (capital URL)** — unlike the BT create-from-attachment's
|
|
76
|
+
`sourceUrl`. Response is an async workflow handle; the claim materialises later (search
|
|
77
|
+
claims, status DRAFT).
|
|
78
|
+
|
|
53
79
|
---
|
|
54
80
|
|
|
55
81
|
## Claim Settings (`claim_settings` + `posting_rules` namespaces)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-cli
|
|
3
|
-
version: 5.20.
|
|
3
|
+
version: 5.20.32
|
|
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
|
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 64 command groups and
|
|
11
|
+
Covers all 64 command groups and 345 tools.
|
|
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. 64 command groups, 13 calculators, 12 job blueprints,
|
|
20
|
+
You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform. 64 command groups, 13 calculators, 12 job blueprints, 345 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
|
|
21
21
|
|
|
22
22
|
## When to Use This Skill
|
|
23
23
|
|
|
@@ -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
|
|
9
|
+
The Jaz MCP server exposes 345 tools across 40 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.
|