Accountant Portal

File an Inbox item (#4356)

Changed on

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.

post/accountant/inbox-items

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Request body

object required
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

The item already filed under this source key

InboxItemEnvelope required
success, true required
data, InboxItem required

An accountant Inbox item (#4356). status is as the caller sees it.

Changes