Import CSV Bank/Broker Statement
import_csvImports transactions from a CSV statement into the local multi-currency ledger for brokers, credit cards, or banks not covered by Open Banking.
Instructions
Imports transactions from a CSV statement located inside <BILAN_HOME>/imports into the local multi-currency ledger (useful for brokers, credit cards, or banks not covered by Open Banking).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>",
"bankName": "<bankName>",
"accountAlias": "<accountAlias>",
"currency": "<currency>"
},
"name": "import_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bankName | Yes | Institution name (e.g. 'IBKR', 'Salt Bank', 'XTB'). | |
| currency | Yes | Default 3-letter currency code (e.g. RON, EUR, GBP, USD). | |
| entityId | No | Entity ID or name to link this imported account to (default 'personal'). | |
| filePath | Yes | Filename or path inside `<BILAN_HOME>/imports` (strictly sandboxed to the imports directory). | |
| delimiter | No | ||
| dateColumn | No | ||
| debitColumn | No | ||
| accountAlias | Yes | Friendly account alias (e.g. 'Salt Bank RON'). | |
| amountColumn | No | ||
| creditColumn | No | ||
| currencyColumn | No | ||
| currentBalance | No | Optional current balance to record on the account. | |
| merchantColumn | No | ||
| descriptionColumn | No |