Month-End Close

A person takes over a month's writer lock with a reason (CL-097)

Changed on

Closes whichever holding of the company's month is live (a check run, a package send) as taken_over and opens a new holding for the caller, recording the caller and the reason (trimmed, 10 to 1,000 characters; 422 otherwise). Only the client's signer: a Reviewer or the Firm admin, and once the client has an assigned reviewer, that reviewer or the Firm admin (403 close_step_role_required / close_client_reviewer_required). The new holding lasts the default writer-lock time (2 hours) unless the taker releases it (…/writer-lock/release); the taker's own package send supersedes it. It does not change which writes take the lock. previous is null when no holding was live. 409 WRITER_LOCK_HELD when another writer took the month during the takeover.

post/accountant/companies/{customerId}/month-end-close/writer-lock/takeovers

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
reason, string required

Response

The new holding and the one it closed

object required
success, boolean
data, object

Changes