Skip to content

About

Month-end close across many clients: status schema, the close checklist as data, a fictional 12-client firm and a status report script.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Multi-client month-end close spec

To run month-end close across many clients, track every client against the same checklist: statements in, transactions categorized, every account reconciled, recurring entries posted, agings tied, reviewed by someone other than the preparer, questions answered, financials sent, period locked. Each step needs a date, a person and evidence, and a due date in business days after month end. ZeraBooks is accounting software for firms that do this: each client is its own company in one login, and AI does the routine steps (reading statements, categorizing from that client's history, reconciling, drafting month-end entries) for you to review.

This repo is the tracking side as an open spec: a JSON Schema for one client's close status, the 14-step close checklist as data, 8 rules that keep the status honest, two months of fictional data for a 12-client firm, and a script that prints the firm's status report.

The checklist

Step Phase Step After Who Due (business day)
C01 collect Bank and card statements received for every account preparer 2
C02 collect Payroll reports received (if payroll) preparer 2
C03 collect Bills and receipts uploaded preparer 3
C04 process Transactions categorized C01 preparer 4
C05 process Bills and invoices matched to payments C03, C04 preparer 4
C06 reconcile Every bank and card account reconciled C04 preparer 5
C07 reconcile Payroll liabilities tie to the payroll report (if payroll) C02, C04 preparer 5
C08 reconcile Sales tax payable ties (if collected) C04 preparer 5
C09 adjust Recurring entries posted C06 preparer 6
C10 adjust A/R and A/P agings tie to the balance sheet C05, C09 preparer 6
C11 review Reviewer check of the trial balance and flux C06, C09, C10 reviewer 7
C12 review Client questions answered C11 preparer 8
C13 report Financial statements sent C11, C12 reviewer 9
C14 lock Period locked C13 reviewer 10

Change the steps, owners and due days in the CSV to fit your firm. The script reads it.

One client's status

{
  "client_id": "C-107",
  "client": "Daybreak Coffee Bar",
  "period": "2026-10",
  "preparer": "Devon Clarke",
  "reviewer": "Tom Okafor",
  "profile": {"has_payroll": true, "collects_sales_tax": true, "industry": "coffee_shop"},
  "steps": [
    {"step_id": "C01", "status": "done", "completed_on": "2026-11-03", "completed_by": "Devon Clarke", "evidence": "Statements in client folder"},
    {"step_id": "C06", "status": "blocked", "blocked_reason": "Checking ...6954 off by -212.40; waiting on the client for a missing deposit slip"}
  ],
  "accounts": [{"account": "Checking ...6954", "statement_received": true, "reconciled": false, "difference": "-212.40"}],
  "open_questions": 0
}

Statuses: not_started, in_progress, blocked, done, na.

Rules that keep it honest

ID Rule
CL-001 Every step is in the file; one that doesn't apply is na
CL-002 na only when the profile says so (no payroll, no sales tax)
CL-003 Done means a date, a person and evidence
CL-004 No step done before the steps it depends on
CL-005 Review steps are done by the reviewer, and the reviewer isn't the preparer
CL-006 Blocked says what it's waiting for
CL-007 Reconciled means the statement is in and the difference is 0.00
CL-008 Step status matches the facts: no "statements received" with one missing, no "reconciled" with an account open, no "questions answered" with questions open

A close tracker is only useful if a green tick means the same thing for every client. CL-007 and CL-008 are there so nobody marks an account reconciled that's $18.20 off.

The status report

python3 cli/close_report.py samples/firm/2026-10 --as-of 2026-11-05
python3 cli/close_report.py samples/firm/2026-10 --as-of 2026-11-05 --markdown > status.md
python3 cli/close_report.py samples/firm/2026-10 --csv > status.csv
python3 cli/close_report.py samples/firm/2026-10 --check
Close status, 2026-10, as of 2026-11-05
12 clients: 2 locked, 5 on track, 2 late, 3 blocked.

Fernhill Goods                     blocked    0/12 collect   next: C01 Bank and card statements received for every  2026-11-03
                                   blocked: C01: Client hasn't sent the Checking ...7983 statement
Daybreak Coffee Bar                blocked    5/14 reconcile next: C06 Every bank and card account reconciled to th 2026-11-06
                                   blocked: C06: Checking ...6954 off by -212.40; waiting on the client for a missing deposit slip
Tan & Ruiz Law Group               blocked   10/13 review    next: C12 Client questions answered                    2026-11-11
                                   blocked: C12: 3 questions waiting on the client
St. Brendan Parish Food Pantry     late       1/11 collect   next: C03 Bills and receipts for the month uploaded    2026-11-04
Copperline Electric LLC            late       2/13 collect   next: C03 Bills and receipts for the month uploaded    2026-11-04
...

Blocked clients first, then late, then on track, then locked. Due dates count weekdays after month end; holidays aren't skipped, so adjust due_business_day around them. The full example is in samples/reports/.

Samples

Harbor & Pine Accounting is a fictional firm with three preparers, two reviewers and 12 clients: a bakery, a dental practice, a landscaper, a freight company, an online store, an agency, a coffee bar, a property manager, a counseling practice, a law firm, an electrician and a food pantry. Some have payroll, some collect sales tax, and the profiles decide which steps apply.

Folder What
samples/firm/2026-09/ September: all 12 locked
samples/firm/2026-10/ October as of November 5, 2026: locked, on track, late and blocked clients
samples/reports/ The October status report as Markdown and CSV
samples/invalid/ 8 client files that break one rule each, with expected.json

scripts/generate_samples.py builds them from a fixed seed.

Where ZeraBooks fits

The steps that take the hours are C04 to C10. ZeraBooks runs each client as its own company in one login: AI reads the statements, categorizes from that client's reviewed history, matches bills and invoices, reconciles every account against the statement and drafts the recurring month-end entries, and you review what it did before the period is finalized. The review, the client questions and the sign-off stay with your team. 3 clients are included from $79 a month billed annually; each additional client is $29 a month, or $290 a year on annual billing.

Tests

python3 scripts/generate_samples.py
python3 -m unittest discover -s tests -v

License and citation

Code MIT (LICENSE). Checklist, schema, samples and docs CC BY 4.0 (LICENSE-SAMPLES). See CITATION.cff. MANIFEST.json and checksums.txt list every data file with its SHA-256.

Related: ZeraBooks/month-end-checklists (checklists in Markdown for a single business) and ZeraBooks/month-end-adjusting-entries (drafting step C09 from a schedule).

About

Month-end close across many clients: status schema, the close checklist as data, a fictional 12-client firm and a status report script.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages