# A month close that knows what each step waits for

Golden Ear Bakery's November is nine steps in the office's order, from documents in to filed, each done step with who and when and each open one with what it waits for. The next step is a card at the top of the side column with one ink action, and the client's side of the VAT package is a state, not a box to tick. Steps that do not apply are left out, such as payroll for a client without staff.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/screens/month-end-close/

*Golden Ear Bakery's November close in Kestrel, rendered from the kit's own components when the site was built: the client's page on a desktop, the side panel the month list opens on a phone.*

A live screen, rendered from the kit's components on the page: https://meadowstack.com/screens/month-end-close/

Open it in the live demo: https://meadowstack.com/demo/?lang=en#/kestrel/ucetnictvi/cl-3

From the example app [An app for an accounting office](https://meadowstack.com/examples/accounting-office-documents/).

## What the screen shows

- **The checklist**: nine steps in the office's order under a bar of how many are done. A done step has a line run across its title and says who did it and when, the next one says Up next, the others say what they wait for.
- **Boxes and states**: the office's own steps (bank, books, VAT return, payroll) are boxes for whoever works the client. Documents in and the client's side of the package (sent, approved, filed) are states, set from the next-step card. A box that a later done step stands on stays ticked and locked: the payroll run, once PAYE is paid.
- **The next step**: a card at the top of the side column with what to do, the VAT return's deadline in days and one ink action, Confirm the month is booked.
- **The VAT return**: a draft from the books so far, box by box, prepared once the month is booked.
- **The client's profile**: the form, the numbers, the VAT period, the staff, the accountant, the software the books are kept in and the contact, as a [property list](https://meadowstack.com/components/property-list/).

## The order lives in one place

The steps, what each waits for and when work turns urgent are pure functions in the books module (`close.ts`), used by the api, which enforces them, and by the screens, which show them, so the checklist never offers a box the api would refuse. A done step can be taken back only while nothing after it is done, and filing is final. Work open five days or less before its deadline is a warning and past it danger, in the client's deadlines, on the office's deadlines page and in the month view of every client.

Who may tick lives in the module's permissions: the owner works any client's close, an accountant the closes of their own clients, and the assistant reads every close and records missing documents as they come in. Someone who may not work the client reads the same checklist without boxes, because the screen asks `can()` for each step ([permissions](https://meadowstack.com/patterns/permissions/)).

## What AI tools tend to get wrong here

A generated close checklist is usually a flat to-do list: every box tickable in any order, nobody named beside a ticked box, and the client's approval as one more box the office can tick. It lets someone prepare the VAT return before the month is booked. Here a step that waits says what for and its box stays disabled, the client's side is a state the office cannot tick, and each done step keeps its person and time.

The kit's [Checklist](https://meadowstack.com/components/checklist/) draws a step as one line, so the module builds this list from the kit's `Checkbox`, `DoneText` and `StatusGlyph` to fit the who-and-when line under each step; the motion stays the kit's (the tick draws, the line runs across the title, the bar fills). The page is the kit's record archetype ([record](https://meadowstack.com/patterns/record/)), and on a phone the month list opens it as a side panel that fills the screen, with the next step right under the title ([record side panel](https://meadowstack.com/patterns/record-side-panel/)).

## The nine steps and what each waits for

*The order and the dependencies as the books module defines them (domain/close.ts and permissions.ts in the demo); the api refuses what the checklist does not offer.*

| Step | Waits for | How it is done |
| --- | --- | --- |
| Documents in | Nothing: it counts the documents still missing | A state: done once every missing document has come in |
| Bank matched | Documents in | Ticked by whoever works the client |
| Booked | Bank matched | Ticked by whoever works the client |
| VAT return prepared | Booked | Ticked by whoever works the client, only when there is VAT to file that month |
| Payroll run | Nothing | Ticked by whoever works the client, only for a client with staff |
| PAYE paid | Payroll run | Ticked by whoever works the client once the client has paid |
| Sent to the client for approval | VAT return prepared | A state, set from the next-step card |
| Approved by the client | Sent to the client for approval | A state, recorded by the accountant |
| Filed | Approved by the client | A state, set from the next-step card; it cannot be taken back |

## Questions

### Can a step be ticked before the one it waits for?

No. Its box stays disabled with what it waits for written under it, and the api refuses it too, because both read the same rules. The VAT return is prepared only once the month is booked.

### Can a done step be taken back?

Only while nothing after it is done. The payroll run stays ticked once PAYE is paid, and filing cannot be taken back at all.

### Who may tick the steps?

The owner works any client's close and an accountant the closes of their own clients. The assistant reads every close and records missing documents as they come in, and sees the checklist without boxes.

### What about a client without staff or without VAT to file?

The steps that do not apply are left out and said in one line under the list: no payroll without staff, no VAT package when there is nothing to file that month.

### When does a client's close turn urgent?

When work is still open five days or less before its deadline, it shows as a warning, and past the deadline as danger, in the client's deadlines and in the month view of every client.

## Related

- [An app for an accounting office](https://meadowstack.com/examples/accounting-office-documents/) (Example app)
- [Bank lines matched to the documents they paid](https://meadowstack.com/screens/bank-reconciliation/) (Screens)
- [A document inbox that catches a changed bank account](https://meadowstack.com/screens/document-inbox/) (Screens)
- [A driver record that says what expires next](https://meadowstack.com/screens/driver-record/) (Screens)
- [A lot record that traces one step back and one step forward](https://meadowstack.com/screens/lot-traceability/) (Screens)
- [A recipe with its cost and its allergens](https://meadowstack.com/screens/recipe-with-allergens/) (Screens)
