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

Parameters: create_journal_entry
NameTypeDescription
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
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"}'
Python
result = client.call("bokio", "create_journal_entry", {"date":"date","title":"title","items":"items"})
Node.js
const result = await cotlet.call('bokio', 'create_journal_entry', {"date":"date","title":"title","items":"items"});
CLI
cotlet call bokio create_journal_entry --data '{"date":"date","title":"title","items":"items"}'

Example response

JSON

{
  "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
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.