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:

  1. Upload file to S3
  2. Parse the bank statement using AI (handles any format)
  3. Fetch ledger transactions for the period
  4. Run AI matching to suggest matches
  5. Store results for review

Error 413: File too large (max 50 MB).

Operation ID: create_reconciliation_with_upload_api_v1_reconciliations_upload_post · View as markdown · OpenAPI slice

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_id string required

ID of ledger to reconcile against

start_date string · date-time required

Statement period start date

end_date string · date-time required

Statement period end date

opening_balance integer

Opening balance in cents

closing_balance integer

Closing balance in cents

auto_start boolean default: True

Auto-start processing workflow

Responses

201 Successful Response

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object