201Successful Response
Schema: SuccessEnvelope_CreateReconciliationResponse_
successbooleanmessagestringcodestringdataCreateReconciliationResponse
/api/v1/reconciliationsCreate a new bank reconciliation (with S3 key).
Use this endpoint if you've already uploaded the statement to S3. For direct file upload, use POST /reconciliations/upload instead.
Request Body:
ledger_id: UUID of ledger to reconcile against (required)statement_s3_key: S3 key of uploaded bank statement (required)start_date: Statement period start date in ISO 8601 format (required)end_date: Statement period end date in ISO 8601 format (required)statement_filename: Original filename (optional)opening_balance: Opening balance in cents (optional)closing_balance: Closing balance in cents (optional)auto_start: Auto-start processing workflow (optional, defaults to true)Note: The workflow will:
Returns: Created reconciliation with status and task ID.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: ReconciliationCreateRequest
ledger_idstringrequiredID of ledger to reconcile against
source_typestringReconciliation source: 'plaid' (synced transactions) or 'manual' (uploaded statement)
statement_s3_keystringS3 key of uploaded bank statement (required for manual source)
start_datestring · date-timerequiredStatement period start date
end_datestring · date-timerequiredStatement period end date
statement_filenamestringOriginal filename
opening_balanceintegerOpening balance in cents
closing_balanceintegerClosing balance in cents
auto_startbooleanAuto-start processing workflow
Schema: SuccessEnvelope_CreateReconciliationResponse_
successbooleanmessagestringcodestringdataCreateReconciliationResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.