Money

Record a movement on an account by hand

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.

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

Path parameters

accountIdstring required

Request body

datestring required

A calendar date, YYYY-MM-DD.

valueDatestring

A calendar date, YYYY-MM-DD.

amountinteger required

Money, always in integer cents. €1,250.00 is 125000.

direction'in' | 'out' required
descriptionstring required
counterpartyNamestring
counterpartyIbanstring
structuredRefstring
balanceAfterinteger

The balance the owner read on the account after this movement. It is recorded as verified and never recomputed.

Response

Recorded.

okunknown required

Changes

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