Book journal entry
Book a general journal entry with debit and credit lines.
MCP tool exact_online_write → book_journal_entry
write Confirm
Books one general journal entry with its lines. Exact gives entries made this way type 90 (Other), and opening balances cannot be created. Debits and credits must balance. It writes to the ledger. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| division integer | integer | Division (company) code from list_divisions. Default: the account's current division. |
| entry_date date required | date | Date of the entry. |
| description string required | string | Entry description. |
| lines array required | array | Objects with gl_account and either debit or credit. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "exact_online_write",
"arguments": {
"operation": "book_journal_entry",
"arguments": {
"division": 1234567,
"entry_date": "2026-10-31",
"description": "Rent accrual October",
"lines": [
{
"gl_account": "4000",
"debit": 1200
},
{
"gl_account": "1800",
"credit": 1200
}
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"entry_number": 90001234,
"entry_date": "2026-10-31",
"description": "Rent accrual October",
"lines": [
{
"gl_account": "4000",
"debit": 1200
},
{
"gl_account": "1800",
"credit": 1200
}
],
"status": "booked"
},
"isError": false
}