ZuloOne
English
Sign inTry it
Menu

MonthClose

Updated

The month-end close of one legal entity and fiscal period: checks, depreciation, deferred expenses, revaluation of foreign-currency debts, cost recalculation, closing income and expenses to the financial result, closing the period — in that order, each recorded on a row of Steps. The closing entries are written under this document. See Month-end close.

Kind Document
Module Accounting
Menu General ledger → Operations → Month-end close

Fields#

Field Caption Points at
ID Number number sequence
LegalEntity Legal entity LegalEntity: the record defaults' legal entity unless set
FiscalPeriod Fiscal period FiscalPeriod: the earliest open month already ended unless set
Notes Notes string, 500
Steps Steps MonthCloseSteps rows

LegalEntity and FiscalPeriod are required, and one month-end close is allowed per legal entity and period. Document date is stamped with the period's last day. ID comes from MonthCloseSeq: MC-{YYYY}- and six digits. The document posts nothing on save: its entries are written by its commands.

Commands and states#

State Command What happens
In progress, Month closed Run the checks The Checks row: drafts dated in the period (document kinds that reach the ledger), cash desks and bank accounts below zero at its end, documents whose ledger lines do not balance, earlier periods still open. Any of them fails the row. With none, the accounting check's errors and warnings for the period (missing required analytics, an unbalanced ledger, postings into a closed period, depreciation a closed month lacks, stock below zero) make it a Warning that names their count and does not stop the close. Posts nothing.
In progress, Month closed Close the month The checks, then every step not done yet, in order; stops at the first Failed. The checks, the closing entries and the period close run every time. When the period close is Done or Skipped, the document goes to Month closed.
In progress, Month closed Undo the month close The period reopened, the closing entries removed, the period's deferred write-off and depreciation reversed, every row Pending; back to In progress.

RunMonthCloseChecks, CloseMonth and UndoMonthClose are bound to both states and call the MonthCloseAssistant service. Month closed (Closed) is read-only; In progress (Open) is the first state. Undo refuses inside a closed fiscal year and while a later period is closed. Depreciation is reversed only when no other legal entity's close of the period has its depreciation done. A document whose steps did something (other than the checks) cannot be deleted: undo it first.

The steps read AccountingSettings: Revalue on period close (revaluation step), Close income and expenses monthly and Financial result account (closing step).

Registers#

Written by Close the month, under this document and the script key 186e4cfa-96f7-4f9a-9715-4937d97265e7, dated the period's last day at 23:59:59:

  • GL: per income account, cost centre and project, Dt the account / Kt the financial result account for the period's credit turnover; per expense account, Dt the financial result account / Kt the account for the debit turnover. The cost centre and project are on the income or expense line.

The other steps write through their own objects: depreciation on posted JournalEntry records, deferred expenses under each DeferredExpense card, revaluation on receivable and payable revaluation documents, the cost replay on the documents it recosts.

Used by#

Where next#

Was this page helpful?