jaz-clio 3.3.0 → 3.3.1

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: api
3
- version: 3.3.0
3
+ version: 3.3.1
4
4
  description: Complete reference for the Jaz/Juan REST API — the accounting platform backend. Use this skill whenever building, modifying, debugging, or extending any code that calls the API — including API clients, integrations, data seeding, test data, or new endpoint work. Contains every field name, response shape, error, gotcha, and edge case discovered through live production testing.
5
5
  license: MIT
6
6
  compatibility: Requires Jaz/Juan API key (x-jk-api-key header). Works with Claude Code, Claude Cowork, Claude.ai, and any agent that reads markdown.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: conversion
3
- version: 3.3.0
3
+ version: 3.3.1
4
4
  description: Accounting data conversion skill — migrates customer data from Xero, QuickBooks, Sage, MYOB, and Excel exports to Jaz. Covers config, quick, and full conversion workflows, Excel parsing, CoA/contact/tax/items mapping, clearing accounts, TTB, and TB verification.
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jobs
3
- version: 3.3.0
3
+ version: 3.3.1
4
4
  description: 12 accounting jobs for SMB bookkeepers and accountants — month-end, quarter-end, and year-end close playbooks plus 9 ad-hoc operational jobs (bank recon, document collection, GST/VAT filing, payment runs, credit control, supplier recon, audit prep, fixed asset review, statutory filing). Jobs can have paired tools as nested subcommands (e.g., `clio jobs bank-recon match`, `clio jobs document-collection ingest`, `clio jobs statutory-filing sg-cs`). Paired with an interactive CLI blueprint generator (clio jobs).
5
5
  license: MIT
6
6
  compatibility: Works with Claude Code, Claude Cowork, Claude.ai, and any agent that reads markdown. For API payloads, load the jaz-api skill. For individual transaction patterns, load the transaction-recipes skill.
@@ -41,7 +41,7 @@ Period-close jobs build on each other. Quarter = month + extras. Year = quarter
41
41
  | Job | CLI Command | Description |
42
42
  |-----|-------------|-------------|
43
43
  | **Bank Recon** | `clio jobs bank-recon` | Clear unreconciled items: match, categorize, resolve. Paired tool: `clio jobs bank-recon match`. |
44
- | **Document Collection** | `clio jobs document-collection` | Scan, classify, and upload client documents (invoices, bills, bank statements). Paired tool: `clio jobs document-collection ingest`. |
44
+ | **Document Collection** | `clio jobs document-collection` | Scan, classify, and upload client documents — local directories and cloud links (Dropbox, Drive, OneDrive). Paired tool: `clio jobs document-collection ingest`. |
45
45
  | **GST/VAT Filing** | `clio jobs gst-vat --period YYYY-QN` | Tax ledger review, discrepancy check, filing summary. |
46
46
  | **Payment Run** | `clio jobs payment-run` | Select outstanding bills by due date, process payments. |
47
47
  | **Credit Control** | `clio jobs credit-control` | AR aging review, overdue chase list, bad debt assessment. |
@@ -99,6 +99,8 @@ clio jobs fa-review [--json]
99
99
  - **[references/quarter-end-close.md](./references/quarter-end-close.md)** — Quarter-end close: monthly + quarterly extras
100
100
  - **[references/year-end-close.md](./references/year-end-close.md)** — Year-end close: quarterly + annual extras
101
101
  - **[references/bank-recon.md](./references/bank-recon.md)** — Bank reconciliation catch-up
102
+ - **[references/bank-match.md](./references/bank-match.md)** — Bank reconciliation matcher: 5-phase cascade algorithm (1:1, N:1, 1:N, N:M matches)
103
+ - **[references/document-collection.md](./references/document-collection.md)** — Document collection: scan, classify, upload — local + cloud (Dropbox, Drive, OneDrive)
102
104
  - **[references/gst-vat-filing.md](./references/gst-vat-filing.md)** — GST/VAT filing preparation
103
105
  - **[references/payment-run.md](./references/payment-run.md)** — Payment run (bulk bill payments)
