Import Statement
import_statementGenerate a reviewable import proposal from parsed statement rows, flagging duplicates to prevent double-adding. Review the summary, then confirm to create expenses.
Instructions
Turn parsed statement rows into a reviewable import proposal (creates NOTHING).
transactions: list of {date: 'YYYY-MM-DD', merchant (or description), amount, category? (override), split_ref? (a saved default-split name)}. default_split_name: template applied to rows without their own split_ref; if omitted, rows default to 100%-personal (you pay + owe fully). dedup: if True, flags rows that match an existing expense in the local mirror (same day + same amount) and marks them to skip, so re-importing a statement doesn't double-add. (Run sync_all first for dedup to see your existing data.)
Returns proposals + summary. Review, then call confirm_import with the rows to create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedup | No | ||
| transactions | Yes | ||
| default_split_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||