Skip to main content
GET
Get a queued 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.

Path Parameters

statement_id
string<uuid>
required

The statement_id returned by POST /v1/statements/extract (202).

Response

OK

A queued statement. The result keys (bank, transactions, reconciliation, ...) are present once status is completed.

statement_id
string<uuid>
required

Id of the job.

status
enum<string>
required

failed carries an error_code (processing_failed, or sandbox_specimen_required for a non-specimen file in the Sandbox).

Available options:
queued,
processing,
completed,
failed
environment
enum<string>
required
Available options:
sandbox,
production
billing
PartnerBilling · object
required

What this call counted against the workspace.

reference
string | null

The reference you sent.

pages
integer | null
created_at
string<date-time> | null
completed_at
string<date-time> | null
expires_at
string<date-time> | null

After this time the result answers 410.

error_code
string | null

Why the job failed; sandbox_specimen_required for a non-specimen file in the Sandbox.

error_message
string

Only with sandbox_specimen_required.

error_message_fr
string

Only with sandbox_specimen_required.

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
transactions
StatementTransaction · object[]
reconciliation
object

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

warnings
object[]
read
object

How the statement was read.