jaz-clio 9.5.13 → 9.5.15
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/assets/skills/api/SKILL.md +2 -2
- package/assets/skills/api/references/endpoints.md +1 -1
- package/assets/skills/api/references/feature-glossary.md +2 -2
- package/assets/skills/api/references/full-api-surface.md +8 -1
- package/assets/skills/cli/SKILL.md +1 -1
- package/assets/skills/cli/references/command-catalog.md +1 -1
- 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 +425 -425
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-api
|
|
3
|
-
version: 9.5.
|
|
3
|
+
version: 9.5.15
|
|
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, 148 production gotchas, error
|
|
@@ -139,7 +139,7 @@ The rest of this skill (field names, gotchas, error catalog, dependency order, s
|
|
|
139
139
|
35d. **Tags are `tags: string[]`** on ALL transaction create/update: invoices, bills, customer CNs, supplier CNs, journals, cash-in, cash-out, cash transfers. CLI uses `--tag <name>` (singular, wrapped to array). API accepts the array directly.
|
|
140
140
|
|
|
141
141
|
### Nano Classifiers
|
|
142
|
-
35e. **ClassifierConfig
|
|
142
|
+
35e. **ClassifierConfig**: `classifierConfig: [{ resourceId: "<classifierId>", type: "invoice"|"bill", selectedClasses: [{ className: "Class A", resourceId: "<classId>" }], printable: true }]`. Goes on each line item of invoices, bills, credit notes, journal entries and cash entries, and on the record itself for fixed assets, leases, deferrals and loans (create, update, and the GET returns it). `resourceId` is the nano classifier's (`POST /nano-classifiers` creates one). On those four records `type` is the classifier's own type, as the classifier GET returns it, and an update REPLACES every classifier the record holds (omitting the field keeps them): to add one, send the stored ones plus the new entry. Clio's update tools take a change and merge it. A selected class needs `resourceId` unless it sends `entityResourceId` instead (a classifier whose options are customers, suppliers, contacts, employees or users). Quick fix and Ledger Find & Fix add `{ resourceId, deleted: true }` to remove one classifier and leave unnamed ones as they are (rule 107).
|
|
143
143
|
|
|
144
144
|
### Reports
|
|
145
145
|
36. **Report field names differ by type**; this is the most error-prone area:
|
|
@@ -1158,7 +1158,7 @@ Valid `datatypeCode`: `TEXT`, `NUMBER`, `BOOLEAN`, `DATE`, `LINK`.
|
|
|
1158
1158
|
|
|
1159
1159
|
### GET /api/v1/:type/:resourceId/attachments
|
|
1160
1160
|
|
|
1161
|
-
List attachments on a
|
|
1161
|
+
List attachments on a record. `:type` is `invoices`, `bills`, `journals`, `customer-credit-notes`, `supplier-credit-notes`, `sale-quotes`, `sale-orders`, `purchase-requests`, `purchase-orders`, `fixed-assets`, `deferrals`, `leases`, `loans`, `cash-in-entries`, `cash-out-entries`, `cash-transfers`, or scheduled variants. A cash entry answers 404 under the other direction's path.
|
|
1162
1162
|
|
|
1163
1163
|
Response (non-standard shape):
|
|
1164
1164
|
```json
|
|
@@ -256,12 +256,12 @@ A draft posts nothing; activating posts the schedule. Editing terms on an active
|
|
|
256
256
|
| Layer | Scope | Purpose | Reporting | PDF | Scheduler |
|
|
257
257
|
|-------|-------|---------|-----------|-----|-----------|
|
|
258
258
|
| **Tracking Tags** | Transaction only | Hashtags for advanced reporting | Filter | No | Inherited |
|
|
259
|
-
| **Nano Classifiers** | Line item
|
|
259
|
+
| **Nano Classifiers** | Line item; fixed asset, lease, deferral and loan records | Classification intent (department, cost center) | Filter | Yes (line items) | Inherited |
|
|
260
260
|
| **Capsules** | Group of transactions | Workflow container for multi-step accounting | Filter + Group by | No | All entries land in capsule |
|
|
261
261
|
| **Custom Fields** | Transaction | Additional record-keeping | No impact | Yes | No |
|
|
262
262
|
|
|
263
263
|
- **Tracking Tags**: Like hashtags on transactions, data enrichment for advanced reporting. Transaction-level only (not line items). Can be set on schedulers; generated entries inherit them. Cannot group by tags in reports, only filter.
|
|
264
|
-
- **Nano Classifiers**: Data enrichment with a classification intent: group line items into named classes within a classifier (e.g., Department: Engineering/Sales/Finance).
|
|
264
|
+
- **Nano Classifiers**: Data enrichment with a classification intent: group line items into named classes within a classifier (e.g., Department: Engineering/Sales/Finance). On documents they sit on line items, not transaction headers; fixed assets, leases, deferrals and loans carry them on the record itself. Can be displayed on PDF line items. Can be set on schedulers; generated entries inherit them. Assigning classifiers to items auto-applies them to line items in transactions.
|
|
265
265
|
- **Capsules**: Not a classification, a workflow container that groups related transactions for a specific accounting scenario (prepaid, deferred, accrual, CIP). The only enrichment supporting group-by in reports. See dedicated Capsules section above.
|
|
266
266
|
- **Custom Fields**: Text/number/date/dropdown fields for additional record-keeping. Transaction-level, applied to invoices/bills/journals/contacts. Can show on PDFs and be made mandatory. No reporting impact, not available on schedulers.
|
|
267
267
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> **The endpoints clio wraps (the REST surface is larger).** This file catalogues roughly 200
|
|
4
4
|
> paths, organized by resource, including undocumented endpoints, magic AI features, admin
|
|
5
5
|
> APIs, and advanced search/filter syntax. The committed OpenAPI spec (`spec/openapi.yaml`)
|
|
6
|
-
> carries
|
|
6
|
+
> carries 582 spec paths and 731 spec operations and is the authoritative list; check it before concluding
|
|
7
7
|
> an endpoint does not exist. For request/response examples of core endpoints, see
|
|
8
8
|
> endpoints.md.
|
|
9
9
|
>
|
|
@@ -928,6 +928,13 @@ incomplete. Reaching them needs a raw HTTP call.
|
|
|
928
928
|
| POST | `/payments/withholding` | Record withholding on a sale / sale credit note payment (see SKILL.md Rule 45) |
|
|
929
929
|
| GET | `/withholding-codes` | Withholding codes (BIR ATCs) for line `withholdingTax` and 2307 allocations (Rule 98) |
|
|
930
930
|
|
|
931
|
+
### Attachments on registers and cash entries (21): 2026-11-19
|
|
932
|
+
|
|
933
|
+
`GET` and `POST /{type}/:resourceId/attachments`, `DELETE /{type}/:resourceId/attachments/:attachmentResourceId`
|
|
934
|
+
for `fixed-assets`, `deferrals`, `leases`, `loans`, `cash-in-entries`, `cash-out-entries`, `cash-transfers`.
|
|
935
|
+
Upload takes the `file` field only (no `attachmentType`). Wrapped by `get_attachments` /
|
|
936
|
+
`add_attachment` / `delete_attachment` and `clio attachments`.
|
|
937
|
+
|
|
931
938
|
---
|
|
932
939
|
|
|
933
940
|
*Last updated: 2026-08-16 (added the "Additions since 2026-07-11" section: request-changes ×18, payments bulk/batch ×9, cash bulk ×3, record-list option pickers ×4, bank-record archive ×2, withholding ×1; dropped the "every endpoint" claim: the tables above cover the endpoints clio wraps, not the whole surface). Previous: 2026-07-11 (added Jots judgment journal: 3 endpoints). 2026-04-29: Added 3 drafts lifecycle endpoints (validate, convert-to-active, submit-for-approval), bulk-friendly, mixed-type batches up to 500. Same day: 8 reconciliation action endpoints; 8 bulk-upsert endpoints. 2026-04-09: Background Jobs, Export Records, contacts bulk-upsert.*
|
|
@@ -774,7 +774,7 @@ See SKILL.md Auth Precedence section for full details.
|
|
|
774
774
|
### `clio attachments`: Transaction attachments
|
|
775
775
|
| Subcommand | Key flags |
|
|
776
776
|
|------------|-----------|
|
|
777
|
-
| `list` | `--type` (invoices, bills, journals, etc.), `--id` |
|
|
777
|
+
| `list` | `--type` (invoices, bills, journals, fixed-assets, cash-in-entries, etc.), `--id` |
|
|
778
778
|
| `add` | `--type`, `--id`, `<file>` |
|
|
779
779
|
| `delete <attachmentId>` | `--type`, `--id` (the transaction; the attachment id is positional) |
|
|
780
780
|
|