Complete a month-end close step
Changed onMarks the step completed by the caller. #4361: a B1–M21 step needs evidence and must pass its 0.00 gate first (M1 bank and M2 card reconciliations for the period at difference 0.00; M7 each Uncategorized account nets 0.00 in the period and suspense is 0.00 at period end). M20 is completed only by the lock (400 use_lock here, even after the lock); if the lock's own M20 write was lost, the next page read, lock, or M20/M21 completion marks M20 completed for the user who closed the GL period. M1 and M2 leave out Stripe processor accounts (M3). A legacy step takes optional evidence (non-text is ignored) and has no gate. #4362: a Reviewer step (B6, M12, M18, M19, M21) answers 403 close_step_role_required unless the caller's role is reviewer or firm_admin, and 403 close_preparer_cannot_sign_off when a caller other than the firm admin completed a Preparer step of that month (extensions.step names the step). Acceptance T5: completing M19 binds the sign-off to the package fingerprint. A completed step answers 409 close_step_already_completed, except M19 while its approval is void (a figure or an explanation changed since): it is completed again, with new evidence, to approve the new fingerprint.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Required (non-blank) for a B1–M21 step; stored as the step's evidence.
Response
The completed step, with its evidence
Changes
- info
added the new optional request property
evidence - info
added the non-success response with the status
- info
added the non-success response with the status
2 more changes in this revision
- info