Close accounting periods with workflow, daily and monthly balances, validation before closing, audit log of every action. Reopen if needed with audit trail.
Without a clear period lifecycle — past data can be changed, reports diverge, audit is hell. Close/reopen workflow with audit solves this.
Employee edits old expense, but last month's report is already sent. Confusion follows.
What documents are even in March period? Without structured periods — Excel list.
Without pre-close validation — errors repeat for months.
Who closed period X? When? Why? Without audit log — no answer.
Construction Hub organizes accounting periods with strict workflow.
close endpoint marks period as closed. reopen — if needed with permission check and audit record. Who, when, why.
getDailyBalances for each period. Automatic aggregation from transactions. initializeBalances on initial setup.
getMonthlyBalance gives final numbers for report. Automatic recalculate on change.
validate endpoint checks if balances reconcile, all documents have correspondence. Prevents wrong close.
getAuditLog shows all period actions — close, reopen, balance updates. With user, timestamp, reason.
getStatusForDate checks whether a date is in open or closed period. Allows business logic to restrict.
Four steps for stable monthly close:
generateMissing creates periods for future months automatically. getOrCreate on first use.
Documents, transactions, acts attribute to current period. getStatusForDate watches the rules.
At month end — validate checks if balances reconciled, all documents filled.
close closes the period. Final reports generated. Past documents cannot be edited without reopen.
Suitable for any firm with monthly accounting close:
Clean close each month with validate beforehand. Audit log for internal and external control.
Certainty that reports are final — no one can change past data without approval.
Audit log of all close/reopen actions. Viewed balances for each period.
Confidence that monthly reports reflect reality and cannot be retrospectively changed.
Why Excel can't enforce period discipline:
| Feature | Excel | Construction Hub |
|---|---|---|
| Period close | Manual, discipline | close endpoint with audit |
| Reopen | No distinction | With permission + log |
| Daily balances | Manual | Auto from transactions |
| Validation | None | validate before close |
| Audit log | None | Full log |
| Status for date | Lookup | getStatusForDate |
| Generate missing | Manual | generateMissing auto |
close endpoint requires accountingProcedure permission. Records user, timestamp, reason. After close — documents in period cannot be edited.
Yes, with accountingProcedure permission. reopen endpoint records reason and audit trail. After reopen — edits possible.
Cannot be edited or deleted without reopen. getStatusForDate used for validation before every operation.
Automatic from transactions for that day. getDailyBalances for visualization. initializeBalances on initial setup or migration.
Checks if dailyBalances reconcile, monthlyBalance is correct, all documents have their act/invoice. Prevents wrong close.
Yes. getAuditLog shows all close/reopen actions with user, timestamp, reason, IP. Court-valid.
Yes. generateMissing creates periods for current and future months. On first need getOrCreate ensures availability.