104
106
  - **[references/credit-control.md](./references/credit-control.md)** — Credit control / AR chase
@@ -79,7 +79,7 @@ Work through each unreconciled item. There are four resolution paths.
79
79
 
80
80
  The bank record matches an invoice payment, bill payment, or journal already in the books. This is the ideal case — the transaction exists, it just hasn't been linked to the bank record.
81
81
 
82
- **For large volumes:** Use `clio jobs bank-recon match --input data.json --json` to auto-match bank records to transactions before manual review. The calculator finds 1:1, N:1, 1:N, and N:M matches with confidence scores. See the [bank-match reference](../../transaction-recipes/references/bank-match.md) for input format and algorithm details.
82
+ **For large volumes:** Use `clio jobs bank-recon match --input data.json --json` to auto-match bank records to transactions before manual review. The calculator finds 1:1, N:1, 1:N, and N:M matches with confidence scores. See the [bank-match reference](./bank-match.md) for input format and algorithm details.
83
83
 
84
84
  **How to find the match manually:** Search cashflow transactions for the same amount and approximate date:
85
85
 
@@ -1,18 +1,19 @@
1
1
  # Document Collection
2
2
 
3
- Scan, classify, and upload client documents (invoices, bills, bank statements) to Jaz via the Magic API endpoints.
3
+ Scan, classify, and upload client documents (invoices, bills, bank statements) to Jaz via the Magic API endpoints. Accepts local directories or public cloud share links (Dropbox, Google Drive, OneDrive).
4
4
 
5
5
  ## When to Use
6
6
 
7
7
  - Client sends a folder of PDFs (invoices, bills, receipts) for bulk upload
8
8
  - Processing bank statement CSVs/OFX files for import
9
9
  - Migrating documents from file dumps (Dropbox, shared folders, email attachments)
10
+ - Processing documents from a shared Dropbox, Google Drive, or OneDrive link
10
11
  - Batch-uploading scanned documents during onboarding
11
12
 
12
13
  ## How It Works
13
14
 
14
15
  ```
15
- Local folder Jaz Magic API
16
+ Source (local or cloud) Jaz Magic API
16
17
  ┌───────────────┐ ┌──────────────────────────────────────────┐
17
18
  │ invoices/ │──── PDF/JPG ──► POST /magic/createBusinessTransaction │
18
19
  │ inv-001.pdf │ │ FromAttachment │
@@ -25,6 +26,8 @@ Local folder Jaz Magic API
25
26
  │ dbs-jan.csv │ │ FromAttachment │
26
27
  │ │ │ → Bank records imported │
27
28
  └───────────────┘ └──────────────────────────────────────────┘
29
+
30
+ Cloud links → downloaded to temp dir → same pipeline as local directories.
28
31
  ```
29
32
 
30
33
  ## Folder Classification
