latestOpenAPI 3.0.0Apache 2.02026-08-06199181.1 MB

e0d144609998

Expenses

List expenses

List all expenses

get/expenses

Query parameters

expense_category_idinteger

Search expenses by expense category

organization_idstring

Search expenses by organization id

voucher_header_idinteger

Search expenses by voucher header id

amountstring

Search expenses by amount

billing_statusstring

Search expenses by billing status

{"stackTrail":"paths:/expenses:get:parameters:5:schema","oasType":"schema","type":"unknown"}

Search expenses by status

payment_methodstring

Search expenses by payment method

filtersobject

Filter expenses by the above query parameters. <br /> <b>Example:</b> { "amount[gt]" : 6000 } which will search for expenses that have an amount greater than "6000".

sort[asc]'id' | 'amount' | 'billing_status' | 'status' | 'payment_method'

Sort expenses in ascending order

sort[desc]'id' | 'amount' | 'billing_status' | 'status' | 'payment_method'

Sort expenses in descending order

pageinteger

The particular page to return

per_pageinteger

The number of items to return per page Default: 50 Limit: 200

Response

Success