expenses
Query

Arguments

#

account

Reference of an account that is the payer of an expense

createdByAccount

Return expenses only created by this INDIVIDUAL account

dateFrom

Only return expenses that were created after this date

dateTo

Only return expenses that were created after this date

fromAccount

Reference of an account that is the payee of an expense

host

Return expenses only for this host

includeChildrenExpenses

Non-null

Whether to include expenses from children of the account (Events and Projects)

limit

Non-null

The number of results to fetch (default 10, max 1000)

Default: 10

maxAmount

Only return expenses where the amount is lower than or equal to this value (in cents)

minAmount

Only return expenses where the amount is greater than or equal to this value (in cents)

offset

Non-null

The offset to use to fetch

orderBy

Non-null

The order of results

Default: { "field": "CREATED_AT", "direction": "DESC" }

payoutMethodType

Only return expenses that use the given type as payout method

searchTerm

The term to search

status

Use this field to filter expenses on their statuses

tag

Only expenses that match these tags

type

Use this field to filter expenses on their type (RECEIPT/INVOICE)

Response

#

Returns ExpenseCollection !.

Example

#

3