Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

List Books Bank Transactions

GET /tenants/{tenant}/clients/{clientCode}/books/bank-accounts/{bankAccountId}/transactions

Lists one bank account's transactions in the client's own books over a period, oldest first, to add to a document request as queries. 'bankAccountId' is an id from the bank-accounts list. Name the period as a 'dateRange' (a PresetDateRange), as dateRange=CustomDateRange with 'dateFrom' and 'dateTo' (inclusive), or as bare 'dateFrom' and 'dateTo'; at most 12 months. Pass 'unreconciledOnly' for only what the books have not yet explained, in the platform's own sense (its metadata's 'bankTransactionsUnreconciledLabel'; 400 where that is null). Amounts are signed, money out negative. At most 1,000 lines: 'isTruncated' says the period held more. Only platforms whose metadata says 'bankTransactions' is Available can answer; the rest answer with 400 saying so.

Requires: ViewAll on ClientBooks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

clientCode* path string
bankAccountId* path string
dateFrom query string (date)
dateRange query enum

ThisWeek NextWeek Last7Days Next7Days Last30Days Next30Days PreviousMonth ThisMonth NextMonth PreviousQuarter ThisQuarter NextQuarter PreviousYear ThisYear NextYear YearToDate PreviousTaxYear ThisTaxYear NextTaxYear TaxYearToDate Today PreviousWeek TodayOnwards Last12Months Last12FullMonths CustomDateRange

ThisWeek NextWeek Last7Days Next7Days Last30Days Next30Days PreviousMonth ThisMonth NextMonth PreviousQuarter ThisQuarter NextQuarter PreviousYear ThisYear NextYear YearToDate PreviousTaxYear ThisTaxYear NextTaxYear TaxYearToDate Today PreviousWeek TodayOnwards Last12Months Last12FullMonths CustomDateRange

dateTo query string (date)
unreconciledOnly query boolean

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found