Skip to content

The cash statement for a period and one currency as a PDF, like a bank statement (one per currency the account has held)

GET
/v1/accounts/{id}/documents/statement.pdf
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/documents/statement.pdf?from=2026-07-01&to=2026-09-30" \
-H "Authorization: Bearer $IDEALX_API_KEY"
id
required
string
from
required
string
/^\d{4}-\d{2}-\d{2}$/
to
required
string
/^\d{4}-\d{2}-\d{2}$/
portfolioId
string
currency

Defaults to the account’s main currency

string
>= 3 characters <= 3 characters

Defaults to the account’s main currency

The document as a PDF

Media typeapplication/pdf
string format: binary

Not allowed

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}

Not found

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}