File a pending draft adding a bank account or credit card to Banking (a person approves in Taokeh)
create_bank_account_draftFiles a pending draft of Add bank account (kind BANK) or Add credit card (CARD) on Banking: the account, its own account in the chart (the next free code at approval; a card's is a liability) and its account number and currency. A card's number is its last four digits only; a longer one is refused. The draft carries no opening balance: money a bank account held when the books started is entered in Taokeh on Settings → Starting money, a card's balance owed on Opening balances. Nothing is saved until an admin or bookkeeper approves in Taokeh; approval adds it exactly as the Banking form does and posts nothing. Refused at filing and at approval: a name a bank account or card of the company already has (spacing and capitals ignored), or an account number already on one (spaces and dashes ignored), naming that account. One draft per name waits at a time. Bank lines come in with import_bank_statement.
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": {
"name": "<name>"
},
"name": "create_bank_account_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | `BANK` (default) or `CARD` (a credit card). | |
| name | Yes | The account's name as Banking shows it, e.g. Maybank Current. | |
| note | No | A short note for the reviewer: where the figures came from. | |
| currency | No | The currency, as the form takes it (default RM). | |
| accountNo | No | The account number. For a card: its last four digits only. | |
| needsReview | No | true flags the draft for the reviewer. |