latestOpenAPI 3.0.12026-08-1175861.0 KB

83302fc5e4a8

Card Expenses

List card expenses

This endpoint is deprecated. Use the "List expenses" (GET /v1/expenses) endpoint instead.

get/v1/expenses/card

Query parameters

expand[]string[] nullable

Get additional details for the expense, e.g. merchant mcc code, by passing in expand[]=merchant. Query parameters include location, department, cost_center, merchant, receipts.download_uris, user, budget, payment, spending_entity and policy.

user_id[]string[] nullable

Get expenses belong to provided user(s).

parent_expense_id[]string[] nullable

Get itemized expenses belong to provided parent expenses ID(s).

budget_id[]string[] nullable
spending_entity_id[]string[] nullable
status[]ExpenseStatus[] nullable
payment_status[]ExpensePaymentStatus[] nullable
compliance_status[]ExpenseComplianceStatus[] nullable

Filter by documentation compliance status. Use DUE and OVERDUE to list expenses currently missing required documentation such as receipts, memos, attendees, or coding.

derived_compliance_status[]ExpenseDerivedComplianceStatus[] nullable

Filter by derived compliance status, which combines documentation and review compliance. Use DOCUMENTATION_DUE to list expenses currently missing submitter documentation.

purchased_at_startstring date-time nullable

Shows only expenses with a purchased_at on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

purchased_at_endstring date-time nullable

Shows only expenses with a purchased_at on or before this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

updated_at_startstring date-time nullable

Shows only expenses with a updated_at on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

updated_at_endstring date-time nullable

Shows only expenses with a updated_at on or before this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

payment_posted_at_startstring date-time nullable

Shows only expenses with a payment_posted_at on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

payment_posted_at_endstring date-time nullable

Shows only expenses with a payment_posted_at on or before this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6, e.g. 2022-11-12T23:59:59.999

load_custom_fieldsboolean nullable

Load custom fields for the expenses.

cursorstring nullable

The cursor to use for pagination. This is the next_cursor value returned from the previous response.

limitinteger nullable

Controls the maximum number of expenses returned in the response, can't be greater than 100

Response

List expenses response.

next_cursorstring nullable
itemsExpandableExpense[] required— unresolved $ref