---
title: "The bookkeeping agent's open items for a close period"
method: GET
path: "/accountant/companies/{customerId}/agent/open-items"
tags: ["Accountant Portal"]
---

# The bookkeeping agent's open items for a close period

`GET /accountant/companies/{customerId}/agent/open-items`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/open-items`
- Auth: HTTP bearer

Zero questions (#2587; rules P28 and P41). The rows the agent posted without the client's own books behind them, dated in the period, that still sit in the account the agent posted with no person's decision since: `disclosed_default` (a first-time payee's row posted on what the row itself says, within materiality) and `held_in_clearing` (a move between the client's own accounts whose other side is not in the books). A person's approval or change closes the item. Each carries its possible effect, the row's amount. Read by a person and by the bookkeeping agent's own key at a company it is active for (D5); the shared bookkeeping token gets 404.

## Path parameters

- `customerId` string, uuid, required

## Query parameters

- `from` string, date, required
- `to` string, date, required

## Response `200`

Success envelope

- object
  - `success` boolean
  - `data` object
    - `from` string, date, required
    - `to` string, date, required
    - `totalAmountCents` integer, required
    - `items` object[], required
      - `transactionId` string, uuid, required
      - `kind` 'disclosed_default' | 'held_in_clearing', required
      - `date` string, date, nullable
      - `amountCents` integer, required
      - `direction` 'in' | 'out' | 'null', nullable
      - `currency` string, nullable
      - `description` string, nullable
      - `account` object, required
        - `id` string, uuid
        - `code` string, nullable
        - `name` string
      - `evidence` string[], required
      - `decidedAt` string, date-time, required

## Other responses

- `401`: Authentication required
- `404`: Resource not found
- `422`: Request failed validation

## Changes

- **2026-10-29** `e1fc804546d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/open-items/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)
