expenses Query
Arguments
#
fromAccounts
An alternative to filter by fromAccount (singular), both cannot be used together
accounts
An alternative to filter by accounts, both cannot be used together
fromHost
Return expenses only for payees (fromCollective) hosted by this host. Cannot be used together with host .
hostContext
If host or fromHost is provided, select whether to include ALL, INTERNAL or HOSTED accounts (payer when using host , payee when using fromHost ).
types
orderBy = { "field": "CREATED_AT", "direction": "DESC" }
The order of results
minAmount
Only return expenses where the amount is greater than or equal to this value (in cents)
includeChildrenExpenses
Whether to include expenses from children of the account (Events and Projects)
customData
Only return expenses that contains this custom data. Requires being an admin of the collective, payee or host.
virtualCards
Filter expenses of type charges using these virtual cards
payoutMethod
Only return transactions that are associated with this payout method
Response
#
Returns ExpenseCollection !.
Example
#
expenseTagStats
exportRequest
