---
title: "Replaces the RecurringExpense resource."
method: PUT
path: "/recurring_expenses/{id}"
tags: ["RecurringExpense"]
---

# Replaces the RecurringExpense resource.

`PUT /recurring_expenses/{id}`

Replaces the RecurringExpense resource.

## Path parameters

- `id` string, required

## Request body

- RecurringExpense
  - `id` string
  - `integration` string — The key of the integration source e.g. "quickbooks", or "xero"
  - `srcId` string — Unique identifier of the source 3rd party integration eg. 982000000567240
  - `recurrenceName` string, nullable — Name of the recurring-expense eg. "Monthly Rental"
  - `startDate` string, nullable — Start date of the recurring expense eg. 2016-11-19T00:00:00.000Z
  - `endDate` string, nullable — End date of the recurring expense eg. 2016-11-19T00:00:00.000Z
  - `lastCreatedDate` string, nullable — When expense was last generated eg. "2013-11-18T00:00:00.000Z"
  - `recurrenceFrequency` string, nullable — The frequency of time interval at which the invoice is to be generated eg. "months"
  - `repeatEvery` string, nullable — The period between every recurrency frequency eg. "2"
  - `nextExpenseDate` string, nullable — Date the next expense will be generated eg. "2013-12-18T00:00:00.000Z"
  - `accountId` string, nullable — Unique identifier for the account associated with the recurring expense "982000000561057"
  - `accountName` string, nullable — Expense account name eg. "Rent"
  - `currency` string, nullable — Currency of the expense eg. "USD"
  - `total` integer, nullable — Total amount in cents eg. "1000"
  - `customerId` string, nullable — Customer ID of the customer for whom the recurring invoice is raised eg. "982000000567001"
  - `status` string, nullable — Status of the recurring expense eg. "active"
  - `created` string, date-time, nullable — Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z"
  - `modified` string, date-time, nullable — Time at which the recurring invoice details were last updated eg. "2013-11-18T02:17:40.080Z"

## Response `200`

RecurringExpense resource updated

- RecurringExpense
  - `id` string
  - `integration` string — The key of the integration source e.g. "quickbooks", or "xero"
  - `srcId` string — Unique identifier of the source 3rd party integration eg. 982000000567240
  - `recurrenceName` string, nullable — Name of the recurring-expense eg. "Monthly Rental"
  - `startDate` string, nullable — Start date of the recurring expense eg. 2016-11-19T00:00:00.000Z
  - `endDate` string, nullable — End date of the recurring expense eg. 2016-11-19T00:00:00.000Z
  - `lastCreatedDate` string, nullable — When expense was last generated eg. "2013-11-18T00:00:00.000Z"
  - `recurrenceFrequency` string, nullable — The frequency of time interval at which the invoice is to be generated eg. "months"
  - `repeatEvery` string, nullable — The period between every recurrency frequency eg. "2"
  - `nextExpenseDate` string, nullable — Date the next expense will be generated eg. "2013-12-18T00:00:00.000Z"
  - `accountId` string, nullable — Unique identifier for the account associated with the recurring expense "982000000561057"
  - `accountName` string, nullable — Expense account name eg. "Rent"
  - `currency` string, nullable — Currency of the expense eg. "USD"
  - `total` integer, nullable — Total amount in cents eg. "1000"
  - `customerId` string, nullable — Customer ID of the customer for whom the recurring invoice is raised eg. "982000000567001"
  - `status` string, nullable — Status of the recurring expense eg. "active"
  - `created` string, date-time, nullable — Time at which the recurring invoice was created eg. "2013-11-18T02:17:40.080Z"
  - `modified` string, date-time, nullable — Time at which the recurring invoice details were last updated eg. "2013-11-18T02:17:40.080Z"

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.net/bossinsights/apis/boss-insights.md) · [All operations](https://skmtc.net/bossinsights/apis/boss-insights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bossinsights/boss-insights/versions/d08a107895ad/schema)
