Expenses

Retrieve all expenses

get

Retrieve expenses for a company

Authorizations
Query parameters
per_pageintegerOptional

limit of records per page

Example: 10
pageintegerOptional

page number

Example: 2
vendor_idstringOptional

ID of the supplier associated with the expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
transacted_fromdateOptional

date of the transaction you want to filter frome

Example: 2022-03-23
transacted_todateOptional

date of the transaction you wish to filter to

Example: 2023-03-23
memostringOptional

This field is used to filter by vendor memo. (LIKE)

Example: test
sort_bystringOptional

This parameter is used to sort the records by a specific field (created_at,transacted_at,recorded_at)

Example: created_at
sort_dirstringOptional

Order type(asc or desc)

Example: asc
Responses
200

Successful operation

application/json
get
/expenses

Create an expense

post

Create an expense for a company

Authorizations
Body

Creates airtravel segment request body data

vendor_idanyOptional

Vendor ID for the Expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
memoanyOptional

Memo for the Expense

Example: This is a memo
amountanyOptional

Amount for the Expense

Example: 100.00
currencyanyRequired

Currency for the Expense

Example: USD
ceda_six_industryanyOptional

CEDA six industry Code or UUID for the Expense

Example: 1111B0
transacted_atanyRequired

Transacted At for the Expense

Example: 1999-01-01
recorded_atanyRequired

Recorded At for the Expense

Example: 1999-01-01
Responses
200

Successful operation

application/json
post
/expenses

Retrieve an expense

get

obtain information about a an expense

Authorizations
Path parameters
idstringRequired

ID of the the Expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Responses
200

Successful operation

application/json
get
/expenses/{id}

Update an expense

put

Update of an expense

Authorizations
Path parameters
idstringRequired

ID of the the Expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Body

Update airtravel segment request body data

vendor_idanyOptional

Vendor ID for the Expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
memoanyOptional

Memo for the Expense

Example: This is a memo
amountanyOptional

Amount for the Expense

Example: 100.00
currencyanyRequired

Currency for the Expense

Example: USD
ceda_six_industryanyOptional

CEDA six industry ID for the Expense

Example: 1111B0
transacted_atanyRequired

Transacted At for the Expense

Example: 1999-01-01
recorded_atanyRequired

Recorded At for the Expense

Example: 1999-01-01
Responses
200

Successful operation

application/json
put
/expenses/{id}

Delete an expense

delete

remove an expense

Authorizations
Path parameters
idstringRequired

ID of the the Expense

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Responses
200

Successful operation

application/json
delete
/expenses/{id}