accounting
expense

List all expenses

get/accounting/{connection_id}/expense

Path parameters

connection_idstring required

ID of the connection

Query parameters

limitnumber
offsetnumber
updated_gtestring

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

sortstring
orderstring
querystring

Query string to search. eg. email address or name

user_idstring

The user/employee ID to filter by (reference to HrisEmployee)

approver_user_idstring

The expense approver user/employee ID to filter by (reference to HrisEmployee)

start_gtestring

The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

end_ltstring

The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

contact_idstring

The contact ID to filter by (reference to AccountingContact)

category_idstring

The category ID to filter by (reference to AccountingCategory)

group_idstring

The group ID to filter by (reference to HrisGroup)

org_idstring

The org ID to filter by (reference to AccountingOrganization)

statusstring

The status to filter by

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
user_idstring
contact_idstring
account_idstring
namestring
payment_methodstring
posted_atstring date-time
total_amountnumber
currencystring
tax_amountnumber
reimbursed_amountnumber
reimbursed_atstring date-time
approved_atstring date-time
approver_user_idstring
organization_idstring
status'DRAFT' | 'SUBMITTED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'PAID'
external_numberstring
category_idsstring[]
project_idstring
rawobject

Changes

Changed in 5 of the 25 revisions of this API.218

    • added the new optional query request parameter approver_user_id

      new-optional-request-parameter

  • 1c744a7590b422See the full diff
    • added the new SERVICE_CHARGE enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new TIP enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the enum value metadata to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the enum value project_id to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the enum value category_ids to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the new optional query request parameter status

      new-optional-request-parameter

    • added the enum value approver_users to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value attachments to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value external_number to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value status to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the enum value users to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added