Skip to main content
GET
Get a statement

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Path Parameters

statement_id
string
required

Query Parameters

client_id
string
required

The Client (cli_…) to scope the read to. Required on account, transaction, and statement reads — LedgerSync's backend data APIs are scoped per end-user, so these resources are resolved within a single Client.

Response

The Statement, with a signed download URL when one exists.

id
string
required
Example:

"stmt_FINICITY_551"

statement_date
string<date>
required
account_id
string | null

The owning account id. Populated when listing an account's statements; null on single get-by-id (the backend statement record carries no fin-account id to map back).

source
enum<string>

Financial-data source backing an account. Aggregator sources (FINICITY, MX) and FDE back a Connection; PDF does not.

Values:

  • FINICITY — Finicity aggregation
  • MX — MX aggregation
  • FDE — Financial Document Extraction (LedgerSync proprietary)
  • PDF — Uploaded bank statements. Read-only: exposed on /accounts and /transactions (statements are not served for PDF), and never as a Connection (PDF accounts have connection_id: null).
Available options:
FINICITY,
MX,
FDE,
PDF
download_url
string<uri> | null

Relative v3 URL to download the statement PDF, auth-scoped to your API key. Resolves to GET /statements/{statement_id}/download; GET it to stream the PDF bytes.

exported_to
string | null

Accounting platform the statement was exported to, if any.