Transactions

Summarize transactions with filters

get/companies/{companyId}/transactions/summary

Request

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

Path parameters

companyId, string uuid required

Query parameters

entityId, union
string uuid
OR
'consolidated'

Concrete legal entity. consolidated requires all-entity access; omitted scopes to the actor's grants.

status, 'needs_review' | 'categorized'
direction, 'in' | 'out'
dateFrom, string date
dateTo, string date
bankAccountId, string uuid
sourceProvider, string

Source provider filter. Distinct from category filters.

sourceAccountId, string uuid

Integration account or bank account source filter. Distinct from categoryGlAccountId.

categoryGlAccountId, string uuid

GL account category filter. Distinct from sourceAccountId.

classId, string uuid

Accounting class filter. Distinct from categoryGlAccountId.

tagId, union
string uuid
OR
string[]

Accounting tag filter (#1166). Comma-separated or repeated; a transaction matches when it carries ANY listed tag. ORed with untagged, ANDed with every other filter. An existence test, so a transaction with several selected tags appears once.

untagged, 'true' | 'false'

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

categoryState, 'uncategorized'

Filters transactions by category assignment state. uncategorized keeps meaning "null category only" and ANDs with the other filters (with categoryGlAccountId ids it matches nothing, as before).

includeUnassignedSource, 'true' | 'false'

true also selects rows with no source (neither bank nor integration account). With sourceAccountId the source dimension is ids OR unassigned; alone it is unassigned-only. false or absent adds nothing.

includeUnassignedCategory, 'true' | 'false'

true also selects rows with no category GL account. With categoryGlAccountId the category dimension is ids OR unassigned; alone it is unassigned-only. false or absent adds nothing.

search, string

Response

Transaction summary for the matching filtered set

TransactionSummaryResponse required
success, boolean
data, TransactionSummary

Changes

No recorded changes to this operation across all 110 revisions of this API.