Commit Reconciliation Endpoint
POST
/api/v1/budget/reconciliations
const url = 'https://example.com/api/v1/budget/reconciliations';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"account_id":1,"statement_date":"2026-04-15","statement_balance":1,"opening_balance":1,"write_snapshot":true,"replace_snapshot":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/budget/reconciliations \ --header 'Content-Type: application/json' \ --data '{ "account_id": 1, "statement_date": "2026-04-15", "statement_balance": 1, "opening_balance": 1, "write_snapshot": true, "replace_snapshot": false }'Lock the live cleared transactions of the statement window as reconciled.
A non-zero difference is allowed and never produces an adjustment transaction. With
write_snapshot (default) and a non-negative balance, a snapshot is written on the
statement date: an identical one is reused, a different one is replaced only when
replace_snapshot is true (409 reconcile_snapshot_conflict otherwise).
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ReconcileRequest
What the bank statement says. statement_balance is signed: a statement may close
overdrawn (such a reconcile locks its rows but writes no snapshot).
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ReconciliationOut
object
id
required
Id
integer
account_id
required
Account Id
integer
statement_date
required
Statement Date
string format: date
statement_balance
required
Statement Balance
string
transaction_count
Transaction Count
integer
created_at
required
Created At
string format: date-time
Example
{ "transaction_count": 0}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}