Banking Transactions
Required scope: banking:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?string"imported""accounted""excluded""needs_review"direction?string"in""out"category?string"uncategorized""sales_receipt""expense""excluded""needs_review""transfer""ic_settlement""payment_in""payment_out""refund_payment""deposit"account_id?stringuuidfrom_date?stringdateto_date?stringdatesearch?stringic_tagged_only?booleanparty_tagged_only?booleanpending?booleanShow pending transactions. Defaults to false — the canonical list hides pending rows. Set true to surface them, e.g. for a "Show pending" toggle.
cursor?stringlimit?number1..100, default 50
sort?stringDefault: -transaction_date
"-transaction_date""transaction_date""created_at""-created_at""amount""-amount"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions'{ "data": [ { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Required scope: banking:write
Error codes: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEGAL_ENTITY_NOT_IN_SCOPE, BANK_TX_IC_TAG_IS_OWN_ENTITY
access-tokenAuthorizationBearer <token>Idempotency-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
amount*stringbank_account_id*stringuuiddescription?stringexternal_id?stringExternal provider id (e.g. Plaid)
legal_entity_id?stringIC counterparty (mutually exclusive with party_id). When set the txn must settle via IC settlement. Must be a different entity from the bank account's own — the owner is always the bank account's entity and is never sent here (422 BANK_TX_IC_TAG_IS_OWN_ENTITY).
uuidparty_id?stringAR/AP counterparty (mutually exclusive with legal_entity_id). For standard match / categorize.
uuidtransaction_date*stringdateapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/transactions' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "amount": "2500.00", "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "transaction_date": "2026-02-25"}'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "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: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-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
items*array<>1 <= items <= 100application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/transactions/bulk-process' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "items": [ { "payload": { "mode": "categorize" }, "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482" } ]}'{ "data": { "items": [ { "error": { "code": "string", "message": "string" }, "ok": true, "result": { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "economic_document_id": "8d0b3cc1-2065-490a-9461-d5e6cc0f18a6", "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "payment_application_id": "af123cc9-391e-4c0e-bb41-a9a4032b959a", "payment_document_id": "c0e84883-37cf-4eff-ab7a-c5ce998065ab", "status": "accounted", "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482" }, "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482" } ] }, "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: none
access-tokenAuthorizationBearer <token>application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/meta/accounts'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "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
Error codes: VALIDATION_FAILED
access-tokenAuthorizationBearer <token>direction*string"in""out"application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/meta/options?direction=in'{ "data": { "accounts": [ { "code": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "legal_entities": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "locations": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "property", "name": "string", "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef" } ], "open_documents": [ { "balance_amount": "1234.50", "document_date": "2019-08-24", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "party_name": "string" } ], "parties": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "name": "string" } ] }, "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
access-tokenAuthorizationBearer <token>application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/stats'{ "data": { "high_confidence": 0, "ic_tagged": 0, "pending": 0, "transfers": 0 }, "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
Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/string'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Read-only: returns the candidates the engine already stored for this line, best first, without computing anything. Each application shows its document's balance as it stands now, and stale is true when the documents changed since the candidates were computed (gone, no longer posted, or paid below the applied amount). counterparty describes the payer identification behind the top candidate; its match_count only counts matches in the caller's legal entities.
Required scope: banking:read
Error codes: NOT_FOUND, LEGAL_ENTITY_NOT_IN_SCOPE
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/string/candidates'{ "data": { "candidates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "due_date": "2019-08-24", "left_open": "1234.50", "open_amount": "1234.50", "partial": true } ], "band": "high", "generator": "existing_payment", "kind": "match", "oldest_days_past_due": 0, "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pool": "counterparty", "rank": 0, "reasons": [ "string" ], "score": 0, "short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "stale": true, "structures": [ "string" ], "total_applied": "1234.50" } ], "computed_at": "2019-08-24T14:15:22Z", "counterparty": { "match_count": 0, "party_count": 0, "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "signal_kind": "ach_originator_id", "signal_value": "string", "state": "confirmed" } }, "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
Error codes: NOT_FOUND, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>id*stringlimit?numberMax items to return (default 5, 1..20).
application/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/string/categorization-history'{ "data": { "items": [ { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_name": "string", "amount": "string", "bank_transaction_id": "1f9dd7d7-92dc-4741-b11c-cccf6dd531b2", "categorized_at": "2019-08-24T14:15:22Z", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string" } ] }, "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, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, PERIOD_LOCKED, PERIOD_CLOSED, PERIOD_MISSING, LEDGER_ENTRY_REFUSED, LEGAL_ENTITY_NOT_IN_SCOPE, BANK_TX_PENDING_NOT_MATCHABLE, IC_SETTLEMENT_BANK_TRANSACTION_ALREADY_PROCESSED, IC_SETTLEMENT_BANK_TRANSACTION_INVALID, IC_SETTLEMENT_PAIRED_TRANSACTION_INVALID, IC_SETTLEMENT_DATED_BEFORE_SOURCE, IC_SETTLEMENT_NOTHING_TO_SETTLE, BANK_LINE_REMOVED_BY_PROVIDER
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
application_method*string"fifo""manual"manual_applications?array<>memo?stringpaired_transaction_id?stringOptional. The other side of the same wire: the counterpart bank transaction on the other party's bank (the paired_transaction_id of an ic_transfer_pair suggestion). Both lines become accounted and point at the new settlement. Requires bank_transaction_id (on the banking route, the transaction in the URL). Refused with IC_SETTLEMENT_PAIRED_TRANSACTION_INVALID unless it is in this organization, is not the first line, is not pending, is on a bank of the settlement party that does not own the first line's bank, has the first line's amount with the opposite sign (so the payer's bank shows the outflow and the payee's the inflow, and its absolute amount is the settlement total), is on a bank in the settlement's currency, and that bank has a cash account configured — the payee's or payer's cash leg posts to it; refused with IC_SETTLEMENT_BANK_TRANSACTION_ALREADY_PROCESSED if it is already categorized or linked. A refusal writes nothing.
uuidto_entity_id*stringThe counterparty legal entity — the other side of the wire from this bank account's entity (an ic_transfer_pair suggestion's to_entity_id). The transaction's sign sets the direction: an outflow settles bank entity → counterparty, an inflow settles counterparty → bank entity.
uuidapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/transactions/string/categorize-as-ic-settlement' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "application_method": "fifo", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c"}'{ "data": { "applications_count": 0, "from_entity_id": "face2ff8-a64a-46d7-ae36-2975fabff6c8", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed", "status": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_amount": "string" }, "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, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, BANK_TX_IC_TAG_IS_OWN_ENTITY
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
legal_entity_id?|IC counterparty tag (mutually exclusive with party_id); null clears it. Must be a different entity from the bank account's own (422 BANK_TX_IC_TAG_IS_OWN_ENTITY).
uuidparty_id?|uuidapplication/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/classification' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Marks the bank transaction excluded, which hides it from the feed and from matching. Refused with BANK_LINE_MATCHED when the line is matched to a document — either side of a transfer included; revert the match first. Undo with PUT :id/include.
Required scope: banking:write
Error codes: NOT_FOUND, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, BANK_LINE_MATCHED
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- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/exclude'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Puts an excluded bank transaction back on the feed as imported and requests a fresh match suggestion for it. Only an excluded line can be included (400 otherwise).
Required scope: banking:write
Error codes: NOT_FOUND, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE, 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- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/include'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Flags an unmatched bank transaction needs_review, which puts it in the feed's needs-review tab and raises the needs-review work item. Any unmatched line can be flagged, an excluded one included; flagging a flagged line changes nothing. Refused with BANK_LINE_MATCHED when the line is matched to a document: the match is the review. Matching a flagged line (PUT :id/process) clears the flag; PUT :id/include does not apply (it takes excluded lines only).
Required scope: banking:write
Error codes: NOT_FOUND, VALIDATION_FAILED, LEGAL_ENTITY_NOT_IN_SCOPE, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, BANK_LINE_MATCHED
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- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/mark-review'{ "data": { "amount": "1234.50", "applied": { "counterparty_entity_name": "string", "destination_account_last4": "string", "destination_account_name": "string", "economic_document_type": "string", "ic_applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ], "kind": "categorize", "lines": [ { "account_code": "string", "account_name": "string", "amount": "1234.50" } ], "party_name": "string", "settled_documents": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string" } ] }, "bank_account_id": "9335a679-63ab-44d5-9de9-e01e0c5a1fff", "bank_account_last4": "string", "bank_account_legal_entity_id": "09703086-1ce5-40b5-aef8-c2c26fd717aa", "bank_account_legal_entity_name": "string", "bank_account_name": "string", "category_type": "uncategorized", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "direction": "in", "external_id": "string", "generated_document_number": "string", "generated_document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "matches": [ { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_number": "string", "document_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "created", "matched_at": "2019-08-24T14:15:22Z", "matched_by": "036c8c83-5953-42eb-8954-e2e2636db8fd", "role": "primary", "unmatched_at": "2019-08-24T14:15:22Z", "unmatched_by": "834b9b4f-add7-40a3-b5e4-1a94933d9726" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "pending": true, "removed_by_provider": true, "status": "imported", "suggestion": { "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "account_label": "string", "alternates": [ { "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_applied": "1234.50" } ], "applications": [ { "applied_amount": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string" } ], "fifo_total_applied": "1234.50", "fully_settles": true, "kind": "match", "matched_ic_documents": [ { "applied_amount": "1234.50", "document_date": "2026-04-15", "document_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "remaining_balance": "1234.50" } ], "paired_transaction_id": "f29ce261-7206-4124-95ae-7fd3fb87e3d1", "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "source_count": 0, "to_bank_account_id": "96ce4d74-9f3d-42fe-b777-a9db2d864c42", "to_bank_account_name": "string", "to_entity_id": "fb321b7a-c279-4142-a84c-682cfe99bc3c", "total_applied": "1234.50", "total_candidates_count": 0 }, "suggestion_band": "high", "suggestion_score": 0, "suggestion_short_pay": { "applied": "1234.50", "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "document_label": "string", "remaining": "1234.50" }, "suggestion_source": "string", "transaction_date": "2019-08-24" }, "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
access-tokenAuthorizationBearer <token>id*stringlimit*numberapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/transactions/string/match-suggestions?limit=0'{ "data": { "reconcile_targets": [ { "applied_to_document_number": "string", "document_date": "2019-08-24", "document_number": "string", "document_type": "payment_in", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "match_score": 0, "party_name": "string", "total_amount": "string" } ], "settlement_targets": [ { "balance_amount": "string", "document_date": "2019-08-24", "document_number": "string", "document_type": "invoice", "due_date": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "match_score": 0, "party_id": "ba7116bd-f329-4d4b-adb9-b94174cc44e1", "party_name": "string", "total_amount": "string" } ] }, "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, VALIDATION_FAILED, ACCOUNT_LEGAL_ENTITY_MISMATCH, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEDGER_ENTRY_REFUSED, DOCUMENT_NOT_FOUND, DOCUMENT_STATUS_FORBIDS_ACTION, LEGAL_ENTITY_NOT_IN_SCOPE, DIMENSION_REQUIRED, MATCH_REFUND_AMOUNT_MISMATCH, BANK_TX_PARTY_IS_LEGAL_ENTITY, BANK_LINE_ALREADY_MATCHED, BANK_LINE_EXCLUDED, BANK_LINE_REMOVED_BY_PROVIDER, MATCH_PAYMENT_ALREADY_RECONCILED, PAYMENT_NOT_BANK_RECONCILABLE, TRANSFER_PAIR_INVALID
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
applications?array<>applied_amount?stringeconomic_document_type?string"expense""sales_receipt"legal_entity_id?stringuuidlines?array<>match_document_id?stringuuidmemo?stringmode*string"categorize""match""transfer""deposit"paired_transaction_id?stringOptional when mode=transfer. Pairs the source tx with a sibling tx on the destination account; both lines get a live primary match to the one transfer document.
uuidparty_id?stringuuidresidual_lines?array<>Resolve-difference lines for Match mode. Use when applied_amount differs from |bank tx amount|: each line allocates the difference to an account (e.g. bank fees, discount given/taken, overpayment income). Sum of residual amounts must equal |applied_amount - tx_amount|. Without residual_lines the applied amount must equal the bank amount, with one exception: an inflow (direction in) larger than what is applied to invoices creates the payment_in for the full bank amount and leaves the excess unapplied on it as customer credit.
to_bank_account_id?stringRequired when mode=transfer. Destination bank account id.
uuidapplication/json- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/process' \ -H 'Content-Type: application/json' \ -d '{ "mode": "categorize"}'{ "data": { "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6", "economic_document_id": "8d0b3cc1-2065-490a-9461-d5e6cc0f18a6", "journal_entry_id": "6652a24b-55f1-423a-bf69-8d8966f301ed", "matched_document_id": "183bba08-0c12-4e90-be95-0fa1c3d63827", "payment_application_id": "af123cc9-391e-4c0e-bb41-a9a4032b959a", "payment_document_id": "c0e84883-37cf-4eff-ab7a-c5ce998065ab", "status": "accounted", "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482" }, "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, VALIDATION_FAILED, PERIOD_LOCKED, PERIOD_MISSING, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, LEDGER_ENTRY_REFUSED, DOCUMENT_NOT_FOUND, DOCUMENT_STATUS_FORBIDS_ACTION, LEGAL_ENTITY_NOT_IN_SCOPE, DOCUMENT_RECONCILED_CANNOT_CHANGE, DOCUMENT_REFUNDS_EXCEED_REMAINING_PAYMENTS, DOCUMENT_COST_CAPITALIZED_CANNOT_VOID, BANK_LINE_ALREADY_MATCHED, LOAN_ESCROW_MOVEMENT_HELD
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- response
data*meta*curl -X PUT 'https://api.acreum.io/v1/banking/transactions/string/revert'{ "data": { "status": "imported", "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}