Create journal entry
Book a manual journal entry with a title, date and balanced rows.
MCP tool bokio_write → create_journal_entry
write Confirm
Books a manual journal entry. Debits must equal credits, and only accounts Bokio supports are accepted; look them up with list_accounts. The entry goes straight into the books. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| date string required | string | YYYY-MM-DD. |
| title string required | string | Title of the entry. |
| items array required | array | Rows with account, debit and credit; the sums of debit and credit must be equal. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "bokio_write",
"arguments": {
"operation": "create_journal_entry",
"arguments": {
"date": "date",
"title": "title",
"items": "items"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"journal_entry_id": "9b3e61d4-27a8-4c15-b0f2-7d4a5e8c1f36",
"date": "2026-10-25",
"title": "Office rent October",
"items": [
{
"account": "5010",
"debit": 8000,
"credit": 0
},
{
"account": "1930",
"debit": 0,
"credit": 8000
}
]
},
"isError": false
}