Create reconciliation with upload
POST
/api/v1/reconciliations/upload
Create a new bank reconciliation with direct file upload.
Supports PDF, CSV, and Excel bank statements. The file is uploaded to S3 and processed automatically.
The workflow will:
- Upload file to S3
- Parse the bank statement using AI (handles any format)
- Fetch ledger transactions for the period
- Run AI matching to suggest matches
- Store results for review
Error 413: File too large (max 50 MB).
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Query
-
ledger_idstring required -
ID of ledger to reconcile against
-
start_datestring · date-time required -
Statement period start date
-
end_datestring · date-time required -
Statement period end date
-
opening_balanceinteger -
Opening balance in cents
-
closing_balanceinteger -
Closing balance in cents
-
auto_startboolean default:True -
Auto-start processing workflow
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-