Search for Bank Statements


post https://api.trivi.com/v2/search/bankstatements

Body
StatementSearch
filters
Array of Object   optional
page
integer   optional
pageSize
integer   optional
Default 10 Minimum 10 Maximum 100
searchText
string   optional
sortingField
string   optional
sortingDirection
string   optional

ASC or DESC, default is DESC

filters
field
string   optional
value
object   optional

If valueFrom or valueTo is filled, this must be empty

valueFrom
object   optional
valueTo
object   optional
valueContains
Array of Object   optional
StatementSearchResult
statements
Array of Statement   optional
pagesCount
integer   optional
currentPage
integer   optional
pageSize
number   optional
Statement
id
number   optional

Only in GET

Format int64
name
string   optional
authorName
string   optional

Only in GET

uploaded
string   optional

Only in GET

Format date-time
fileIds
Array of Object   optional

Only in GET

bankAccountId
number   optional

Only in GET

Format int64
processingState
number   optional

Only in GET 0 - Not Processed, 1 - Processed, 2 - Error, 3 - In Progress

processingMessage
string   optional

Only in GET

ValidationError
code
string   optional
message
string   optional
params
object   optional
fieldsAffected
Array of ValidationFieldError   optional
ValidationFieldError
name
string   optional
message
string   optional
code
string   optional
params
object   optional