---
title: "File an Inbox item (#4356)"
method: POST
path: "/accountant/inbox-items"
tags: ["Accountant Portal"]
---

# File an Inbox item (#4356)

`POST /accountant/inbox-items`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/inbox-items`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Penny (the bookkeeping service token) or a signed-in accountant files one item for a person to decide. The filer must have access to `customerId` (403 otherwise); only card `ask_which_client` may omit it. A card belongs to one family (`ask_which_client` → `onboarding_confirm`, `payroll_journal_missing` → `clearing_old`, `receipt_with_no_bank_row` → `categorize`, `bank_reconnect` → `plaid_reconnect`, `statement_not_in_yet` → `close_blocker`, `trust_ledger_violation` → `close_blocker`: a trust ledger overdrawn or firm money above the allowance, one per trust account, code, ledger and date, filed the same firm day by the trust reconciliation (T2/T3)) and its `typePayload` carries exactly that card's fields (a `receipt_with_no_bank_row` may name who sent the receipt in as `forwarder`: `{ userId, name, email }`, a name or an address at least, PG-p03-021); an item without a card takes any JSON object up to 16 KB. Idempotent per `sourceKey`: 201 when this call filed it, 200 with the item already filed. A key already filed for a client the caller cannot see answers 409 `INBOX_SOURCE_KEY_IN_USE`. An invalid body, pairing or payload answers 400 `INBOX_INVALID_REQUEST`.

## Request body

- object
  - `kind` 'categorize' | 'reconcile' | 'revenue' | 'bills' | 'close_prep' | 'held_document' | 'stripe_hold' | 'quickbooks_change' | 'bank_feeds' | 'client_change' | 'mail': The row label of wireframe page 3.
  - `closingAction` 'approve' | 'answer' | 'decide' | 'close_flag' | 'assign_client' | 'get_journal' | 'record_payment' | 'reconnect' | 'await_statement' | 'resolve_at_source' | 'sign_off': The one action that closes the item (Jacob, P6).
  - `blocksCloseStep` string, nullable: The close step it blocks (for example B1), or null for none.
  - `waitingSince` string, date-time: When the wait began (the source's own time); defaults to now. Every age reads it.
  - `customerId` string, uuid, nullable
  - `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
  - `group` 'ready' | 'review' | 'blocked', required
  - `title` string, required
  - `amountCents` integer, nullable
  - `typePayload` object: Per-card fields (see the description); at most 16 KB. `proposal` ({action: categorize, transactionId, categoryGlAccountId}) is Penny's proposal: approving the item posts it as the person who approved.
  - `sourceKey` string, required

## 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
- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `409`: Request conflicts with the durable onboarding state

## Changes

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

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