Accountant Portal

List the accountant Inbox (#4356)

Changed on

One page of Inbox items, oldest waitingSince first, with counts per group over the same filters except group, the count of items snoozed now (they never vanish), each owner's count over the same filters except owner and group (owners, the Owner filter), and the header numbers of wireframe page 3 (summary). The caller sees items of the clients they are assigned to (a human super-admin: every client) plus items with no client (ask_which_client). owner keeps items that accountant (me: the caller) owns: named on the item, else the client's primary accountant. status defaults to open; a snoozed item whose snoozedUntil has passed reads open again. A signed-in person only: every API key is refused, the service token included (404). Bad query values answer 400 INBOX_INVALID_REQUEST.

get/accountant/inbox-items

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Query parameters

group, 'ready' | 'review' | 'blocked'
customerId, string uuid
owner, string

me or an accountant id

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'
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.

sourceKey, string

One item by its exact source key (unique), for example a which-client mail's inbound_email:<sha256 hex of its Message-ID header value as received, angle brackets included>:which_client. No prefix match. 1-300 characters as sent; surrounding whitespace is then trimmed. The item still has to be one the caller sees and match the other filters (customerId, family, kind, owner, status), else the page is empty and summary names nothing. counts, owners and summary are then over that item only.

status, 'open' | 'approved' | 'rejected' | 'snoozed' | 'closed' | 'waiting_client'
limit, integer
cursor, string

Response

A page of items and the counts per group

object required
success, true required
data, object required

Changes