Skip to main content

Create Expense Entry

Creates a new Expense Entry

Request Body

  • vehicle_id integer required

    Possible values: >= 1

  • expense_entry_type_id integer required

    Possible values: >= 1

  • vendor_id integer

    Possible values: >= 1

  • total_amount_cents integer required

    The total amount of this Expense Entry, in cents.

  • occurred_at date-time required

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

  • notes string

    Additional comments.

  • custom_fields object

    *Full details on working with Custom Fields here.

Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

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

    • total_amount float

      The total amount of the expense.

    • notes string

      Additional comments.

    • expense_entry_type_id integer

      Possible values: >= 1

    • expense_entry_type_name string

      Name of the Expense Entry Type associated with this entry.

    • occurred_at date-time

      Date and time of the expense.

    • vehicle_id integer

      The ID of the associated Vehicle.

    • vehicle_name string

      The name of the associated Vehicle.

    • vendor_id NullableId

      Possible values: >= 1

    • vendor_name string

      The name of the associated Vendor.

    • custom_fields object

      *Full details on working with Custom Fields here.

    Loading...