Month-End Close

A person releases the writer-lock holding they took over (CL-097)

Changed on

Closes the caller's own live holding of the company's month (holder_kind person, holder_id = the caller) at the stated generation, as released. Anything else (another person's holding, a job's or Penny's, a stale generation, nothing live) answers 409 WRITER_LOCK_NOT_HELD and changes nothing. Refused for every API key and the service token. The taker's own package send also supersedes their takeover without a release, so a takeover never locks its taker out of sending the package.

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

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
generation, integer required

Response

Released

Changes