Banking Statement Imports
Reads the statement's lines as a transaction feed, and its period end and ending balance. A bank account fed by a live connection already gets its lines from the provider, so its statement is used for its balance only: it is read but cannot be committed.
Required scope: banking:write
Error codes: EMPTY_FILE, FILE_TOO_LARGE, UNSUPPORTED_FILE_TYPE, NOT_FOUND, STATEMENT_FILE_ALREADY_IMPORTED
access-tokenAuthorizationBearer <token>accountId*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255multipart/form-data- body
file*unknownPDF or CSV bank-statement file.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/accounts/string/statement-imports' \ -H 'Idempotency-Key: string' \ -F 'file=null'{ "data": { "auto_reconcile_note": "not_reconcilable", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "extracted_ending_balance": "string", "extracted_statement_date": "2019-08-24", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "needs_period_confirmation": true, "parse_error": "string", "parse_model": "string", "period_end_confirmed_at": "2019-08-24T14:15:22Z", "purpose": "feed", "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd", "status": "parsing" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: banking:read
Pagination: cursor-optional
Error codes: VALIDATION_FAILED, INVALID_CURSOR
access-tokenAuthorizationBearer <token>bank_account_id?stringuuidstatus?string"parsing""parsed""failed""committed""discarded"purpose?string"feed""reconciliation"cursor?stringlimit?number1..500. Omit to receive the full collection in one page.
application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/banking/statement-imports'{ "data": [ { "auto_reconcile_note": "not_reconcilable", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "extracted_ending_balance": "string", "extracted_statement_date": "2019-08-24", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "needs_period_confirmation": true, "parse_error": "string", "parse_model": "string", "period_end_confirmed_at": "2019-08-24T14:15:22Z", "purpose": "feed", "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd", "status": "parsing" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: banking:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/statement-imports/string'{ "data": { "auto_reconcile_note": "not_reconcilable", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "extracted_ending_balance": "string", "extracted_statement_date": "2019-08-24", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "lines": [ { "amount": "string", "description": "string", "duplicate_of_transaction_id": "9b8175eb-0f55-4849-aeb9-734dbc0a388e", "generated_transaction_id": "840339bd-3a2c-46d9-a7bc-3e134bf86f94", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "included": true, "is_duplicate": true, "line_index": 0, "transaction_date": "2019-08-24" } ], "needs_period_confirmation": true, "parse_error": "string", "parse_model": "string", "period_end_confirmed_at": "2019-08-24T14:15:22Z", "purpose": "feed", "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd", "status": "parsing" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}A committed import cannot be discarded. A reconciliation the statement opened by itself, that nobody has changed and that was never completed, is discarded with it; any other in-progress reconciliation it is tied to is left for a person to finish (it no longer completes by itself).
Required scope: banking:write
Error codes: NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, STATEMENT_IMPORT_COMMITTED
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/banking/statement-imports/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}Required scope: banking:write
Error codes: NOT_FOUND, NOT_A_FEED_IMPORT, ALREADY_COMMITTED, IMPORT_NOT_PARSED
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/statement-imports/string/commit' \ -H 'Idempotency-Key: string'{ "data": { "committed": 0 }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}A CSV statement can be an export of any date range, so its period end (the latest line date, or what a model read) is only a proposal. Confirming the real period end lets a reconciliation start on its own from the statement balance. A PDF statement needs no confirmation.
Required scope: banking:write
Error codes: NOT_FOUND, IMPORT_NOT_PARSED, NO_ENDING_BALANCE, STATEMENT_PERIOD_END_NOT_CONFIRMABLE, STATEMENT_PERIOD_END_BEFORE_LAST_LINE
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key*stringClient-chosen key that makes this mutation safe to retry. Required — a request without one is rejected with IDEMPOTENCY_KEY_REQUIRED. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
statement_ending_date*stringdateapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/statement-imports/string/confirm-period-end' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "statement_ending_date": "2026-03-31"}'{ "data": { "auto_reconcile_note": "not_reconcilable", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "extracted_ending_balance": "string", "extracted_statement_date": "2019-08-24", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "needs_period_confirmation": true, "parse_error": "string", "parse_model": "string", "period_end_confirmed_at": "2019-08-24T14:15:22Z", "purpose": "feed", "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd", "status": "parsing" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: banking:write
Error codes: NOT_FOUND, IMPORT_NOT_PARSED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
amount?stringSigned decimal string, e.g. "-42.50".
description?string|nullincluded?booleanline_id*stringuuidtransaction_date?stringdateapplication/json- response
data*meta*curl -X PATCH 'https://api.acreum.io/v1/banking/statement-imports/string/lines' \ -H 'Content-Type: application/json' \ -d '{ "line_id": "6cb02bfb-65d4-467b-864d-461e923db664"}'{ "data": { "auto_reconcile_note": "not_reconcilable", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "extracted_ending_balance": "string", "extracted_statement_date": "2019-08-24", "file_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "lines": [ { "amount": "string", "description": "string", "duplicate_of_transaction_id": "9b8175eb-0f55-4849-aeb9-734dbc0a388e", "generated_transaction_id": "840339bd-3a2c-46d9-a7bc-3e134bf86f94", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "included": true, "is_duplicate": true, "line_index": 0, "transaction_date": "2019-08-24" } ], "needs_period_confirmation": true, "parse_error": "string", "parse_model": "string", "period_end_confirmed_at": "2019-08-24T14:15:22Z", "purpose": "feed", "reconciliation_id": "6d473d86-0a5d-4edb-89d3-2c59d4094fbd", "status": "parsing" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}