Statements & Audit Reports
Real-time ledger exports, bank reconciliation reports, and audit-ready PDF/CSV statements.
Every event in Depa—whether a bank wire credit, an OTC FX conversion, a blockchain transfer, or a fee deduction—produces an immutable journal line. Depa provides continuous reconciliation against external banking statements (camt.053, MT940) and blockchain RPC logs, replacing manual month-end audits.
1. Querying Ledger Entries
Fetch an account's ledger entries page by page. Each entry names the operation that created it
with entryable_type and entryable_id, so you can reconcile it against the payment, trade or
transfer:
Request
curl -G https://sandbox.depasify.com/api/v1/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/ledgers \
-H "Authorization: Bearer <your_jwt_token>" \
--data-urlencode "page=1" \
--data-urlencode "per_page=80"Response
{
"data": [
{
"id": "c3e7a1f9-2b8d-4c6e-9f1a-5d0b7e3c8a12",
"entryable_type": "FiatPayment",
"entryable_id": "7e2a9c4b-5d1f-4b8e-9a3c-6f0e2d8b1a74",
"amount": "50000.0",
"currency": "EUR",
"category": "FiatPayment",
"created_at": 1772813114
}
],
"pagination": { "current_page": 1, "per_page": 80, "total_pages": 1, "total_count": 1 }
}2. Generating Statements (PDF & CSV)
Both exports accept an optional period as start_date and end_date (YYYY-MM-DD). Leave them
out to include every entry.
CSV Ledger Export
The CSV endpoint returns the file directly:
curl -G https://sandbox.depasify.com/api/v1/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/ledger_csv_report \
-H "Authorization: Bearer <your_jwt_token>" \
--data-urlencode "start_date=2026-04-01" \
--data-urlencode "end_date=2026-04-30" \
-o statement_april.csvPDF Statement
The PDF endpoint returns the file base64-encoded in data, so decode it before saving:
curl -G https://sandbox.depasify.com/api/v1/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/ledger_pdf_report \
-H "Authorization: Bearer <your_jwt_token>" \
--data-urlencode "start_date=2026-04-01" \
--data-urlencode "end_date=2026-04-30" \
| jq -r .data | base64 --decode > statement_april.pdf3. Vault-wide Reports
For exports across every account in a vault, such as all card payments in a month, create a report and download it once it's ready. See Reports in the API reference.