analyze_statement
Paid ($0.01): Parses a statement and adds analysis: monthly totals, top counterparties, recurring payments, suspected duplicates, largest transactions and balance reconciliation. Set include_transactions=false to receive only the analysis. JSON body up to 1000 KB. Failed calls (4xx/5xx) are not settled. Without a payment header the result is the x402 payment requirements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | YYYY-MM-DD; flags recurring payments that stopped before this date. | |
| format | No | Skip auto-detection. | |
| columns | No | CSV: map field names (date, amount, description, ...) to exact header names. | |
| content | Yes | The statement file as text (UTF-8). PDF and scanned images are not supported. | |
| decimal | No | CSV decimal separator override. | |
| currency | No | Fallback ISO 4217 currency when the file has none, e.g. SEK. | |
| delimiter | No | CSV delimiter override: comma, semicolon, tab or pipe. | |
| dateFormat | No | CSV date order override for ambiguous dates. | |
| includeRaw | No | Add the raw source fields to every transaction. | |
| include_transactions | No | Default true. false returns only the analysis. |