Skip to content

JNY-ACC-BAT-005Fiscal close recognises deferred amounts and protects the period

Markdown

JNY-ACC-BAT-005

Fiscal close recognises deferred amounts and protects the period

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindJourneyProduct areaAccountingModuleBatch ManagementRevision1End-to-endRequired

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
Complete monthly recognition, preserve the closed-period safeguards and use reopening when fiscal recovery is required.
Screens
/console/{tenantId}/accounting/close/console/{tenantId}/accounting/batches/console/{tenantId}/accounting/batches/new

Steps

#SurfaceActionCapabilityExpectedProvenance
1/console/{tenantId}/accounting/batches/{batchId}Post the collection containing an annual membership invoice.CAP-ACC-BAT-019Its deferred revenue plan contains twelve monthly releases.test
2/console/{tenantId}/accounting/close (Month-End Close, Close Period)Complete the period-close workflow.CAP-ACC-BAT-020The period’s deferred-revenue system batch records the month’s recognition in its fiscal context.test
3/console/{tenantId}/accounting/batches/newRequest a new batch dated in the closed month.CAP-ACC-BAT-001The calendar refusal identifies the period; a current-date batch can still be created.documented
4unpostBatchesRequest ordinary recovery of the month’s invoice collection.CAP-ACC-BAT-016The closed-period guard leaves the collection Posted.test
5/console/{tenantId}/accounting/batches/{batchId} (the deferred revenue batch)Inspect the fiscal system collection.CAP-ACC-BAT-004Its ordinary action list is empty and attempted staff actions fail.test
services-accounting:modules/batches/tests/e2e/system-batches.e2e.spec.js#offers an administrator no action for the system batch
6/console/{tenantId}/accounting/close (Reopen)Reopen the month through fiscal close.CAP-ACC-BAT-020System accounting adds mirrors of the retained originals, opens the system batch and resets that month’s recognition.test

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate2A proportional membership credit follows three recognised months.Its adjustment plan reduces the remaining nine unrecognised months.Later close recognises the adjusted remaining releases.test
failure2Accounting work still holds the period when close begins.The shared period guard serializes the conflicting work.The held posting transaction completes before the close can advance.test

Assertions

IdStatementProvenance
01The closed period’s system collection holds the recognition completed for that period.test
services-accounting:modules/batches/tests/integration/services/close/revenue-recognition.integration.spec.js#posts the entries in July's deferred revenue batch, named and dated as 1.0 did, with one entry per schedule entry
02Closed-period safeguards reject creation, fiscal relocation, posting and ordinary unposting in that period.test
03Fiscal reopening retains original recognition entries, adds mirrors and resets the applicable recognition facts.test
services-accounting:modules/batches/tests/integration/services/close/reverse-system-batch.integration.spec.js#writes a reversing entry for each entry, debits and credits swapped, and keeps the originals
04Ordinary staff actions remain unavailable for the system collection.test
services-accounting:modules/batches/tests/e2e/system-batches.e2e.spec.js#leaves the batch unchanged after every refused action

End-to-end policy: required: Browser acceptance is required across fiscal close and batch inspection to demonstrate the closed-period safeguards and reopening result.

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.