Treasury statement line items
A line of a treasury account statement that shows one transaction.
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Account statement | treasurystatementId | Reference | Yes | |
| Bank memo | memo | Text | Yes | |
| Day | date | Date | Yes | Bank line date from import. |
| Reference | reference | Text | ||
| Amount | amount | Signed amount | Yes | Amount in the statement currency, as imported. |
| Matched movement | treasurymovementId | Reference | Treasury movement that matches this line. Must share account, currency, and company. | |
| Status | status | Constant | Yes | Lifecycle or processing state from the allowed values for this record. |
| Resolution reason | ignoreReason | Text | Required explanation when a line is ignored instead of matched. | |
| Data | data | Data | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Matched by | matchedBy | User | ||
| Matched at | matchedAt | Date and Time | ||
| Ignored by | ignoredBy | User | ||
| Ignored at | ignoredAt | Date and Time | ||
| Blocked by | blockedBy | User | ||
| Blocked at | blockedAt | Date and Time | ||
| Archived by | archivedBy | User | ||
| Archived at | archivedAt | Date and Time |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
Account statement treasurystatementId | Treasury account statements | owned by |
Actions
What you can do with a record. Every action also sends the webhook event treasurystatementitems.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new line item. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this line item. | App · API · MCP · CLI |
| Ignore | ignore | Exclude this statement line from reconciliation and clear any movement link. | App · WebMCP · API · MCP · CLI |
| Match | match | Link this statement line to an existing treasury movement on the same account. | App · WebMCP · API · MCP · CLI |
| Unmatch | unmatch | Clear the treasury movement link and return this line to unmatched. | App · WebMCP · API · MCP · CLI |
| Delete | delete | Delete this line item and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |
States
How a record moves from state to state. Archive and block can happen in any state.
| Action | API name |
|---|---|
| Ignore | ignore |
| Match | match |
| Unignore | unignore |
| Unmatch | unmatch |