---
title: "Penny files an Inbox item for one client (#4356)"
method: POST
path: "/accountant/companies/{customerId}/agent/inbox-items"
tags: ["Accountant Portal"]
---

# Penny files an Inbox item for one client (#4356)

`POST /accountant/companies/{customerId}/agent/inbox-items`

## Request

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

Penny files a Shadow proposal or an opening correction review for the client in the path. For an opening correction, Penny supplies the dated support document and its digest. The server checks the stored bytes and derives an idempotent review keyed to that company, entity and source. A signed-in firm admin may also file an opening correction review from their own login, with the same support checks; the item then records `filedByUserId`. The assigned Reviewer, or the firm admin, records the review before a separate human posting through the journal route.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `openingCorrectionReview` object, required
    - `entityId` string, uuid, required
    - `supportDocumentId` string, uuid, required
    - `documentSha256` string, required
    - `sourceDate` string, date, required: The support document's date before 2026-01-01

## Response `200`

The item already filed under this source key

- InboxItemEnvelope
  - `success` true, required
  - `data` InboxItem, required: An accountant Inbox item (#4356). `status` is as the caller sees it.
    - `id` string, uuid, required
    - `customerId` string, uuid, nullable, required
    - `customerName` string, nullable, required
    - `family` 'categorize' | 'rule_approval' | 'transfer_match' | 'clearing_old' | 'plaid_reconnect' | 'draft_reply' | 'followup_send' | 'stale_thread' | 'variance_review' | 'close_ready' | 'close_blocker' | 'je_review' | 'stop_trigger' | 'recon_diff' | 'onboarding_confirm', required
    - `card` 'ask_which_client' | 'payroll_journal_missing' | 'receipt_with_no_bank_row' | 'bank_reconnect' | 'statement_not_in_yet' | 'trust_ledger_violation', nullable, required
    - `kind` 'categorize' | 'reconcile' | 'revenue' | 'bills' | 'close_prep' | 'held_document' | 'stripe_hold' | 'quickbooks_change' | 'bank_feeds' | 'client_change' | 'mail', required: The row label of wireframe page 3.
    - `group` 'ready' | 'review' | 'blocked', required
    - `waitingSince` string, date-time, required: The one time every age on every screen reads (P8).
    - `owner` object, nullable, required: Named on the item, else the client's primary accountant; null for mail with no client.
      - `accountantId` string, uuid, required
      - `name` string, required
    - `closingAction` 'approve' | 'answer' | 'decide' | 'close_flag' | 'assign_client' | 'get_journal' | 'record_payment' | 'reconnect' | 'await_statement' | 'resolve_at_source' | 'sign_off', required: The one action that closes the item (Jacob, P6).
    - `blocksCloseStep` string, nullable, required
    - `sourceTaskId` string, uuid, nullable, required: The accountant task the item stands for.
    - `effect` object, nullable, required
      - `state` 'held' | 'running' | 'done' | 'failed', required
      - `dueAt` string, date-time, nullable, required: Undo is possible until then.
      - `error` string, nullable, required
    - `title` string, required
    - `amountCents` integer, nullable, required
    - `typePayload` object, required
    - `status` 'open' | 'approved' | 'rejected' | 'snoozed' | 'closed', required
    - `snoozedUntil` string, date-time, nullable, required
    - `decidedBy` string, uuid, nullable, required
    - `decidedAt` string, date-time, nullable, required
    - `decision` object, nullable, required
    - `createdAt` string, date-time, required

## Other responses

- `201`: The item, filed
- `400`: Request failed validation
- `403`: Insufficient permissions or not a company member
- `409`: Request conflicts with the durable onboarding state
- `422`: The opening-correction support is unavailable or fails the entity, date, scan, or stored-byte checks

## Changes

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

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