Import Wise Transactions
import_wise_transactionsImport Wise transaction-history CSV rows into e-arveldaja with dry run support. Handles fees, transfer directions, and inter-account transfers to prevent double-counting.
Instructions
Import Wise transaction-history CSV rows. Direct-call contract: DRY RUN by default; execute=true creates rows; each created bank row carries the API type of its true direction (incoming IN → type D, outgoing OUT → type C) and source_direction records that same flow; fees are separate outgoing (type C) transactions; inter-account transfers avoid double-counting confirmed counterpart journals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | Only import transactions up to this date (YYYY-MM-DD) | |
| execute | No | Actually create transactions (default false = dry run) | |
| file_ref | No | Opaque Accounting Inbox Wise CSV reference. Provide exactly one of file_path or file_ref. | |
| date_from | No | Only import transactions from this date (YYYY-MM-DD) | |
| file_path | No | Absolute path/base64 Wise CSV input. Provide exactly one of file_path or file_ref. | |
| plan_handle | No | Execution-plan handle returned by the reviewed dry run. Required for execute=true in addition to approved_command_digest; the digest alone cannot execute. | |
| skip_jar_transfers | No | Skip Jar (savings pot) transfers — internal movements within Wise (default true) | |
| accounts_dimensions_id | Yes | Bank account dimension ID for the Wise account in e-arveldaja | |
| approved_command_digest | No | Exact lowercase SHA-256 command digest returned by the reviewed dry run. Required for execute=true when mutations are planned. | |
| fee_account_relation_id | No | Deprecated alias for fee_account_dimensions_id. | |
| confirm_own_transfer_ids | No | Exact Wise IDs explicitly approved as own transfers. TRANSFER-* and BANK_DETAILS_PAYMENT_RETURN-* prefixes are hints only. | |
| fee_account_dimensions_id | No | Account dimension ID for the Wise fee expense account. | |
| inter_account_dimension_id | No | Other bank account dimension ID for inter-account transfers. Auto-detected if only one other bank account exists; required with 3+ bank accounts. |