v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0217204.7 MB
Expense

Search Enriched Expenses

Returns expenses enriched with transaction, merchant, receipt, and accounting integration mapping data. Use transactionStages to include authorizations alongside settled transactions.

get/v1/web/expense/enriched

Query parameters

idsstring

comma-separated list of expense ids

accountIdsstring

comma-separated list

cardIdsstring

comma-separated list

userIdsstring

comma-separated list

vendorIdsstring

comma-separated list of vendor ids

transactionIdsstring

comma-separated list

transactionStagesstring

comma-separated list (authorization, settled) — defaults to settled

statusesstring

comma-separated list

transactionStatusesstring

comma-separated list of card_transaction statuses (success, declined, reversed)

spendCategoryIdsstring

comma-separated list

syncEligibilitiesstring

comma-separated list (pending, ready, skipped)

syncStatusesstring

comma-separated list (inProgress, successful, failed)

hasPolicyViolationsboolean

If true, only return expenses with at least one entry in data.policyViolations. If false, only return expenses with none. Omit to include both.

hasExpenseboolean

Filter on whether an expense record exists. Omit for everything (rows with an expense OR uncoded); true = only rows with an expense (combined with statuses); false = only uncoded (no expense yet) rows, ignoring statuses.

merchantNameLikestring
cardHolderNameLikestring
transactionDateStartstring date-time
transactionDateEndstring date-time
amountMinstring
amountMaxstring
pageinteger
pageSizeinteger
orderBystring

<field>:<direction>,... (field=transactionDate|clearedDate)

Response

Default Response

hasNextboolean required
totalCountinteger required