Categorize Transactions
categorize_statementRun AI transaction categorization on a previously processed document, then return its category mappings. Returns cached categories with no charge if this document was already categorized. Consumes credits (pooled per page, same rate as the categorize toggle on the website) the first time — free on every re-fetch after. Every response includes a "summary" field: use it as the single source of truth for what happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID (from convert_statement or list_statements) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| error | No | ||
| status | Yes | ||
| message | No | ||
| summary | No | ||
| documentId | No | ||
| categoryMappings | No |