---
title: "The package versions sent for a month (F2)"
method: GET
path: "/accountant/companies/{customerId}/month-end-close/packages"
tags: ["Month-End Close"]
---

# The package versions sent for a month (F2)

`GET /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

Every version of the month's package as sent, oldest first (migration 628). A `final` row makes the month refuse a reconciliation completed with a reason (`DIFFERENCE_ON_FINAL`). Signed-in accountants only; refused for every API key.

## Path parameters

- `customerId` string, uuid, required

## Query parameters

- `month` string, required

## Response `200`

The month's package versions

- object
  - `success` boolean
  - `data` ClosePackage[]
    - `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
- `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/get.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)
