reconciliation.close
Explicitly close an account period after its opening, movement and closing balances reconcile. Finance access required; reopening needs an administrator and the accounting:admin scope (reconciliation.reopen).
/api/v1/accounting/reconciliation.closePermissions
Who can call it
Retries
MCP
Fields
accountIdstring (ID)RequiredThe ID of a bank, card or payment account, from accounts.list.
fromstringRequiredThe first date to include, as YYYY-MM-DD.
tostringRequiredThe last date to include, as YYYY-MM-DD.
openingMinorstringRequiredAn amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50.
Whole number written as a string, may be negative
closingMinorstringRequiredAn amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50.
Whole number written as a string, may be negative
currencystringRequiredThree-letter currency code, such as CAD or USD.
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/reconciliation.close \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"accountId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
"from": "2026-09-01",
"to": "2026-09-30",
"openingMinor": "1250",
"closingMinor": "1250",
"currency": "CAD"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
curl https://app.getoatmilk.com/api/v1/accounting/reconciliation.close \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"accountId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
"from": "2026-09-01",
"to": "2026-09-30",
"openingMinor": "1250",
"closingMinor": "1250",
"currency": "CAD"
}'More in Transactions.