---
title: "Record a package version as sent (F2)"
method: POST
path: "/accountant/companies/{customerId}/month-end-close/packages"
tags: ["Month-End Close"]
---

# Record a package version as sent (F2)

`POST /accountant/companies/{customerId}/month-end-close/packages`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/month-end-close/packages`
- Auth: HTTP bearer

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.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `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 `201`

The version recorded

- object
  - `success` boolean
  - `data` ClosePackage: One version of a month's package as sent (migration 628).
    - `id` string, uuid, required
    - `companyId` string, uuid, required
    - `periodStart` string, date, required
    - `version` integer, required
    - `kind` 'preliminary' | 'final', required
    - `sentTo` string, nullable, required
    - `sentAt` string, date-time, required
    - `sentByUserId` string, uuid, required
    - `changeNote` string, nullable, required
    - `signedOffByUserId` string, uuid, nullable, required: Who completed M19 (Reviewer reads the package); required for a final.
    - `signedOffInitials` string, nullable, required: The reviewer's initials on the package (wireframe M19).
    - `signedOffAt` string, date-time, nullable, required
    - `signedOffFingerprint` string, nullable, required: Acceptance T5 (migration 669): the package fingerprint (sha-256 hex) the M19 sign-off was given for; null when the package went out unsigned.
    - `sourceManifestSha256` string: SHA-256 of the verified v2 source manifest for this issued package. Omitted for legacy and unbound packages.
    - `approval` object, required: Acceptance T5: whether this package's sign-off still covers the books and the explanations as they stand now. `unsigned`: it went out without one. `valid`: its fingerprint is the current one. `void`: a figure or an explanation changed since (`currentFingerprint` is the new one); M19 is then approved again for it.
      - `state` 'unsigned' | 'valid' | 'void', required
      - `currentFingerprint` string: Only when `void`.
    - `carriedOpenItems` CarriedOpenItem[], required: The open items this version carried (acceptance D10, plan 10.4): the checks whose latest result was `needs-client` when it was sent, read from the append-only check rows as of `sentAt`. Empty when nothing was open.
      - `checkId` string, required
      - `name` string, required
      - `stepCode` string, required: The wireframe step the check sits under.
      - `reason` string, nullable, required: Why the item is open (what was asked of the client).
      - `possibleEffect` string, nullable, required: What the answer could change, from the row's `evidence.possibleEffect`; null when the row did not state one.
      - `amountCents` integer, nullable, required
      - `recordedAt` string, date-time, required
      - `forceApproval` object: Approval evidence for a nonzero reconciliation difference carried by this version.
        - `currency` string, required
        - `completionEventId` string, uuid, required
    - `carriedDisclosures` CarriedDisclosure[], required: The disclosures this version made (acceptance C01, plan 10.2): the checks whose latest result was `disclosed`, or that Jacob had waived (J-720), when it was sent, with the person's reason, the amount and the evidence behind it, read from the append-only check rows as of `sentAt`. Empty when nothing was disclosed.
      - `checkId` string, required
      - `name` string, required
      - `stepCode` string, required: The wireframe step the check sits under.
      - `state` 'disclosed' | 'waived-by-Jacob', required: J-720: a person's disclosure, or an item Jacob waived, which stays visible and disclosed.
      - `waivedByUserId` string, uuid, nullable, required: Who waived the item; null for a disclosure.
      - `reason` string, nullable, required: What the person wrote when disclosing, or Jacob's reason for the waiver.
      - `amountCents` integer, nullable, required: The amount disclosed.
      - `makeUp` object, required: The evidence behind the disclosure (for the account inventory, the accounts that are not in the books).
      - `recordedAt` string, date-time, required
    - `unresolvedDifferences` UnresolvedDifference[], required: Acceptance D11 (plan S-D11, J11): for a preliminary, each bank or card account that was still off its statement when it was sent, with the exact difference the reconciliation held at that time (the books' figure, not the amount a person typed when disclosing it). Always empty for a final, which refuses a difference.
      - `checkId` 'chk_bank_tieout_zero' | 'chk_card_tieout_zero', required
      - `accountId` string, required
      - `name` string, required
      - `differenceCents` integer, required: The signed difference to the statement, in cents, never rounded.
      - `difference` string, required: The same amount as a signed decimal string, e.g. "250.00".
      - `statementEndingDate` string, date, nullable, required
    - `preliminaryWarning` string, nullable, required: Acceptance D11: the explicit warning a preliminary carries when it states a difference; null when it states none. Nothing is booked to cover a difference.
    - `issuedFigures` ClosePackageIssuedFigures, nullable
      - `version` 1, required
      - `throughPeriodEnd` string, date, required: The last day of the package's month.
      - `fiscalYearStart` string, date, required: Revenue and expense run from here (calendar fiscal years only, #2019); other accounts from inception.
      - `accounts` object[], required: Every account with a non-zero position (debits less credits) of posted, live, non-closing entries through `throughPeriodEnd`, by account id.
        - `glAccountId` string, uuid, required
        - `type` 'Asset' | 'Liability' | 'Equity' | 'Revenue' | 'Expense', required
        - `netDebitCents` integer, required
      - `netIncomeCents` integer, required: Revenue less expenses, year to date.
      - `earlierMonths` object, required: The comparison with the last final package in force for an earlier month, read at that package's month end. `nothing_to_compare` (`why`: `no_final_before` or `final_without_figures`), `unchanged`, or `moved` with the gross `movementCents` (the larger of the accounts' increases and decreases), `netIncomeMovementCents`, each account that moved, the sender's `reason` and the `printedLine` the package prints.
        - `state` 'nothing_to_compare' | 'unchanged' | 'moved', required
        - `why` 'no_final_before' | 'final_without_figures'
        - `comparedPackage` object, nullable
          - `id` string, uuid, required
          - `periodStart` string, date, required
          - `version` integer, required
          - `throughPeriodEnd` string, date, required
        - `movementCents` integer
        - `netIncomeMovementCents` integer
        - `accounts` object[]
          - `glAccountId` string, uuid, required
          - `type` 'Asset' | 'Liability' | 'Equity' | 'Revenue' | 'Expense', required
          - `issuedNetDebitCents` integer, required
          - `nowNetDebitCents` integer, required
          - `deltaCents` integer, required
        - `reason` string
        - `printedLine` string

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `409`: Request conflicts with the durable onboarding state
- `422`: Request failed validation

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/month-end-close/packages/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
