Create journal entry
Book a manual journal entry with a title, date and balanced rows.
POST https://cotlet.dev/api/v1/bokio/journal-entries
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. |
Request
curl -X POST https://cotlet.dev/api/v1/bokio/journal-entries \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"date","title":"title","items":"items"}' result = client.call("bokio", "create_journal_entry", {"date":"date","title":"title","items":"items"}) const result = await cotlet.call('bokio', 'create_journal_entry', {"date":"date","title":"title","items":"items"}); cotlet call bokio create_journal_entry --data '{"date":"date","title":"title","items":"items"}' Example response
{
"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
}
]
}