Accountant Portal

Read companies transactions auto approved

Changed on

Generated minimal contract (#1940): parameters, auth, and status codes are authoritative; see the route handler for the exact row shape. meta.truncated is true when this customer has more than 5,000 matching rows; continue with ?segmentCursor= from meta.rowCappedCustomers.

get/accountant/companies/{customerId}/transactions/auto-approved

Request

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

Path parameters

customerId, string uuid required

Query parameters

limit, integer

Maximum rows per response page. Expanded pages can return fewer rows to bound response size. Follow meta.nextOffset and any segment cursors to complete the queue.

offset, integer

Use meta.nextOffset from the preceding page while meta.hasMore is true. Keep all filters unchanged.

settlementMonth, string

Limits native transactions by their canonical date in this settlement month when no explicit date bound is supplied.

reversalForTransactionId, string uuid

Finds auto-approved native rows across all dates with the same bank account, currency and absolute amount and the opposite direction. Requires a visible native bank transaction in this company. Combine only with pagination or sort options.

classId, string
tagId, union
string
OR
string[]

Accounting tag filter (#1166), repeated or comma-separated, up to 50 UUIDs; ANY listed tag (existence test). ORed with untagged.

untagged, 'true' | 'false'

When true, include transactions with no tag (ORed with tagId).

tier, 'all' | 'escalated' | 'review' | 'auto_approved'
transferAction, 'pending' | 'proposed' | 'approved' | 'applied' | 'none'
postedToGlAccountId, string uuid

#1166 E1: only transactions with at least one posted, non-deleted journal entry of this company that has a line on this GL account (the entry's transaction source or a line's transaction). Combines with every other filter. Not a UUID: 422.

postedState, 'not_posted'

PG-p08-005 'Posted to: Not posted yet': only transactions no posted, non-deleted journal entry of this company reaches (a void or deleted entry is not a posting). Not with postedToGlAccountId (422). QuickBooks ledger rows are left out.

categoryGroup, 'transfers_and_card_payments'

PG-p08-005 Category 'Transfers and card payments' (OpenBot Lead): money moving between the client's own accounts, i.e. a leg of any transfer match (bank to bank, card payment, own brokerage; any match status) or a row posted to Transfer Clearing (1080). QuickBooks ledger rows are left out.

segmentCursor, string

Continue a row-capped customer's queue from meta.rowCappedCustomers[].segmentCursor. Customer routes only (400 without a customer).

Response

Success envelope; meta.truncated is true when this customer has more than 5,000 matching rows; continue with ?segmentCursor= from meta.rowCappedCustomers

object required
success, boolean
data, object[]
meta, AccountantQueueMeta

Changes

    • breaking

      the response property meta/rowCappedCustomers/items/segmentCursor became optional for the status

    • breaking

      added subschema #1 subschema #2 to the meta/rowCappedCustomers/items response property oneOf list for the response status

    • info

      added the optional property meta/rowCappedCustomers/items/qboSegmentCursor to the response with the status