jaz-clio 9.5.0 → 9.5.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.
- package/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/api/references/feature-glossary.md +38 -0
- package/assets/skills/cli/SKILL.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 +2 -2
- package/assets/skills/jobs/references/building-blocks.md +1 -1
- package/assets/skills/jobs/references/month-end-close.md +1 -1
- package/assets/skills/jobs/references/year-end-close.md +3 -0
- package/assets/skills/transaction-recipes/SKILL.md +1 -1
- package/assets/skills/transaction-recipes/references/bank-loan.md +1 -1
- package/assets/skills/transaction-recipes/references/hire-purchase.md +1 -1
- package/assets/skills/transaction-recipes/references/ifrs16-lease.md +1 -1
- package/cli.mjs +8 -7
- package/package.json +1 -1
|
@@ -106,6 +106,8 @@ Cash transfer FX logic: currency and exchange rates are derived server-side from
|
|
|
106
106
|
|
|
107
107
|
Containers that group related transactions for complex accounting scenarios. Use cases: prepaid expenses (annual insurance amortization), deferred revenue, accrued expenses, fixed asset acquisitions (CIP), intercompany transactions, renovation projects.
|
|
108
108
|
|
|
109
|
+
Prepaid expenses and deferred revenue kept on the books belong in the Deferrals register (below); capsules are for items kept manually, and for accruals and the other cases above.
|
|
110
|
+
|
|
109
111
|
A capsule links invoices, bills, journals, and schedulers into a single logical unit. If a scheduler belongs to a capsule, every recurring entry it generates is automatically created under that same capsule; this is how prepaid expenses, deferred revenue, and accruals spread entries across periods while keeping them grouped. The ledger can be filtered and grouped by capsule (the only enrichment that supports group-by). Capsule Types are customizable labels. A capsule must be empty before deletion. Transactions can be bulk-attached via Quick Fix or moved between capsules.
|
|
110
112
|
|
|
111
113
|
**API**: CRUD `GET/POST/PUT/DELETE /capsules`, `POST /capsules/search`, `POST /move-transaction-capsules`, CRUD `GET/POST/PUT/DELETE /capsuleTypes`, `POST /capsuleTypes/search` (also available as `/capsule-types/*` kebab-case aliases)
|
|
@@ -193,6 +195,42 @@ Fixed assets lock their linked line items: cannot edit account, amounts, or exch
|
|
|
193
195
|
|
|
194
196
|
---
|
|
195
197
|
|
|
198
|
+
## Deferrals
|
|
199
|
+
|
|
200
|
+
Spreads whole bill, invoice or journal lines over months: prepaid expenses (an asset released to expense) and deferred revenue (a liability released to revenue). The amount is never typed: it is the net of tax of the chosen lines, which must come from one document and one account marked as a deferral account. Jaz posts the whole release schedule when the deferral is activated, including every past period if the start date is in the past; it does not create the bill, invoice or journal, which the user records as usual. A draft posts nothing but holds its lines.
|
|
201
|
+
|
|
202
|
+
Editing a schedule field on an active deferral rewrites every row and is refused once a period is locked. Close out stops the releases and posts nothing for the remaining balance (it stays on the deferral account until the user journals it); reopen undoes it. Deleting a deferral frees its lines. A bill, invoice or journal with a line in a deferral cannot be voided (`CANNOT_VOID_BUSINESS_TRANSACTION_LINKED_WITH_DEFERRAL`), and that line cannot be edited, until the deferral is deleted. Life is 1-1200 months; periods are anniversaries of the start date, not calendar months.
|
|
203
|
+
|
|
204
|
+
**Tools and reports**: `search_deferral_accounts`, `search_deferral_eligible_lines`, `create_deferral`, `close_out_deferral`, `get_deferral_totals` (always pass the category); `generate_deferrals_summary`, and `generate_deferrals_reconciliation_summary` for register vs ledger.
|
|
205
|
+
|
|
206
|
+
**API**: `POST /deferrals/eligible-lines/search`, CRUD `/deferrals`, `POST /deferrals/search`, `GET /deferrals/totals`, `POST /close-out/deferrals/:id`, `POST /reopen/deferrals/:id`, `PUT /deferral-accounts`
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Leases (IFRS 16)
|
|
211
|
+
|
|
212
|
+
Lessee leases under IFRS 16 and hire purchase (a lease type, not a loan). The amounts come from the rent schedule and the discount rate, not a typed balance. Jaz posts the recognition entry (right-of-use asset and lease liability), then each month the interest, the depreciation and the current/non-current move. It never posts rent: the user records every rent payment as a bill or cash entry coded to the current lease liability account, not Rent Expense, or the reconciliation shows a gap. A lease from before Jaz starts at the go-live date with the remaining term and rent, and stays out of the opening balances.
|
|
213
|
+
|
|
214
|
+
A draft posts nothing; activating posts the schedule. Editing a schedule field on an active lease rewrites every entry and is refused once a month is locked; there is no rent review, so a mid-life change is terminate plus a new lease. Close out stops posting but leaves the liability and asset on the books; reopen undoes it. Terminate takes the lease off the books at a month-end with a gain or loss (preview first); undo termination reverses it. The discount rate is % per MONTH (6% a year is 0.5). The term is 1-600 months. A short-term or low-value lease can be registered as EXEMPT and posts nothing.
|
|
215
|
+
|
|
216
|
+
**Tools and reports**: `create_lease`, `get_lease_schedule`, `get_lease_totals`, `terminate_lease`; `generate_leases_summary`, and `generate_leases_reconciliation_summary` for register vs ledger. The `leases-register` export has a Maturity Analysis sheet.
|
|
217
|
+
|
|
218
|
+
**API**: CRUD `/leases`, `POST /leases/search`, `GET /leases/totals`, `GET /leases/:id/schedule`, `POST /leases/calculate-flat-rate`, `POST /terminate/leases/:id`, `POST /undo-termination/leases/:id`, `POST /close-out/leases/:id`
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Loans
|
|
223
|
+
|
|
224
|
+
Borrowings, term loans (with a repayment schedule) and on-demand accounts (director, shareholder, related-party or intercompany: no schedule, and no interest posted). The principal and terms are entered; the schedule follows from them. Each month-end Jaz posts the interest and the current/non-current move. It never posts cash: the user records the drawdown receipt (non-current loan account) and every installment in full (current loan account), and no loan event is needed for a scheduled repayment. Revolving credit, foreign-currency loans, loans given and fixed deposits are not in the register.
|
|
225
|
+
|
|
226
|
+
A draft posts nothing; activating posts the schedule. Editing terms on an active loan rewrites the schedule and is refused once a month is locked; for a mid-life change use a loan event (drawdown, prepay, rate change, payment holiday, capitalize interest, restructure, refinance, settle, forgive, convert to shares). Events go forward only and only the latest can be undone (`undo_loan_event`). Close out stops posting and keeps the balance; reopen undoes it. The rate is % per YEAR (6.5 means 6.5% a year). The term is 1-600 months.
|
|
227
|
+
|
|
228
|
+
**Tools and reports**: `preview_loan_schedule`, `create_loan`, `get_loan_totals`, the loan event tools; `generate_loans_summary`, `generate_loans_maturity_analysis` (the liquidity note) and `generate_loans_reconciliation_summary` for register vs ledger (a non-zero gap is a missed or mis-coded repayment).
|
|
229
|
+
|
|
230
|
+
**API**: CRUD `/loans`, `POST /loans/search`, `GET /loans/totals`, `POST /loans/preview-schedule`, `POST /settle/loans/:id` and the other event routes, `POST /undo-event/loans/:id`, `POST /close-out/loans/:id`
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
196
234
|
## AI Agents
|
|
197
235
|
|
|
198
236
|
**Clio**: AI assistant for accounting tasks. Auto-extracts invoice/bill data from PDF/image attachments (OCR), detects multi-step transactions (prepaid expenses, deferred revenue, accruals), and suggests capsule creation with linked schedulers. Creates draft transactions for user review. Session-based (no persistent chat history). Available on web and Android (iOS coming).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-jobs
|
|
3
|
-
version: 9.5.
|
|
3
|
+
version: 9.5.1
|
|
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,
|
|
@@ -29,7 +29,7 @@ You orchestrate the **real platform tools directly**, following the phase sequen
|
|
|
29
29
|
|
|
30
30
|
### Scheduled and calculated entries
|
|
31
31
|
|
|
32
|
-
Leases, hire purchases, loans, prepaid expenses and deferred revenue kept on the books live in their registers (`leases`, `loans`, `loan_events`, `deferrals`), which post their own periodic entries: a close step only verifies and finalizes what they posted. If a register refuses (403), tell the user and offer the calculated schedule with manual journals; do not use it unasked. For everything else, and for items kept manually, when a step needs a calculated schedule, do it in three steps (there is no one-call recipe execution):
|
|
32
|
+
Leases, hire purchases, loans, prepaid expenses and deferred revenue kept on the books live in their registers (`leases`, `loans`, `loan_events`, `deferrals`), which post their own periodic entries, never cash: a close step only verifies and finalizes what they posted. If a register refuses (403), tell the user and offer the calculated schedule with manual journals; do not use it unasked. For everything else, and for items kept manually, when a step needs a calculated schedule, do it in three steps (there is no one-call recipe execution):
|
|
33
33
|
|
|
34
34
|
1. **Calculate:** `calculate` with `type` = `loan` | `lease` | `depreciation` | `prepaid-expense` | `deferred-revenue` | `ecl` | `provision` | `fixed-deposit` | `asset-disposal` | `accrued-expense` | `leave-accrual` | `dividend` (CLI: `clio calc <type> ... --json`). Offline; returns the schedule and, with a start date, dated steps with journal lines. Posts nothing.
|
|
35
35
|
2. **Group:** `list_capsule_types`, then `create_capsule` with the matching `capsuleTypeResourceId` and a `title`.
|
|
@@ -50,7 +50,7 @@ Standard assertions:
|
|
|
50
50
|
|
|
51
51
|
## Calculated schedules: calculate, capsule, post
|
|
52
52
|
|
|
53
|
-
Loans, leases, prepaid expenses and deferred revenue are kept in their registers (`loans`, `leases`, `deferrals`), which post their own entries; use the three steps below for those only when the register is not available to the organization and the user asks for journals. There is no one-call "recipe" execution. Any other job step that needs a schedule (accrual, ECL, provision, dividend, disposal) is three steps you perform yourself:
|
|
53
|
+
Loans, leases, prepaid expenses and deferred revenue are kept in their registers (`loans`, `leases`, `deferrals`), which post their own entries, never cash; use the three steps below for those only when the register is not available to the organization and the user asks for journals. There is no one-call "recipe" execution. Any other job step that needs a schedule (accrual, ECL, provision, dividend, disposal) is three steps you perform yourself:
|
|
54
54
|
|
|
55
55
|
```
|
|
56
56
|
calculate(type: 'prepaid-expense', amount: 12000, periods: 12, startDate: '2025-01-01')
|
|
@@ -143,7 +143,7 @@ On first month of FY only: `create_capsule` (type `Employee Benefits`), then eit
|
|
|
143
143
|
|
|
144
144
|
### Step 11: Loan interest (finalize this period's draft journal)
|
|
145
145
|
|
|
146
|
-
Loans kept in the `loans` register post their own interest and repayment
|
|
146
|
+
Loans kept in the `loans` register post their own interest and the current/non-current move, never cash: you record every repayment yourself (check the balances with `get_loan_totals`; `generate_loans_reconciliation_summary` shows a missed or mis-coded repayment). The capsule route below is for loans kept manually.
|
|
147
147
|
|
|
148
148
|
For each active loan capsule (via `search_capsules(filter: {status: {eq: 'ACTIVE'}})` (capsule type is not filterable; see `building-blocks.md` § Filter limits)):
|
|
149
149
|
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
- **`update_account(resourceId: <CoA root>, lockDate: <FY-end>)`**: Y8 final lock.
|
|
20
20
|
|
|
21
21
|
### Platform tools: current/non-current reclassification (manual annual journals)
|
|
22
|
+
- **Skip loans and leases kept in the `loans` / `leases` registers**: they post the current/non-current move every month-end (verify with `get_loan_totals` / `get_lease_totals`). The manual journals below are only for loans and leases kept manually in capsules.
|
|
22
23
|
- **`search_capsules(filter: {status: {eq: 'ACTIVE'}})` (capsule type is not filterable; see `building-blocks.md` § Filter limits)** + per-capsule `clio calc loan` to compute next-12-months principal portion.
|
|
23
24
|
- **`search_capsules(filter: {status: {eq: 'ACTIVE'}})` (capsule type is not filterable; see `building-blocks.md` § Filter limits)** + per-capsule `clio calc lease` for IFRS 16 reclassification.
|
|
24
25
|
- **`create_journal(...)`** for the reclassification entries (Dr Loan Payable Non-current / Cr Loan Payable Current; Dr Lease Liability Non-current / Cr Lease Liability Current).
|
|
@@ -161,6 +162,8 @@ Per capsule, recompute the present value at FY-end (`clio calc provision`). Top-
|
|
|
161
162
|
|
|
162
163
|
### Y6: Current/non-current reclassification (manual journals)
|
|
163
164
|
|
|
165
|
+
Skip loans and leases kept in the `loans` / `leases` registers: they post the move every month-end (verify with `get_loan_totals` / `get_lease_totals`). This step is only for loans and leases kept manually in capsules.
|
|
166
|
+
|
|
164
167
|
For each loan capsule:
|
|
165
168
|
```
|
|
166
169
|
clio calc loan --principal <outstanding-at-FY-end> --rate <r> --term <remaining-months> --json
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Canonical recipe for term loans with fixed monthly installments. Never hand-build the amortization table: the calculator returns it, with the journal lines for every installment. You create the capsule and post the disbursement and each repayment yourself (see `building-blocks.md` § The three-step flow).
|
|
4
4
|
|
|
5
|
-
> **Register first.** To keep a loan on the books, use the `loans` register (changes in `loan_events`) (`create_loan`): it keeps the schedule and posts the
|
|
5
|
+
> **Register first.** To keep a loan on the books, use the `loans` register (changes in `loan_events`) (`create_loan`): it keeps the schedule and posts the interest and the current/non-current move itself, never cash (you record the drawdown and every repayment). This recipe is the manual alternative, for organizations whose plan or role does not include the register, or when the user asks for journals.
|
|
6
6
|
|
|
7
7
|
## Tools and calculator this recipe uses
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Variant of the IFRS 16 lease recipe where ownership transfers at the end of the term. Same calculator, same step structure as `ifrs16-lease.md`, but the ROU asset depreciates over its USEFUL LIFE (typically longer), not the financing term.
|
|
4
4
|
|
|
5
|
-
> **Register first.** To keep a hire purchase on the books, use the `leases` register (`create_lease`): it keeps the schedule and posts the
|
|
5
|
+
> **Register first.** To keep a hire purchase on the books, use the `leases` register (`create_lease`): it keeps the schedule and posts the interest, depreciation and the current/non-current move itself, never rent (you record every payment). This recipe is the manual alternative, for organizations whose plan or role does not include the register, or when the user asks for journals.
|
|
6
6
|
|
|
7
7
|
## Why hire-purchase uses the lease calculator
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Canonical recipe for leases (office, equipment, vehicles) under IFRS 16. An initial recognition journal (Dr ROU Asset / Cr Lease Liability at present value), the ROU asset registered in the Jaz fixed-asset register, and N liability-unwinding journals. ROU depreciation runs through the Jaz native FA register (straight-line, auto-posted by Jaz). You calculate, create the capsule and post each entry yourself (see `building-blocks.md` § The three-step flow).
|
|
4
4
|
|
|
5
|
-
> **Register first.** To keep a lease on the books, use the `leases` register (`create_lease`): it keeps the schedule and posts the
|
|
5
|
+
> **Register first.** To keep a lease on the books, use the `leases` register (`create_lease`): it keeps the schedule and posts the interest, depreciation and the current/non-current move itself, never rent (you record every payment). This recipe is the manual alternative, for organizations whose plan or role does not include the register, or when the user asks for journals.
|
|
6
6
|
|
|
7
7
|
## Tools and calculator this recipe uses
|
|
8
8
|
|