accounting
expense

Update an expense

patch/accounting/{connection_id}/expense/{id}

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Expense

Query parameters

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

Request body

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
taxrate_idstring
exchange_ratenumber
type'USER' | 'COMPANY'
rawobject

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
taxrate_idstring
exchange_ratenumber
type'USER' | 'COMPANY'
rawobject

Changes

Changed in 6 of the 34 revisions of this API.241

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the enum value type 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 request property

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

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

      request-parameter-property-enum-value-added

    • ○

      added the enum value taxrate_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 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

  • 1c744a7590b425See 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 new optional request property

      new-optional-request-property

    • ○

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

      request-parameter-property-enum-value-added

    • ○

      added the new SERVICE_CHARGE enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the new TIP enum value to the request property ////

      request-property-enum-value-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      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 new optional request property

      new-optional-request-property

    • ○

      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 request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      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