Month-End Close

Record a package version as sent (F2)

Changed on

Records the next version of the month's package as sent. Only the client's reviewer (or, while none is assigned, a Reviewer) who did not prepare the month, or the firm admin (who may also have prepared it), records it (M21's sign-off rule: 403 close_step_role_required, close_client_reviewer_required or close_preparer_cannot_sign_off). A final goes out only after the month is closed (422 CLOSE_PACKAGE_FINAL_NEEDS_CLOSED_MONTH) and after M19 is signed off (422 CLOSE_PACKAGE_NOT_SIGNED_OFF); it carries the M19 reviewer's initials and time. Acceptance T5: the sign-off is bound to the package fingerprint; a final is refused with 422 CLOSE_PACKAGE_APPROVAL_VOID (extensions.changed: figure, explanation or unbound) while the approval is void, and a preliminary then goes out without a sign-off. A version after the first needs a change note (422 CLOSE_PACKAGE_CHANGE_NOTE_REQUIRED). Slice 5, the package gate (plan 10.4): a check whose latest result is blocked holds any package, needs-client holds a final, and so does a reconciliation check (chk_statement_reconcile, chk_bank_tieout_zero, chk_card_tieout_zero) whose latest result is disclosed: a final never carries a reconciliation difference as disclosed, it is run down to 0.00 or Jacob waives it (a preliminary may still carry it) (422 CLOSE_PACKAGE_GATE; its extensions.differences lists each bank or card account off its statement with the exact signed differenceCents, the difference text and the statementEndingDate, and states none for an account with no reconciliation; nothing is posted to cover a difference); the send takes the writer lock for the month (409 WRITER_LOCK_HELD while another writer holds it). C09 (plan M15, migration 690; Augusto 2026-11-21): the send stores the year-to-date figures it issues (issuedFigures), and compares the ledger, at the month end of the last final in force for an earlier month, with what that final issued, account by account, with zero tolerance. A movement goes out only with movementReason, printed on the package (issuedFigures.earlierMonths.printedLine); without one the send is refused with 422 CLOSE_PACKAGE_EARLIER_MONTHS_MOVED, and at a hard-close client any movement is refused with 422 CLOSE_PACKAGE_EARLIER_MONTHS_MOVED_HARD_CLOSE (both: extensions.comparedPackage, movementCents, netIncomeMovementCents and accounts, each with issuedNetDebitCents, nowNetDebitCents and deltaCents). Jacob 2026-11-11: "Completing with a reason stays, but never on a final." Refused for every API key.

post/accountant/companies/{customerId}/month-end-close/packages

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Request body

object required
month, string required
kind, 'preliminary' | 'final' required
sentTo, string
changeNote, string
movementReason, string

C09: why an earlier month moved since the last final package; printed on the package. Client-visible text (no internal file name, no relative date). Ignored when nothing moved.

Response

The version recorded

object required
success, boolean
data, ClosePackage

One version of a month's package as sent (migration 628).

Changes