Skip to content

JNY-ACC-CLS-004A controller completes the year through its final month

Markdown

JNY-ACC-CLS-004

A controller completes the year through its final month

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindJourneyProduct areaAccountingModuleMonth-End ClosingRevision1End-to-endOptional

Read atreact-console baf6dae3services-accounting f47cb263

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Goal
Review the year and complete its final period with future calendars available.
Screens
/console/{tenantId}/accounting/close/years/{fiscalYearId}/console/{tenantId}/accounting/close/history

Steps

#SurfaceActionCapabilityExpectedProvenance
1closeFiscalPeriodComplete the first eleven months and attempt one out-of-sequence close.CAP-ACC-CLS-008Months complete in order and the premature request is refused.documented
2/console/{tenantId}/accounting/close/years/{fiscalYearId}Review the fiscal-year screen.CAP-ACC-CLS-004The final month includes year checks and explains the absence of year-end ledger entries.documented
3closeFiscalPeriodConfirm the final period’s close.CAP-ACC-CLS-010The year-close run completes and future-year generation attempts to supply three eligible years.test
4/console/{tenantId}/accounting/close/historyInspect the calendar after completion.CAP-ACC-CLS-001The year is closed with its final-period details and the next unfinished period is current.test
5reopenFiscalPeriodRequest a reasoned reopen of the final month.CAP-ACC-CLS-011The period and year return to open.test

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
failure3Generation fails after successful finalization.The run remains successful while its job records the failed future-year step.A later close can fill the calendar, without a dedicated staff notification today.observed
services-accounting:docs/migrations/fiscal-close/README.md#Decisions and departures from the brief

Assertions

IdStatementProvenance
01The year closes when its final remaining period closes.test
02Year completion produces no closing or opening ledger entries.documented
03Successful uncapped roll-forward leaves three eligible future years.test
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#rolls the fiscal years forward to three open years after September 2026

End-to-end policy: optional: Year review spans the final-month screen and execution; service evidence covers the available path while browser coverage remains optional.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.