List Expenses

GET {{baseUrl}}/accounting/expenses?raw=false&limit=1

List Expenses

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes
cursorstringCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitnumberNumber of results to return. Minimum 1, Maximum 200, Default 20
fieldsnull
pass_through[search]null

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Acceptstring

RESPONSES

status: OK

{"status_code":200,"status":"OK","service":"quickbooks","resource":"Expenses","operation":"all","data":[{"account_id":"123456","transaction_date":"2021-05-01T12:00:00.000Z","line_items":[{"total_amount":275,"id":"12345","tracking_categories":[{"id":"123456","name":"New York"},{"id":"123456","name":"New York"}],"account_id":"123456","customer_id":"12345","department_id":"12345","location_id":"12345","tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"description":"Travel US.","billable":true}],"id":"12345","number":"OIT00546","customer_id":"12345","supplier_id":"12345","company_id":"12345","department_id":"12345","payment_type":"cash","currency":"USD","currency_rate":0.69,"type":"expense","memo":"For travel expenses incurred on 2024-05-15","tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"total_amount":275,"custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"},{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"custom_mappings":{},"updated_at":"2020-09-30T07:43:32.000Z","created_at":"2020-09-30T07:43:32.000Z","row_version":"1-12345"},{"account_id":"123456","transaction_date":"2021-05-01T12:00:00.000Z","line_items":[{"total_amount":275,"id":"12345","tracking_categories":[{"id":"123456","name":"New York"},{"id":"123456","name":"New York"}],"account_id":"123456","customer_id":"12345","department_id":"12345","location_id":"12345","tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"description":"Travel US.","billable":true}],"id":"12345","number":"OIT00546","customer_id":"12345","supplier_id":"12345","company_id":"12345","department_id":"12345","payment_type":"cash","currency":"USD","currency_rate":0.69,"type":"expense","memo":"For travel expenses incurred on 2024-05-15","tax_rate":{"id":"123456","code":"N-T","name":"GST on Purchases","rate":10},"total_amount":275,"custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"},{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"custom_mappings":{},"updated_at":"2020-09-30T07:43:32.000Z","created_at":"2020-09-30T07:43:32.000Z","row_version":"1-12345"}],"meta":{"items_on_page":50,"cursors":{"previous":"em9oby1jcm06OnBhZ2U6OjE=","current":"em9oby1jcm06OnBhZ2U6OjI=","next":"em9oby1jcm06OnBhZ2U6OjM="}},"links":{"previous":"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D","current":"https://unify.apideck.com/crm/companies","next":"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"}}