---
title: "Record a movement on an account by hand"
method: POST
path: "/api/v1/banking/accounts/{accountId}/movements"
tags: ["Money"]
---

# Record a movement on an account by hand

`POST /api/v1/banking/accounts/{accountId}/movements`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/banking/accounts/{accountId}/movements`
- Auth: API key in cookie `better-auth.session_token`

For money that moved where no statement or bank will say so. The movement is marked as typed in, is never placed against a notice on its own, and can be deleted again. A `balanceAfter` is recorded as a verified balance; otherwise the balance is worked out from the movements around it. `possibleDuplicateOf` names a movement already on the account that reads the same, which is a warning and not a refusal.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `date` string, required: A calendar date, `YYYY-MM-DD`.
  - `valueDate` string: A calendar date, `YYYY-MM-DD`.
  - `amount` integer, required: Money, always in integer cents. €1,250.00 is 125000.
  - `direction` 'in' | 'out', required
  - `description` string, required
  - `counterpartyName` string
  - `counterpartyIban` string
  - `structuredRef` string
  - `balanceAfter` integer: The balance the owner read on the account after this movement. It is recorded as verified and never recomputed.

## Response `200`

Recorded.

- object
  - `ok` unknown, required
  - `data` object, required
    - `movementId` string, required: Stable record id, e.g. `lse_012`.
    - `possibleDuplicateOf` string, nullable, required: Stable record id, e.g. `lse_012`.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `400`: A field is missing or out of range.
- `404`: No such bank account on this team.

---

[API](https://skmtc.dev/dardaris/apis/dardaris-api.md) · [All operations](https://skmtc.dev/dardaris/apis/dardaris-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dardaris/apis/dardaris-api/revisions/4aff33835c73?raw)
