Skip to main content
POST
Read a bank statement

Authorizations

Authorization
string
header
required

API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.

Headers

X-Sahl-Environment
string | null

sandbox (default) or production. Same meaning as the environment field or parameter; if both are sent they must agree.

Body

multipart/form-data
file
file
required

The statement: PDF (native or scanned) or image (JPEG, PNG, WebP, TIFF), up to 30 MB.

reference
string | null

Your own id: 1 to 64 characters of A-Z a-z 0-9 _ . : -. Another value answers 422 invalid_reference.

environment
string | null

sandbox (default) or production.

Response

The statement, read synchronously.

A statement read synchronously (200).

status
enum<string>
required
Available options:
completed
environment
enum<string>
required
Available options:
sandbox,
production
transactions
StatementTransaction · object[]
required
reconciliation
object
required

Do the rows add up? passed is null when the balances were not read.

billing
PartnerBilling · object
required

What this call counted against the workspace.

statement_id
null

Always null: a synchronous read stores nothing.

reference
string | null

The reference you sent.

bank
string | null

Bank name read from the statement.

account_holder
string | null

Account holder.

account_number
string | null

Account number.

rib
string | null

RIB, when read.

iban
string | null

IBAN, when read.

currency
string | null

Currency code.

period_start
string | null

YYYY-MM-DD.

period_end
string | null

YYYY-MM-DD.

opening_balance
number | null
closing_balance
number | null
warnings
object[]
read
object

How the statement was read.

latency_ms
integer