---
title: "Update a scheduled journal entry"
method: PATCH
path: "/scheduled-journal-entries/{id}"
tags: ["Accounting"]
---

# Update a scheduled journal entry

`PATCH /scheduled-journal-entries/{id}`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/scheduled-journal-entries/{id}`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `description` string
  - `reference` string, nullable
  - `frequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'annually'
  - `intervalCount` integer
  - `startDate` string, date
  - `nextRunDate` string, date, nullable
  - `endDate` string, date, nullable
  - `maxOccurrences` integer, nullable
  - `entryStatus` 'draft' | 'posted'
  - `status` 'active' | 'paused' | 'completed'
  - `lines` object[]
    - `accountId` string, uuid, required
    - `postingType` 'debit' | 'credit', required
    - `amountCents` integer, required
    - `description` string, nullable
    - `currencyCode` string

## Response `200`

Scheduled journal entry updated

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