@@ -51,12 +54,38 @@ The tool auto-classifies documents by **folder name** (case-insensitive prefix m
51
54
  3. **Max depth** — 10 levels (prevents runaway recursion)
52
55
  4. **Hidden files/dirs** — skipped (anything starting with `.`)
53
56
 
57
+ ## Cloud Provider Support
58
+
59
+ The `--source` flag accepts public share links from Dropbox, Google Drive, and OneDrive. Files are downloaded to a temp directory, then processed through the same scan/classify pipeline as local directories.
60
+
61
+ | Provider | File Links | Folder Links | Auth Required |
62
+ |----------|-----------|--------------|---------------|
63
+ | **Dropbox** | Direct download (dl=1 trick) | ZIP download + extract | No |
64
+ | **Google Drive** | Direct download (large file confirmation) | Not supported (requires API key) | No |
65
+ | **OneDrive/SharePoint** | MS Graph sharing API | MS Graph sharing API (first page only) | No (best-effort) |
66
+
67
+ ### Cloud Limitations
68
+
69
+ - **Google Drive folders** require authentication — download manually and use a local path
70
+ - **OneDrive** is best-effort: Microsoft has restricted public link access since Feb 2025
71
+ - **Dropbox folders** download as ZIP — extracted automatically, macOS metadata stripped
72
+ - **Max file size**: 100MB per file, 500MB total for folder downloads
73
+ - **Timeout**: Default 30s (files) / 120s (folders). Override with `--timeout <ms>`
74
+
54
75
  ## CLI Usage
55
76
 
56
77
  ```bash
57
78
  # Dry-run (default) — scan + classify, no uploads
58
79
  clio jobs document-collection ingest --source ./client-docs/ [--json]
59
80
 
81
+ # Cloud sources — Dropbox, Google Drive, OneDrive
82
+ clio jobs document-collection ingest --source "https://www.dropbox.com/scl/fo/.../folder?rlkey=..." [--json]
83
+ clio jobs document-collection ingest --source "https://drive.google.com/file/d/FILE_ID/view" [--json]
84
+ clio jobs document-collection ingest --source "https://1drv.ms/f/s!..." [--json]
85
+
86
+ # With timeout for large cloud downloads
87
+ clio jobs document-collection ingest --source "https://www.dropbox.com/..." --timeout 120000 [--json]
88
+
60
89
  # Execute — scan + classify + upload to Jaz
61
90
  clio jobs document-collection ingest --source ./client-docs/ --execute \
62
91
  --api-key <key> --api-url https://api.jaz.ai [--json]
@@ -74,12 +103,13 @@ clio jobs document-collection ingest --source ./bank-csvs/ --execute \
74
103
 
75
104
  | Flag | Description |
76
105
  |------|-------------|
77
- | `--source <path>` | Local directory path (required) |
106
+ | `--source <path\|url>` | Local directory path or public cloud share link — Dropbox, Google Drive, OneDrive (required) |
78
107
  | `--type <type>` | Force all files to: `invoice`, `bill`, or `bank-statement` |
79
108
  | `--execute` | Upload to Jaz API (without this flag, only scans/classifies) |
80
109
  | `--api-key <key>` | Jaz Magic API key (required for `--execute`) |
81
110
  | `--api-url <url>` | Jaz API base URL (required for `--execute`) |
82
111
  | `--bank-account <id>` | Bank account CoA resourceId (required for bank statement uploads) |
112
+ | `--timeout <ms>` | Download timeout in milliseconds (default: 30000 for files, 120000 for folders) |
83
113
  | `--json` | Structured JSON output |
84
114
 
85
115
  ## Magic API Details
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: transaction-recipes
3
- version: 3.3.0
3
+ version: 3.3.1
4
4
  description: 16 IFRS-compliant recipes for complex multi-step accounting in Jaz — prepaid amortization, deferred revenue, loan schedules, IFRS 16 leases, hire purchase, fixed deposits, asset disposal, FX revaluation, ECL provisioning, IAS 37 provisions, dividends, intercompany, and capital WIP. Each recipe includes journal entries, capsule structure, and verification steps. Paired with 10 financial calculators that produce execution-ready blueprints with workings.
5
5
  license: MIT
6
6
  compatibility: Works with Claude Code, Claude Cowork, Claude.ai, and any agent that reads markdown. For API payloads, load the jaz-api skill alongside this one.
@@ -117,10 +117,6 @@ Each recipe includes: scenario description, accounts involved, journal entries,
117
117
 
118
118
  16. **[Capital WIP to Fixed Asset](references/capital-wip.md)** — Cost accumulation in CIP account during construction/development, transfer to FA on completion, auto-depreciation via Jaz FA module.
119
119
 
120
- ### Utility — Reconciliation
121
-
122
- 17. **[Bank Reconciliation Matcher](references/bank-match.md)** — 5-phase cascade algorithm matching bank records to cashflow transactions. Finds 1:1, N:1, 1:N, and N:M matches with confidence scores. *Paired job tool: `clio jobs bank-recon match`*
123
-
124
120
  ## How to Use These Recipes
125
121
 
126
122
  1. **Read the recipe** for your scenario — understand the accounts, journal entries, and capsule structure.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jaz-clio",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Clio — Command Line Interface Orchestrator for Jaz AI",
5
5
  "type": "module",
6
6
  "bin": {