Expense Entries

Create Expense Entry

Creates a new Expense Entry

post/expense_entries

Request

Request body

vehicle_idinteger required
expense_entry_type_idinteger required
vendor_idinteger
total_amount_centsinteger required

The total amount of this Expense Entry, in cents.

occurred_atstring date-time required

Date and time of the expense. We recommend using ISO-8601 formatted dates to avoid ambiguity.

notesstring

Additional comments.

custom_fieldsCustomFields nullable

*Full details on working with Custom Fields here.

Example request

{
  "occurred_at": "2023-03-14T13:46:27-06:00"
}

Response

OK

idinteger required
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

The date and time at which this record was most recently updated.

account_idinteger required

The ID of the Account that owns this Expense Entry.

notesstring nullable

Additional comments.

expense_entry_type_idinteger required
occurred_atstring date-time required

Date and time of the expense.

vehicle_idinteger required

The ID of the associated Vehicle.

vendor_idinteger nullable required
custom_fieldsCustomFields nullable required

*Full details on working with Custom Fields here.

billable_idinteger nullable

The ID of the associated Acquisition, if applicable.

billable_type'Acquisition' nullable

The billable type, if applicable.

bulk_watch_recordboolean

Whether or not this record is being watched in bulk.

comments_countinteger required

The number of Comments on this record.

documents_countinteger required

The number of documents attached to this record.

images_countinteger required

The number of images attached to this record.

import_idinteger nullable

The ID of the Import that created this record, if applicable.

is_sampleboolean

Whether or not this record is sample data.

recurring_expense_entry_idinteger nullable

The ID of the associated recurring Expense Entry, if applicable.

skip_automatic_watchers_callbacksboolean

Whether or not to skip automatic watchers callbacks.

total_amount_centsstring required

The total amount of the expense.

vehicle_archived_atstring date-time nullable

The date and time the associated Vehicle was archived, if applicable.

watchable_optionsobject required

Options related to watching the record.

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00",
  "occurred_at": "2023-03-14T13:46:27-06:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.